| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- using System.Runtime.Serialization;
- namespace OldWorldData.CommonData.DeviceData
- {
- [DataContract]
- [Serializable]
- public class AITSensorData
- {
- /// <summary>
- /// 阀的唯一名称,UI与RT交互的ID
- /// </summary>
- [DataMember]
- public string DeviceName { get; set; }
- /// <summary>
- /// 显示在界面上的名称
- /// </summary>
- [DataMember]
- public string DisplayName { get; set; }
- /// <summary>
- /// IO 表中定义的物理编号,物理追溯使用 比如: V122
- /// </summary>
- [DataMember]
- public string DeviceSchematicId { get; set; }
- [DataMember]
- public bool Value { get; set; }
- [DataMember]
- public bool IsError { get; set; }
- public AITSensorData()
- {
- DisplayName = "Undefined";
- }
- }
- public class AITSensorProperty
- {
- public const string Value = "Value";
- }
- }
|