using iWareSda.Devices._3_Rgv.RgvModel; using System.Collections.Generic; using System.ComponentModel; namespace iWareSda { /// /// RGV展示实体类 /// public class RgvDB2Obj { #region 写入的RGV信息 /// /// 心跳 /// [Description("心跳")] public bool W_HandShake { get; set; } /// /// 1015重新扫码,写为true表示重新扫码,写为false,表示关闭重新扫码。当wcs读到值后,就写为false /// [Description("1015重新扫码")] public bool W_1015_ReScan { get; set; } /// /// RGV_完成ACK /// [Description("RGV_完成ACK")] public bool W_RGV_FinishACK { get; set; } /// /// 1002扫描失败信号 /// [Description("1002扫描失败信号")] public bool W_1002_ScanFailACK { get; set; } /// /// 1004扫描失败信号 /// [Description("1004扫描失败信号")] public bool W_1004_ScanFailACK { get; set; } /// /// 1006扫描失败信号 /// [Description("1006扫描失败信号")] public bool W_1006_ScanFailACK { get; set; } /// /// 1007扫描失败信号 /// [Description("1007扫描失败信号")] public bool W_1007_ScanFailACK { get; set; } /// /// 1002扫描成功信号 /// [Description("1002扫描成功信号")] public bool W_1002_ScanSuccessACK { get; set; } /// /// 1004扫描成功信号 /// [Description("1004扫描成功信号")] public bool W_1004_ScanSuccessACK { get; set; } /// /// 1006扫描成功信号 /// [Description("1006扫描成功信号")] public bool W_1006_ScanSuccessACK { get; set; } /// /// 1007扫描成功信号 /// [Description("1007扫描成功信号")] public bool W_1007_ScanSuccessACK { get; set; } #region 写的站点 public List W_RgvForWriteCommList { get; set; } #endregion ///// ///// 设备编号 ///// //[Description("设备编号")] //public string W_RgvNo { get; set; } ///// ///// 急停 ///// //[Description("急停")] //public bool W_EStop { get; set; } ///// ///// 起始站点 ///// //[Description("起始站点")] //public string W_StartPos { get; set; } ///// ///// 目标站点 ///// //[Description("目标站点")] //public string W_EndPos { get; set; } ///// ///// 任务号 ///// //[Description("任务号")] //public int W_TaskNo { get; set; } ///// ///// 任务类型 ///// //[Description("任务类型")] //public int W_RgvCMD { get; set; } ///// ///// 任务完成确认 ///// //[Description("任务完成确认")] //public bool W_AckTaskFinish { get; set; } ///// ///// 设备复位 ///// //[Description("设备复位")] //public bool W_Reset { get; set; } ///// ///// 托盘类型 ///// //[Description("托盘类型")] //public int W_PallType { get; set; } ///// ///// 任务下完成信号 ///// //[Description("任务下完成信号")] //public bool W_Stb { get; set; } #endregion #region 读取到的RGV信息 /// /// 心跳 /// [Description("心跳")] public int R_HandShake { get; set; } /// /// Rgv编号 /// [Description("Rgv编号")] public string R_RgvNo { get; set; } /// /// 1015扫码 /// [Description("1015扫码")] public string R_1015_Scan { get; set; } /// /// 1002扫码 /// [Description("1002扫码")] public string R_1002_Scan { get; set; } /// /// 1004扫码 /// [Description("1004扫码")] public string R_1004_Scan { get; set; } /// /// 1006扫码 /// [Description("1006扫码")] public string R_1006_Scan { get; set; } /// /// 1007扫码 /// [Description("1007扫码")] public string R_1007_Scan { get; set; } /// /// 1009的1层检测光电 /// [Description("1009的1层检测光电")] public bool R_1009_High1 { get; set; } /// /// 1009的2层检测光电 /// [Description("1009的2层检测光电")] public bool R_1009_High2 { get; set; } /// /// 1009的3层检测光电 /// [Description("1009的3层检测光电")] public bool R_1009_High3 { get; set; } /// /// RGV任务完成 /// [Description("RGV任务完成")] public bool R_RGV_Finish { get; set; } /// /// RGV当前坐标 /// [Description("RGV当前坐标")] public int R_RGV_Coordinate { get; set; } #region 读的站点 public List R_RgvForReadCommList { get; set; } #endregion ///// ///// 是否有报警 ///// //[Description("是否有报警")] //public bool R_Alarm { get; set; } ///// ///// 报警代码 ///// //[Description("报警代码")] //public int R_AlarmCode { get; set; } ///// ///// 是否有货 ///// //[Description("是否有货")] //public bool R_Loaded { get; set; } ///// ///// 任务完成信号 ///// //[Description("任务完成信号")] //public bool R_TaskFinish { get; set; } ///// ///// 任务号 ///// //[Description("任务号")] //public int R_TaskNo { get; set; } ///// ///// 起始站点 ///// //[Description("起始站点")] //public int R_SPos { get; set; } ///// ///// 目标站点 ///// //[Description("目标站点")] //public int R_TPos { get; set; } ///// ///// Rgv位置 ///// //[Description("Rgv位置")] //public int R_RgvPosition { get; set; } ///// ///// Rgv状态 ///// //[Description("Rgv状态")] //public int R_State { get; set; } ///// ///// Rgv模式 ///// //[Description("Rgv模式")] //public int R_Mode { get; set; } ///// ///// 任务接收成功信号 ///// //[Description("任务接收成功信号")] //public bool R_Ack { get; set; } #endregion } }