From 848c20dd58ba35dfd46b6dc68bd2e813a0259d0b Mon Sep 17 00:00:00 2001 From: PicelBoi Date: Mon, 19 Jan 2026 14:47:00 -0500 Subject: [PATCH] Fix warnings in ClimatologyRecord schema --- MistWX-i2Me/Schema/twc/ClimatologyRecord.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/MistWX-i2Me/Schema/twc/ClimatologyRecord.cs b/MistWX-i2Me/Schema/twc/ClimatologyRecord.cs index c27d5fc..2646f17 100644 --- a/MistWX-i2Me/Schema/twc/ClimatologyRecord.cs +++ b/MistWX-i2Me/Schema/twc/ClimatologyRecord.cs @@ -6,16 +6,16 @@ namespace MistWX_i2Me.Schema.twc; public class ClimatologyRec { [XmlAttribute(AttributeName="loc")] - public string Loc { get; set; } + public string? Loc { get; set; } [XmlAttribute(AttributeName="year")] public int Year { get; set; } [XmlAttribute(AttributeName="month")] - public string Month { get; set; } + public string? Month { get; set; } [XmlAttribute(AttributeName="day")] - public string Day { get; set; } + public string? Day { get; set; } [XmlAttribute(AttributeName="avgHigh")] public int AvgHigh { get; set; } @@ -40,8 +40,8 @@ public class ClimatologyRec { public class ClimatologyRecordResponse { [XmlElement(ElementName="Key")] - public string Key { get; set; } + public string? Key { get; set; } [XmlElement(ElementName="ClimoRec")] - public List ClimoRec { get; set; } + public List? ClimoRec { get; set; } } \ No newline at end of file