天津投入产出系统后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1067 lines
23 KiB

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