1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Runtime.Serialization;
- namespace Aitex.Core.UI.ControlDataContext
- {
- [DataContract]
- [Serializable]
- public class GateValveDataItem
- {
- /// <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 DeviceId { get; set; }
- /// <summary>
- /// 实际反馈值
- /// </summary>
- [DataMember]
- public bool Feedback { get; set; }
- public GateValveDataItem()
- {
- DisplayName = "未定义阀门";
- }
- }
- public class GateValveOperation
- {
- public const string SlitValveON = "Open";
- public const string SlitValveOff = "Close";
- }
- }
|