using System; using System.Linq; using System.Threading; namespace iWareCommon { public class SrmConveyorEntity { public System.Text.ASCIIEncoding ascii = new System.Text.ASCIIEncoding(); /// /// 输送线名称 /// public string ConveyorName { get; set; } /// /// 设备Id /// public int DeviceId { get; set; } /// /// 是否在线 /// public bool IsOnline { get; set; } /// /// 是否自动 /// public bool IsAuto { get; set; } //有一些地址被废弃,原先位各站点公用地址块查询,后改为每个站点独立地址块查询 ///////////////////////////////////////////////////////////// /// ////////////////// public int RHandShake { get; set; } public bool RArrive_7_2 { get; set; } public bool RArrive_7_3 { get; set; } public bool RArrive_8_2 { get; set; } public bool RArrive_8_3 { get; set; } public bool RArrive_23_4 { get; set; } public bool RArrive_23_5 { get; set; } public bool RArrive_25_4 { get; set; } public bool RArrive_25_5 { get; set; } public bool RTaskFinish_1 { get; set; } public bool RTaskFinish_6 { get; set; } public bool RTaskFinish_12 { get; set; } public bool RTaskFinish_14 { get; set; } public bool RTaskFinish_16 { get; set; } public bool RTaskFinish_18 { get; set; } public bool RTaskFinish_20 { get; set; } public bool RTaskFinish_22 { get; set; } public bool RTaskFinish_27 { get; set; } public int RTaskId_1 { get; set; } public int RTaskId_6 { get; set; } public int RTaskId_12 { get; set; } public int RTaskId_14 { get; set; } public int RTaskId_16 { get; set; } public int RTaskId_18 { get; set; } public int RTaskId_20 { get; set; } public int RTaskId_22 { get; set; } public int RTaskId_27 { get; set; } public SrmConveyorEntity() { } public SrmConveyorEntity(string conveyorName, int deviceId) { this.ConveyorName = conveyorName; this.DeviceId = deviceId; } } }