using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WIDESEAWCS_Tasks.OHT { public class OHTReadData { /// /// 心跳 /// public bool R_HeartBeat { get; set; } /// /// 当前运行模式 /// public short R_RunMode { get; set; } /// /// 运行状态 /// public short R_RunState { get; set; } /// /// 报警代码 /// public short R_AlarmCode { get; set; } /// /// 任务状态 /// public short R_TaskState { get; set; } /// /// 天车大车当前位置 /// public int R_CurrentLine { get; set; } /// /// 天车小车当前位置 /// public int R_CurrentColumn { get; set; } /// /// 起升当前位置 /// public int R_RiseUp_Position { get; set; } /// /// 任务号 /// public int R_TaskNumber { get; set; } /// /// 1号货爪是否有货 /// public short R_Loaded_1 { get; set; } /// /// 2号货爪是否有货 /// public short R_Loaded_2 { get; set; } /// /// 重量 /// public float weight { get; set; } #region 规整机PLC定义 /// /// 读脉冲心跳 /// public bool R_GZJ_HeartBeat { get; set; } /// /// 规整机投入使用 /// public bool R_GZJ_isWork { get; set; } /// /// 上料模式轨道车 /// public bool R_RGVMode { get; set; } /// /// 上料模式叉车 /// public bool R_CCMode { get; set; } /// /// 剔除上料模式 /// public bool R_TCMode { get; set; } /// /// 东跨架子可取板 /// public bool R_DK_isready { get; set; } /// /// 西跨架子可取板 /// public bool R_XK_isready { get; set; } /// /// 剔除架子可取板 /// public bool R_TC_isready { get; set; } #endregion #region 整形机PLC定义 /// /// 读脉冲信号 /// public bool R_ZXJ_HeartBeat { get; set; } /// /// 整形机投入使用 /// public bool R_ZXJ_isWork { get; set; } /// /// 上料模式轨道车 /// public bool R_ZXJ_RGVMode { get; set; } /// /// 上料模式行车 /// public bool R_ZXJ_TCMode { get; set; } /// /// 剔除未可取板 /// public bool R_ZXJ_TC_isready { get; set; } /// /// 剔除模式行车 /// public bool R_TCMode_TC { get; set; } /// /// 剔除模式叉车 /// public bool R_TCMode_CC { get; set; } /// /// 行车可准备取板 /// public bool R_HC_isReady { get; set; } /// /// 行车可放板 /// public bool R_HC_isReadyWork { get; set; } /// /// 进料小车安全位 /// public bool R_issafe { get; set; } #endregion } }