using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DeviceWCS { class tranInfo { /// 输送线站点名 /// /// public string TranName { get; set; } /// 输送线站点号 /// /// public int stationNo { get; set; } /// 任务ID /// /// public int taskId { get; set; } /// 任务ID /// /// public int deviceTaskId { get; set; } /// 当前目标地址 /// /// public int endStation { get; set; } /// 自动模式 true是自动 false非自动 /// /// public bool auto { get; set; } /// 故障状态 /// /// public bool err { get; set; } /// 空闲状态 /// /// public bool wait { get; set; } /// 光电1状态 /// /// public bool PH1 { get; set; } /// 光电2状态 /// /// public bool PH2 { get; set; } /// 高位 /// /// public bool PRH { get; set; } /// 低位 /// /// public bool PRL { get; set; } /// 是否有货 /// /// public bool goods { get; set; } /// 报警号 /// 1:运行超时报警;2:水平变频器报警;3:马达保护器报警; /// 4:急停报警;5:左超宽;6:右超宽;7:超高 /// public int errId { get; set; } /// 货物重量 /// /// public double weihgt { get; set; } /// 心跳 /// /// public int handShake { get; set; } /// 外出检测 /// 0没有到位,1到位不正常,2到位正常 /// public int shapeCheck { get; set; } /// 条码 /// /// public string Code { get; set; } /// 允许下发任务 /// /// public bool TaskSendAllow { get; set; } } }