using System; using System.Xml.Serialization; using ArchestrAServices.ASBIDataContract; namespace ArchestrAServices.ASBContract; public struct WriteValueV2 { private bool hasQTField; private bool hasQTFieldSpecified; private Variant valueField; private ASBStatus statusField; private DateTime timestampField; private bool timestampFieldSpecified; private string commentField; private int arrayElementIndexField; private bool arrayElementIndexFieldSpecified; public bool HasQT { get { return hasQTField; } set { hasQTField = value; HasQTSpecified = true; } } [XmlIgnore] public bool HasQTSpecified { get { return hasQTFieldSpecified; } set { hasQTFieldSpecified = value; } } public Variant Value { get { return valueField; } set { valueField = value; } } public ASBStatus Status { get { return statusField; } set { statusField = value; } } public DateTime Timestamp { get { return timestampField; } set { timestampField = value; TimestampSpecified = true; } } public bool TimestampSpecified { get { return timestampFieldSpecified; } set { timestampFieldSpecified = value; } } public string Comment { get { return commentField; } set { commentField = value; } } public int ArrayElementIndex { get { return arrayElementIndexField; } set { arrayElementIndexField = value; ArrayElementIndexSpecified = true; } } public bool ArrayElementIndexSpecified { get { return arrayElementIndexFieldSpecified; } set { arrayElementIndexFieldSpecified = value; } } }