first commit
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace JSMachine.WMS.Common.Enum.PLC
|
||||
{
|
||||
/// <summary>
|
||||
/// 印刷机状态
|
||||
/// </summary>
|
||||
public enum PrintMachineStatus
|
||||
{
|
||||
/// <summary>
|
||||
/// 正在换单
|
||||
/// </summary>
|
||||
[Description("PrintMachineStatus_ChangingOrder")]
|
||||
ChangingOrder=0x01,
|
||||
/// <summary>
|
||||
/// 模切换版中
|
||||
/// </summary>
|
||||
TemplateSwitching=0x02,
|
||||
/// <summary>
|
||||
/// 允许换单
|
||||
/// </summary>
|
||||
AllowChangeOrder=0x04,
|
||||
/// <summary>
|
||||
/// 完成生产计划(良品数达到计划数)
|
||||
/// </summary>
|
||||
ProductionPlanCompleted=0x08,
|
||||
/// <summary>
|
||||
/// 主机启动
|
||||
/// </summary>
|
||||
HostStart=0x10,
|
||||
/// <summary>
|
||||
/// 生产中(送纸部启动)
|
||||
/// </summary>
|
||||
FeedingPaperStart=0x20,
|
||||
/// <summary>
|
||||
/// 停止换单
|
||||
/// </summary>
|
||||
StopChangingOrder=0x40,
|
||||
/// <summary>
|
||||
/// 换单成功
|
||||
/// </summary>
|
||||
[Description("PrintMachineStatus_ChangeOrderSuccess")]
|
||||
ChangeOrderSuccess=0x80,
|
||||
/// <summary>
|
||||
/// 换单异常
|
||||
/// </summary>
|
||||
ChangeOrderException,
|
||||
/// <summary>
|
||||
/// 通信异常(无法读取到值时返回此枚举值)
|
||||
/// </summary>
|
||||
CommunicationException=0x100,
|
||||
/// <summary>
|
||||
/// 默认状态
|
||||
/// </summary>
|
||||
Default=0x00
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user