using WCS.Entity.Protocol.RGV;
namespace WCS.Entity.Protocol
{
///
/// RGV 读取协议 后缀 _1=1工位 _2=2工位 无=共用
///
public interface IRGV521 : IProtocol
{
#region 一工位
///
/// 任务号
///
int TaskID_1 { get; set; }
///
/// 任务类型
///
RGVTaskType TaskType_1 { get; set; }
///
/// 起始站台
///
short StartPosition_1 { get; set; }
///
/// 目标站台
///
short DestPosition_1 { get; set; }
///
/// 优先级
///
short PRIORITY_1 { get; set; }
///
/// 备用
///
short RES1_1 { get; set; }
///
/// 备用
///
short RES2_1 { get; set; }
///
/// 光电有货状态
///
bool PH_Status_1 { get; set; }
///
/// RGV到站
///
bool ToSition_1 { get; set; }
///
/// 任务完成
///
bool Finish_1 { get; set; }
///
/// 备用
///
bool RES3_1 { get; set; }
///
/// 备用
///
bool RES4_1 { get; set; }
///
/// 备用
///
bool RES5_1 { get; set; }
///
/// 备用
///
bool RES6_1 { get; set; }
///
/// 备用
///
bool RES7_1 { get; set; }
///
/// 触发信号 在通讯协议中为VoucherNo_1
///
int Trigger_1 { get; set; }
#endregion 一工位
#region 二工位
///
/// 任务号
///
int TaskID_2 { get; set; }
///
/// 任务类型
///
RGVTaskType TaskType_2 { get; set; }
///
/// 起始站台
///
short StartPosition_2 { get; set; }
///
/// 目标站台
///
short DestPosition_2 { get; set; }
///
/// 优先级
///
short PRIORITY_2 { get; set; }
///
/// 备用
///
short RES1_2 { get; set; }
///
/// 备用
///
short RES2_2 { get; set; }
///
/// 光电有货状态
///
bool PH_Status_2 { get; set; }
///
/// RGV到站
///
bool ToSition_2 { get; set; }
///
/// 任务完成
///
bool Finish_2 { get; set; }
///
/// 备用
///
bool RES3_2 { get; set; }
///
/// 备用
///
bool RES4_2 { get; set; }
///
/// 备用
///
bool RES5_2 { get; set; }
///
/// 备用
///
bool RES6_2 { get; set; }
///
/// 备用
///
bool RES7_2 { get; set; }
///
/// 触发信号 在通讯协议中为VoucherNo_1
///
int Trigger_2 { get; set; }
#endregion 二工位
#region 共用
///
/// RGV运行状态
///
RGVRunStatus SystemStatus { get; set; }
///
/// RGV运行模式
///
RGVMode WorkMode { get; set; }
///
/// 位置
///
[IgnoreChanging]
float Position { get; set; }
///
/// 里程
///
[IgnoreChanging]
float Mileage { get; set; }
///
/// 运行时长 (单位:小时,带小数)
///
[IgnoreChanging]
float Runtime { get; set; }
#endregion 共用
}
}