| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- using System.ComponentModel;
- using System.Reflection;
- using System.Runtime.Serialization;
- using System.Windows.Input;
- namespace OldWorldData.CommonData.DeviceData
- {
- [DataContract]
- [Serializable]
- public class AITPressureSensorData
- {
- /// <summary>
- /// 设备的唯一名称,UI与RT交互的ID
- /// </summary>
- [DataMember]
- public string DeviceName { get; set; }
- /// <summary>
- /// 显示在界面上的名称
- /// </summary>
- [DataMember]
- public string DisplayName { get; set; }
- /// <summary>
- /// IO 表中定义的物理编号,物理追溯使用 比如: M122
- /// </summary>
- [DataMember]
- public string DeviceSchematicId { get; set; }
- [DataMember]
- public string Unit { get; set; }
- [DataMember]
- public string Description { get; set; }
- /// <summary>
- /// 量程
- /// </summary>
- [DataMember]
- public double Scale { get; set; }
- [DataMember]
- public double FeedBack { get; set; }
- [DataMember]
- public bool IsWarning { get; set; }
- [DataMember]
- public bool IsError { get; set; }
- [DataMember]
- public bool IsOutOfRange { get; set; }
- public AITPressureSensorData()
- {
- DisplayName = "Undefined";
- Unit = "mTorr";
- }
- }
- public class AITPressureSensorPropertyName
- {
- public const string Feedback = "Feedback";
- public const string IsWarning = "IsWarning";
- public const string IsError = "IsError";
- }
- }
|