You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
95 lines
2.3 KiB
C#
95 lines
2.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Estsh.Core.Model.EnumUtil
|
|
{
|
|
public class MesEnumUtil
|
|
{
|
|
[Description("工单-工单类型")]
|
|
public enum WorkOrderType : int
|
|
{
|
|
[Description("生产JIT")]
|
|
PRODUCT_JIT = 20,
|
|
[Description("预测JIT")]
|
|
EARLY_JIT = 10,
|
|
[Description("标准工单")]
|
|
STANDARD_WO = 30,
|
|
[Description("生产JIT物料拉动")]
|
|
PRODUCT_JIT_PULL = 40,
|
|
}
|
|
|
|
[Description("产品下线-生产类型")]
|
|
public enum OutPdlineProductType : int
|
|
{
|
|
[Description("成品")]
|
|
FINISHED_PRODUCT = 10,
|
|
[Description("半成品")]
|
|
WIP = 20,
|
|
[Description("手工报工")]
|
|
MANUAL_REPORT = 30
|
|
}
|
|
|
|
[Description("产品下线-报工状态")]
|
|
public enum OutPdlineReportStatus : int
|
|
{
|
|
[Description("初始化")]
|
|
INIT = 10,
|
|
[Description("已报工")]
|
|
REPORTED = 20,
|
|
[Description("处理异常")]
|
|
EXCEPTION = 30
|
|
}
|
|
|
|
[Description("工单物料拉动状态")]
|
|
public enum WorkOrderPullStatus : int
|
|
{
|
|
[Description("初始化")]
|
|
INIT = 10,
|
|
[Description("已处理")]
|
|
PULLED = 20,
|
|
[Description("已取消")]
|
|
CANCEL = 30,
|
|
}
|
|
|
|
[Description("Jis发运-处理状态")]
|
|
public enum JisShipStatus : int
|
|
{
|
|
[Description("初始化")]
|
|
INIT = 10,
|
|
[Description("已发运")]
|
|
SHIPPED = 20,
|
|
[Description("处理异常")]
|
|
EXCEPTION = 30
|
|
}
|
|
|
|
[Description("Bom类型")]
|
|
public enum BomType : int
|
|
{
|
|
[Description("回冲")]
|
|
REPORT = 10,
|
|
[Description("绑定")]
|
|
BIND = 20,
|
|
[Description("物料")]
|
|
PART = 30,
|
|
[Description("特征")]
|
|
FEATURE = 40
|
|
}
|
|
|
|
[Description("是否有效")]
|
|
public enum Enabled
|
|
{
|
|
[Description("有效")]
|
|
Y,
|
|
[Description("无效")]
|
|
N
|
|
}
|
|
|
|
}
|
|
|
|
|
|
}
|