using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace QMAPP.FJC.Entity
{
///
/// 枚举定义
///
public class EnumGeter
{
///
/// 所有枚举
///
public enum AllEnum
{
///
/// 配置类别
///
CodeType,
///
/// 删除标识
///
FLAGDEL,
}
#region 删除标识
///
/// 删除标识
///
public enum FLAGDEL
{
///
/// 否
///
NO = 0,
///
/// 是
///
YES = 1
}
#endregion
#region 零件分类
///
/// 零件分类
///
public enum ProductType
{
///
/// 表皮
///
biaopi = 0,
///
/// 骨架
///
gujia = 1,
///
/// 气囊支架
///
qinangzhijia =2,
///
/// 开关支架
///
kaiguanzhijia =3,
///
/// 风道
///
fengdao =4,
///
/// HUD风道
///
HUDfengdao =5,
///
/// 左格栅
///
geshan =6,
///
/// 中控支架
///
zhongkongzhijia =7,
///
/// 本体
///
benti =8,
///
/// 金属支架
///
jinshuzhijia = 9,
///
/// 右格栅
///
yougeshan = 10,
///
/// HUD支架
///
HUDzhijia = 11,
///
/// Q5D
///
Q5D = 12,
}
#endregion
#region 生产线
///
/// 生产线
///
public enum PRODUCELINE
{
///
/// B9生产线
///
B9 = 0,
///
///
///
Q5 = 1,
VW371=2,
}
#endregion
#region 工序类别
///
/// 工序类别
///
public enum ProcessType
{
///
/// 搪塑
///
tangsu = 0,
///
/// 骨架注塑
///
gujiazhusu = 1,
///
/// 气囊支架注塑
///
qinangzhijiazhusu = 2,
///
/// 风道注塑
///
fengdaozhusu = 3,
///
/// 中控之间注塑
///
zhongkongzhijiazhusu = 4,
///
/// HUD风道
///
HUDfengdaozhusu = 5,
///
/// 冷刀弱化
///
lengdaoruohua = 6,
///
/// 火焰加工
///
huoyanjiagong = 7,
///
/// 预热
///
yure = 8,
///
/// 浇注
///
jiaozhu = 9,
///
/// 红外扫描
///
hongwaisaomiao = 10,
///
/// 冲切
///
chongqie = 11,
///
/// 铣削
///
xixiao = 12,
///
/// 铆接
///
maojie = 13,
///
/// 超时波焊接
///
chaoshengbohanjie = 14,
///
/// 红外焊接
///
hongwaihanjie = 15,
///
/// 总成装配
///
zongchengzhuangpei = 16,
}
#endregion
#region 工序类别
///
/// 工序类别
///
public enum ProcessType_M
{
///
/// 搪塑
///
Slush = 0,
///
/// 注塑
///
Injection = 1,
///
/// 浇注
///
Foaming = 2,
///
/// 装配
///
Assembly = 3
}
#endregion
///
/// 原材料类别
///
public enum MATERIALTYPE
{
///
/// 原材料
///
yuancailiao = 0,
///
/// 织物衬布
///
zhiwuchenbu = 1,
///
/// 金属支架
///
jinshuzhijia = 2,
}
///
/// 投料设备类别
///
public enum MACHINETYPE
{
///
/// 搪塑机
///
tangsu = 0,
///
/// 注塑机
///
zhusu = 1,
///
/// 浇注
///
jiaozhu = 2,
}
///
/// 字典类别
///
public enum DictKind
{
///
/// 表皮产品类型
///
PROTYPE,
///
/// 表皮颜色
///
COLOR,
///
/// 表皮模腔号
///
MODELCODE,
///
/// 表皮腔
///
CAVITYTYPE,
///
/// 表皮高低配
///
HAndL,
///
/// 搪塑上料口
///
INJECTIONTERMINAL,
///
/// 注塑物料类别
///
INJECTIONMATERIALTYPE,
///
/// 零件类别
///
PRODUCTTYPE,
///
/// 零件状态
///
PRODUCTSTATUS,
///
/// 故障类别
///
WARNTYPE,
///
/// 出库原因
///
OutReason,
///
/// 点检类型
///
CHECKTYPE,
}
///
/// 零件状态
///
public enum PRODUCTSTAUTS
{
///
/// 合格
///
QUALIFIED = 0,
///
/// 返修
///
REPAIR = 1,
///
/// 作废
///
CANCEL = 2,
}
///
/// 零件出库状态
///
public enum PRODUCTOUTFLAG
{
///
/// 在库
///
INLIBRARY = 0,
///
/// 发货
///
SEND = 1,
///
/// 异常出库
///
ERROR = 2,
}
///
/// 零件使用状态
///
public enum PRODUCTUSESTATE
{
///
/// 未使用
///
UNUSED = 0,
///
/// 使用中
///
USING = 1,
///
/// 使用完成
///
USED = 2,
}
///
/// 设备状态
///
public enum MACHINESTATE
{
///
/// 正常
///
NORMAL = 0,
///
/// 异常
///
ABNORMAL = 1,
}
public enum OPERATETYPE
{
///
/// 表皮产品类型
///
PRODUCE,
///
/// 表皮颜色
///
OPERATE
}
///
/// 生产记录加工状态
///
public enum OPERATIONSTATE
{
///
/// 加工中
///
PROCESSING = 0,
///
/// 加工完成
///
PROCESSED = 0,
///
/// 放行
///
RELEASE = 0,
}
///
/// 零件来源
///
public enum PRODUCTSOURCE
{
///
/// 自制
///
SELFMADE = 0,
///
/// 外购
///
OUTSOURCING = 1
}
///
/// 零件单位
///
public enum PRODUCTUNIT
{
///
/// 单体
///
SINGLE = 0,
///
/// 集合
///
SET = 1
}
///
/// 零件大类
///
public enum PRODUCTMAINTYPE
{
///
/// 搪塑
///
tangsu = 0,
///
/// 注塑
///
zhusu = 1,
///
/// 其他
///
qita = 2
}
///
/// 计划状态
///
public enum PLANSTATUS
{
///
/// 初始化
///
INITIALIZATION = 0,
///
/// 已完成
///
COMPLETED = 1
}
///
/// 规则类别
///
public enum RULETYPE
{
///
/// 前置工序
///
BEFOREPROCESS = 0,
///
/// 冷却时间
///
COOLINGTIME = 1,
///
/// 零件组成
///
PARTS = 2,
///
///模具
///
MODEL = 3,
///
///保质期
///
QUALITYTIME= 4,
}
///
/// 规则类别
///
public enum STATUS
{
///
/// 返修合格
///
QUALIFIED = 0,
///
/// 返修件
///
REPAIR = 1,
///
/// 报废件
///
SCRAP = 2,
}
///
/// 库存状态
///
public enum OUTFLAG
{
///
/// 在库
///
INWAREHOUSE,
///
/// 出库
///
OUTWAREHOUSE,
///
/// 异常出库
///
EXCEPTIONOUT
}
///
/// 使用状态
///
public enum USINGSTATE
{
///
/// 未使用
///
UNUSED,
///
/// 使用中
///
USING,
///
/// 使用完成
///
USED
}
///
/// 加工状态
///
public enum OPERATESTATE
{
///
/// 加工中
///
OPERATING,
///
/// 加工完成
///
COMPLETED,
///
/// 放行
///
RELEASED
}
public enum COMPLETEFLAG
{
///
/// 加工中
///
PROCESSING,
///
/// 加工完成
///
COMPLETED
}
public enum PRODUCTISPARENT
{
///
/// 是
///
yes = 1,
///
/// 否
///
no = 0
}
///
/// 报警类别
///
public enum WARNTYPE
{
///
/// 网络故障
///
NetAlarm = 0,
///
/// 设备故障
///
EquipMentAlarm = 1
}
///
/// 是与否的判断
///
public enum YESORNO
{
///
/// 是
///
YES = 1,
///
/// 否
///
NO = 0
}
///
/// 有与无的判断
///
public enum HAVEORNOT
{
///
/// 有
///
HAVE = 1,
///
/// 无
///
NOT = 0
}
///
/// 生成方式
///
public enum CREATETYPE
{
///
/// 自动生成
///
outo = 0,
///
/// 手工生成
///
people = 1
}
///
/// 是否完成
///
public enum ISDONE
{
///
/// 未完成
///
no = 0,
///
/// 已完成
///
yes = 1
}
///
/// 是否发送
///
public enum ISDEAL
{
///
/// 未发送
///
no = 0,
///
/// 已发送
///
yes = 1
}
///
/// 发送方式
///
public enum INFOTYPE
{
///
/// 短信
///
mobilePhoneNumber,
///
/// 邮箱
///
mail,
///
/// 短信和邮箱
///
mobilePhoneAndMail
}
///
/// 登记状态
///
public enum REGISTERSTATUS
{
///
/// 返修完成
///
mendFinish,
///
/// 返修中
///
mendIng,
///
/// 报废
///
invalidate
}
///
/// 工序是否必须
///
public enum LPNECCESSARY
{
///
/// 否
///
NO = 0,
///
/// 必须
///
YES = 1,
}
///
/// 接收控制指令
///
public enum ISCONTROL
{
///
/// 不发送不读取
///
NOSENDNOREAD = 0,
///
/// 只发送不读取
///
SENDNOREAD = 1,
///
/// 不发送至读取
///
NOSENDREAD = 2,
///
/// 即发送也读取
///
SENDREAD =3 ,
}
public enum COLUMNTYPE
{
///
/// 加工参数
///
PARAMETER = 0,
///
/// 完成标记
///
COMPLETEFLAG = 1,
///
/// 可操作标记
///
OPERATEFLAG = 2,
///
/// 设备扫描条码存储位,如果设备只扫描一个条码,那么捕获该类型信息,直接就是条码信息
///
EQUIPSCANCODE = 3,
///
/// 设备扫描完成标记,如果设备要 扫描多个条码,当扫描完所有的条码后
/// 设备将该值设为true,捕获该值后将在获取 BARCODE = 8的条码信息
///
EQUIPSCANFLAG = 4,
///
/// 一个设备的多个模块公用的一段数据
///
PUBLICDATA = 5,
///
/// 加工参数读取完成标记写入标记
///
PARAMETERREADED = 6,
///
/// 程序中断标记
///
INTERRUPT = 7,
///
/// 存储条码位
///
BARCODE = 8
}
public enum OPERATIONFLAG
{
///
/// 空闲
///
FREE = 0,
///
/// 加工中
///
BUSY = 1
}
public enum MENDSTATICTYPE
{
//缺陷类型
DEFECTTYPE = 1,
//缺陷位置
DEFECTPOSITION = 2,
//缺陷班次分布
DEFECTTEAM = 3,
//返修率班次分布
MENDTEAMRATE = 4,
//返修率趋势图
MENDRATE = 5,
//返修数量趋势图
MENDSUM = 8,
//返修数量趋势图
PRODUCEMENDRATE = 9,
//废品趋势图
SCARPRATE = 6,
//废品缺陷分布
SCARPDEFECT = 7,
}
public enum ORDERTYPE
{
//不可操作命令
NOK,
//可操作命令
OK,
//撤回
RECOVER
}
public enum PLANSTATE
{
///
/// 初始化
///
INIT,
///
/// 生产确认
///
COMMIT,
///
/// 生产中
///
CREATING,
COMPLATED
}
///
/// 工单状态
///
public enum WORKPLANSTATE
{
///
/// 初始化
///
INIT=0,
///
/// 生产确认
///
READY=1,
///
/// 执行中
///
WORKING=2,
///
/// 生产完成
///
COMPLETED=3,
///
/// 挂起
///
SUSPENDED=4,
}
///
/// 工单类型
///
public enum WORKORDERTYPE
{
///
/// FIS
///
FIS=0,
///
/// 建储
///
STOCK=1,
///
/// 插单
///
INSERT=2
}
///
/// 工单状态
///
public enum WorkOrderState
{
///
/// 初始
///
Init=0,
///
/// 确认
///
Confirmed=1,
///
/// 执行中
///
Executing=2,
///
/// 完成
///
Completed=3,
///
/// 挂起
///
Suspended=4
}
///
/// 结束标记
///
public enum Finish
{
///
/// 初始
///
ENDOFLINE = 1
}
public enum COUNTTYPE
{
///
/// 初始
///
CHECKBYCOUNT = 0,
///
/// 确认
///
CHECKBYCODE = 1,
}
public enum COMPARERESULT
{
//亏
LOSS = 0,
//盈
GAIN = 1,
}
}
}