using System.ComponentModel;
namespace WCS.WorkEngineering.Protocol.Station
{
///
/// 输送机模式
///
public enum StationMode : short
{
///
/// 自动
///
[Description("自动")]
Automatic = 1,
///
/// 手动
///
[Description("手动")]
Manual = 2,
///
/// 维修
///
[Description("维修")]
Repair = 3,
}
///
/// 输送机警报
///
[Flags]
public enum StationAlarm : ushort
{
}
///
/// 输送机状态
///
[Flags]
public enum StationStatus : UInt32
{
///
/// 自动
///
[Description("自动")]
Auto = 1 << 0,
///
/// 选中状态位
///
[Description("选中状态位")]
Choice_Bit = 1 << 1,
///
/// 任务有货
///
[Description("任务有货")]
OT_Status = 1 << 2,
///
/// 光电有货
///
[Description("光电有货")]
PH_Status = 1 << 3,
///
/// 运行状态位
///
[Description("运行状态位")]
Run = 1 << 4,
///
/// 正转
///
[Description("正转")]
Fwd_1 = 1 << 5,
///
/// 反转
///
[Description("反转")]
Rev_1 = 1 << 6,
///
/// 上升/右转/伸出(顶升移栽升降、拆码盘机升降、提升机升降、拆码盘机拨叉伸出)
///
[Description("上升/右转/伸出(顶升移栽升降、拆码盘机升降、提升机升降、拆码盘机拨叉伸出)")]
Up_Right_Front_2 = 1 << 7,
///
/// 下降/左转/缩回(顶升移栽升降、拆码盘机升降、提升机升降、拆码盘机拨叉缩回)
///
[Description("下降/左转/缩回(顶升移栽升降、拆码盘机升降、提升机升降、拆码盘机拨叉缩回)")]
Down_Left_Back_2 = 1 << 8,
///
/// 高位(顶升移栽升降、拆码盘机升降、提升机升降)
///
[Description("高位(顶升移栽升降、拆码盘机升降、提升机升降)")]
High_Station_2 = 1 << 9,
///
/// 中位(拆码盘机升降)
///
[Description("中位(拆码盘机升降)")]
Mid_Station_2 = 1 << 10,
///
/// 低位(顶升移栽升降、拆码盘机升降、提升机升降)
///
[Description("低位(顶升移栽升降、拆码盘机升降、提升机升降)")]
Low_Station_2 = 1 << 11,
///
/// 前位(拆码盘机拨叉伸出)
///
[Description("前位(拆码盘机拨叉伸出)")]
Front_Station_2 = 1 << 12,
///
/// 后位(拆码盘机拨叉缩回)
///
[Description("后位(拆码盘机拨叉缩回)")]
Back_Station_2 = 1 << 13,
///
/// 手动入库
///
[Description("手动入库")]
ManualStorage = 1 << 14,
///
/// 上位机未分配任务
///
[Description("上位机未分配任务")]
UnassignedTask = 1 << 15,
}
///
/// 外形故障
///
[Flags]
public enum StationShapeAlarm : ushort
{
///
/// 外形/条码等货物故障
///
[Description("外形/条码等货物故障")]
Goods_Err = 1 >> 0,
///
/// 前超长故障
///
[Description("前超长故障")]
F_Outside = 1 >> 1,
///
/// 后超长故障
///
[Description("后超长故障")]
B_Outside = 1 >> 2,
///
/// 左超宽故障
///
[Description("左超宽故障")]
L_Outside = 1 >> 3,
///
/// 右超宽故障
///
[Description("右超宽故障")]
R_Outside = 1 >> 4,
///
/// 超高故障
///
[Description("超高故障")]
H_Outside = 1 >> 5,
///
/// 条码读取失败
///
[Description("条码读取失败")]
BCR_Noread = 1 >> 6,
///
/// 超重
///
[Description("超重")]
Overload = 1 >> 7,
///
/// 货物严重外检故障
///
[Description("货物严重外检故障")]
Goods_Err_1 = 1 >> 8,
///
/// 二维条码未读出
///
[Description("二维条码未读出")]
BCR_Noread_1 = 1 >> 9,
///
/// 备用
///
[Description("备用")]
RES1 = 1 >> 10,
///
/// 备用
///
[Description("备用")]
RES2 = 1 >> 11,
///
/// 备用
///
[Description("备用")]
RES3 = 1 >> 12,
///
/// 备用
///
[Description("备用")]
RES4 = 1 >> 13,
///
/// 备用
///
[Description("备用")]
RES5 = 1 >> 14,
///
/// 备用
///
[Description("备用")]
RES6 = 1 >> 15,
}
}