add TIRecord schema

This commit is contained in:
PicelBoi committed 2026-01-11 13:08:07 -05:00
1 parent eb1bdccbd5
commit 0845880026
1 file changed
+48
+48
View File
@@ -0,0 +1,48 @@
using System.Xml.Serialization;
namespace MistWX_i2Me.Schema.twc;
[XmlRoot(ElementName="TIHdr")]
public class TIRecordHeader {
[XmlAttribute(AttributeName="iLevel")]
public int ILevel { get; set; }
[XmlElement(ElementName="TIstnId")]
public string? TIstnId { get; set; }
[XmlElement(ElementName="procTm")]
public string? ProcTm { get; set; }
}
[XmlRoot(ElementName="TIData")]
public class TIRecordData {
[XmlElement(ElementName="TItdTm")]
public string? TItdTm { get; set; }
[XmlElement(ElementName="TItdDST")]
public string? TItdDST { get; set; }
[XmlElement(ElementName="TItdTyp")]
public string? TItdTyp { get; set; }
[XmlElement(ElementName="TItdHght")]
public long TItdHght { get; set; }
}
[XmlRoot(ElementName="TIRecord")]
public class TIRecordResponse {
[XmlAttribute(AttributeName="id")]
public string? Id { get; set; }
[XmlElement(ElementName="action")]
public int Action { get; set; }
[XmlElement(ElementName="TIHdr")]
public TIRecordHeader? TIRecordHeader { get; set; }
[XmlElement(ElementName="TIData")]
public List<TIRecordData>? TIRecordData { get; set; }
}