天津投入产出系统后端
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.
 
 
 
 
 
 

1194 lines
28 KiB

using System;
using System.Collections.Generic;
using System.Text;
namespace QM.Account
{
///<summary>
/// 模块编号:QM.Account.AccountEnum
/// 作 用:产品枚举定义
/// 作 者:孙高峰
/// 编写日期:2008-07-16
///</summary>
public class AccountEnum
{
#region 系统参数操作对象
/// <summary>
/// 系统参数操作对象
/// </summary>
public enum ParamType
{
/// <summary>
/// 无参数
/// </summary>
NOTHING = 0,
/// <summary>
/// 学历代码
/// </summary>
EDUCATION = 1,
/// <summary>
/// 学位代码
/// </summary>
DEGREE = 2,
/// <summary>
/// 离职原因
/// </summary>
LEAVEREASON = 3,
/// <summary>
/// 密码提出问题
/// </summary>
PWQUESTION = 4,
/// <summary>
/// 员工岗位
/// </summary>
EMPJOB = 5,
/// <summary>
/// 员工职务
/// </summary>
EMPPOST = 6,
/// 订单序列号分配方式
/// </summary>
ORDERSERIAL = 7,
/// <summary>
/// 订单号分配方式
/// </summary>
ORDERNOASSIGN = 8,
/// <summary>
/// 订单号规则
/// </summary>
ORDERNORULE = 9,
/// <summary>
/// 序列号规则
/// </summary>
SERIALRULE = 10,
/// <summary>
/// 属性
/// </summary>
MATERIALATTRIBUTE=101
}
/// <summary>
/// 序列号规则位段类型
/// </summary>
public enum SerialRuleType
{
/// <summary>
/// 空
/// </summary>
NULL = -1,
/// <summary>
/// 数字流水号类型
/// </summary>
Number = 0,
/// <summary>
/// 固定英语字符串
/// </summary>
EnString = 1,
/// <summary>
/// 固定数字符串
/// </summary>
NumString = 2
}
/// <summary>
/// 联系人所在模块
/// </summary>
public enum SysModel
{
/// <summary>
/// 机构
/// </summary>
Corp = 0,
/// <summary>
/// 员工
/// </summary>
Employee = 1
}
/// <summary>
///
/// </summary>
public enum ContactManType
{
/// <summary>
/// 系统
/// </summary>
sysType = 0,
/// <summary>
/// 自定义
/// </summary>
DIYType = 1
}
/// <summary>
/// 订单序列号分配方式
/// </summary>
public enum OrderSerialMode
{
/// <summary>
/// 计划时分配
/// </summary>
Plan = 1,
/// <summary>
/// 工位分配
/// </summary>
WorkLocation = 2
}
/// <summary>
/// 订单号分配方式
/// </summary>
public enum OrderNoMode
{
/// <summary>
/// 内部分配
/// </summary>
Inner = 1,
/// <summary>
/// 外部分配
/// </summary>
Outer = 2
}
public enum ComeFromForm
{
/// <summary>
/// 联系人窗体
/// </summary>
ContactManForm = 0,
/// <summary>
/// 模块窗体
/// </summary>
ModelForm = 1
}
#endregion
public enum PageSize
{
/// <summary>
/// 10
/// </summary>
TEN = 0,
/// <summary>
/// 20
/// </summary>
TWENTY = 1,
/// <summary>
/// 24
/// </summary>
TWENTYFOUR = 24,
/// <summary>
/// 50
/// </summary>
FIFTY = 2,
/// <summary>
/// 100
/// </summary>
HUNDRED = 3,
/// <summary>
/// 500
/// </summary>
FIVEHUNDRED = 4,
/// <summary>
/// 全部显示
/// </summary>
ALLSHOW = 5
}
public enum MessageType
{
/// <summary>
/// 数据为空
/// </summary>
EMPTY = 0,
/// <summary>
/// 数据已存在
/// </summary>
EXIST = 1,
/// <summary>
/// 数据不存在
/// </summary>
NOTEXIST = 2,
/// <summary>
/// 必须是整数
/// </summary>
INT = 3,
/// <summary>
/// 格式错误
/// </summary>
FORMAT = 4,
/// <summary>
/// 验证失败
/// </summary>
VALIDATE = 5,
/// <summary>
/// 数值过小
/// </summary>
LITTLE = 6,
/// <summary>
/// 没有相应要料货位数据
/// </summary>
NOREQUESTPLACEID = 7,
/// <summary>
/// 没有相应备料货位数据
/// </summary>
NOPREPAREPLACEID = 8
}
/// <summary>
/// 筛选类型
/// </summary>
public enum ValueType
{
/// <summary>
/// 数值
/// </summary>
NUMBER = 0,
/// <summary>
/// 字符串
/// </summary>
CHAR = 1
}
/// <summary>
/// 按钮类型
/// </summary>
public enum ButtonType
{
/// <summary>
/// 新建
/// </summary>
INSERT = 0,
/// <summary>
/// 更新
/// </summary>
UPDATE = 1,
/// <summary>
/// 删除
/// </summary>
DELETE = 2,
/// <summary>
/// 复制
/// </summary>
COPY = 3,
/// <summary>
/// 导入
/// </summary>
INPORT = 4,
/// <summary>
/// 导出
/// </summary>
EXPORT = 5,
/// <summary>
/// 保存
/// </summary>
SAVE = 6,
/// <summary>
/// 查询
/// </summary>
SEARCH = 7,
/// <summary>
/// 日志
/// </summary>
LOG = 8,
/// <summary>
/// 用户
/// </summary>
USER = 9,
/// <summary>
/// 用户组
/// </summary>
USERGROUP = 10,
/// <summary>
/// 属性
/// </summary>
PROPERTY = 11,
/// <summary>
/// 权限
/// </summary>
AUTHORITY = 12
}
/// <summary>
/// 时间类型
/// </summary>
public enum TimeType
{
#region
/// <summary>
/// 天
/// </summary>
DAY = 0,
/// <summary>
/// 小时
/// </summary>
HOUR = 1,
/// <summary>
/// 分钟
/// </summary>
MIN = 2,
/// <summary>
/// 秒
/// </summary>
SEC = 3
#endregion
}
/// <summary>
/// 用户类型
/// </summary>
public enum UserType
{
#region
/// <summary>
/// 超级用户
/// </summary>
SUPER=0,
/// <summary>
/// guset用户
/// </summary>
GUEST=1,
/// <summary>
/// 内部用户
/// </summary>
INTER=2,
/// <summary>
/// 内库车载操作员
/// </summary>
IN=3,
/// <summary>
/// 外库车载操作员
/// </summary>
OUT=4,
/// <summary>
/// 手持操作员
/// </summary>
HAND = 5
#endregion
}
/// <summary>
/// 数据列表当前行状态
/// 用户管理使用
/// 孙高峰 09.07.28
/// </summary>
public enum DataCurrentRowState
{
/// <summary>
/// 仅一条数据
/// </summary>
ONLYROW = 0,
/// <summary>
/// 第一行
/// </summary>
FRISTROW = 1,
/// <summary>
/// 中间行
/// </summary>
OTHERROW = 2,
/// <summary>
/// 最后一行
/// </summary>
LASTROW = 3,
/// <summary>
/// 无数据
/// </summary>
NOEXISTROW = 4
}
/// <summary>
/// DCS权限项
/// </summary>
public enum TwsPurviewType
{
/// <summary>
/// 查找
/// </summary>
QUERY = 9,
/// <summary>
/// 复制
/// </summary>
COPY=10,
/// <summary>
/// 保存
/// </summary>
SAVE=11,
/// <summary>
/// 日志管理
/// </summary>
LOG=12,
/// <summary>
/// 用户
/// </summary>
USER=13,
/// <summary>
/// 用户组
/// </summary>
GROUP=14,
/// <summary>
/// 属性
/// </summary>
PROPERTY=15,
/// <summary>
/// 权限
/// </summary>
AUTHORITY=16,
/// <summary>
/// 缓冲区要料
/// </summary>
FOLWREQUEST=20,
/// <summary>
/// 缓冲区要料查询
/// </summary>
FLOWREQUESTQUERY=21,
/// <summary>
/// 生产线要料
/// </summary>
WORKREQUEST=22,
/// <summary>
/// 滑移区备料
/// </summary>
FLOWSTOCK=23,
/// <summary>
/// 强制出库授权
/// </summary>
OUTSTORAGE=24,
/// <summary>
/// SAP HUMO
/// </summary>
SAPHU=25,
/// <summary>
/// 生产线要料查询
/// </summary>
WORKQUERY=26
}
#region 操作类型
/// <summary>
/// 操作类型
/// </summary>
public enum TwsFormDataMode
{
/// <summary>
/// 登录
/// </summary>
LOGIN = 0,
/// <summary>
/// 显示
/// </summary>
SHOW = 1,
/// <summary>
/// 增加
/// </summary>
INSERT = 2,
/// <summary>
/// 修改
/// </summary>
UPDATE = 3,
/// <summary>
/// 删除
/// </summary>
DELETE = 4,
/// <summary>
/// 审核
/// </summary>
VERIFY = 5,
/// <summary>
/// 报表
/// </summary>
REPORT = 6,
/// <summary>
/// 打印
/// </summary>
PRINT = 7,
/// <summary>
/// 导入
/// </summary>
IMP = 8,
/// <summary>
/// 导出
/// </summary>
EXP = 9,
/// <summary>
/// 查找
/// </summary>
QUERY = 10,
/// <summary>
/// 复制
/// </summary>
COPY = 11,
/// <summary>
/// 保存
/// </summary>
SAVE = 12,
/// <summary>
/// 日志管理
/// </summary>
LOG = 13,
/// <summary>
/// 用户
/// </summary>
USER = 14,
/// <summary>
/// 用户组
/// </summary>
GROUP = 15,
/// <summary>
/// 属性
/// </summary>
PROPERTY = 16,
/// <summary>
/// 权限
/// </summary>
AUTHORITY = 17,
/// <summary>
/// 启用
/// </summary>
BEGIN = 18,
/// <summary>
/// 禁用
/// </summary>
STOP = 19,
}
#endregion
/// <summary>
/// 解决标识
/// </summary>
public enum SolutionFlag
{
/// <summary>
/// 否
/// </summary>
NO = 0,
/// <summary>
/// 是
/// </summary>
YES = 1,
/// <summary>
/// 全部
/// </summary>
ALL = 2
}
/// <summary>
/// 物料请求状态
/// </summary>
public enum RequestMatStatus
{
/// <summary>
/// 新建
/// </summary>
NEW = 0,
/// <summary>
/// 锁定
/// </summary>
LOCK = 1,
/// <summary>
/// 备料完成
/// </summary>
BLCOMPLAY = 2,
/// <summary>
/// 转库完成
/// </summary>
PARTSEND = 3,
/// <summary>
/// 捡料完成
/// </summary>
COMPLAY = 4,
/// <summary>
/// 作废
/// </summary>
INVALID =5,
/// <summary>
/// 送料完成
/// </summary>
SENDCOMPLAY=6,
/// <summary>
/// 过账完成
/// </summary>
MONEYCOMPLAY = 7
}
/// <summary>
/// 物料请求状态
/// </summary>
public enum RequestMatStatusFlow
{
/// <summary>
/// 新建
/// </summary>
NEW = 0,
/// <summary>
/// 备料完成
/// </summary>
BLCOMPLAY = 1,
/// <summary>
/// 填充完成
/// </summary>
STOCK = 2,
/// <summary>
/// 送货完成
/// </summary>
MONEYCOMPLAY = 3
}
/// <summary>
/// 差异汇报点
/// </summary>
public enum ExceptionPlace
{
/// <summary>
/// 高架区汇报
/// </summary>
HIGH = 0,
/// <summary>
/// 滑移区汇报
/// </summary>
FLOW = 1,
}
/// <summary>
/// 要料库位所在位置
/// </summary>
public enum StoragePlace
{
/// <summary>
/// 缓冲区
/// </summary>
HIGH = 0,
/// <summary>
/// 滑移区
/// </summary>
FLOW = 1,
}
/// <summary>
/// 差异代码
/// </summary>
public enum ExceptionType
{
/// <summary>
/// 差异
/// </summary>
EXCEPTION = 0,
/// <summary>
/// HU时间
/// </summary>
HUTIME = 1,
/// <summary>
/// 汇报
/// </summary>
REPORT = 2,
/// <summary>
/// SAP差异
/// </summary>
SAP = 3,
}
/// <summary>
/// 库位类型
/// </summary>
public enum StorageType
{
/// <summary>
/// 缓冲
/// </summary>
BUFFER = 0,
/// <summary>
/// 滑移
/// </summary>
FLOW = 1,
/// <summary>
/// 理货
/// </summary>
TALLY = 2,
}
public enum OperateState
{
/// <summary>
/// 自动处理
/// </summary>
AUTO = 0,
/// <summary>
/// 手动处理
/// </summary>
HAND = 1,
}
public enum SendingType
{
/// <summary>
/// 工艺车上线
/// </summary>
TRUCK = 0,
/// <summary>
/// 托盘上线
/// </summary>
TRAY = 1,
}
/// <summary>
/// 差异汇报点
/// </summary>
public enum GLTExceptionPlace
{
/// <summary>
/// 超市区汇报
/// </summary>
TALLY = 0,
/// <summary>
/// 备货区汇报
/// </summary>
STOCK = 1,
/// <summary>
/// 外库汇报
/// </summary>
OUT = 2,
/// <summary>
/// 生产线汇报
/// </summary>
WORK = 3,
/// <summary>
/// 成品库汇报
/// </summary>
FINISH = 4,
/// <summary>
/// FIS汇报
/// </summary>
FIS = 5
}
/// <summary>
/// 库位类型
/// </summary>
public enum StorageArea
{
/// <summary>
/// 超市区
/// </summary>
FLOW = 0,
/// <summary>
/// 高架区
/// </summary>
HIGH = 1,
/// <summary>
/// GLT外库
/// </summary>
OUT = 2,
/// <summary>
/// 备货区
/// </summary>
REQUEST = 3,
/// <summary>
/// 成品库
/// </summary>
FINISH = 4
}
/// <summary>
/// 物料种类
/// </summary>
public enum MatType
{
/// <summary>
/// 外购件
/// </summary>
OUT = 0,
/// <summary>
/// 自制半成品
/// </summary>
OWNER = 1,
/// <summary>
/// 产成品
/// </summary>
FINISH = 2
}
/// <summary>
/// 批量件标示
/// </summary>
public enum FlagBatch
{
/// <summary>
/// 非批量件
/// </summary>
NO = 0,
/// <summary>
/// 批量件
/// </summary>
YES = 1
}
/// <summary>
/// 操作类别
/// </summary>
public enum WorkType
{
/// <summary>
/// 拉动式
/// </summary>
PULL = 0,
/// <summary>
/// 批量汇报
/// </summary>
BATCH = 1
}
/// <summary>
/// 自动要货标示
/// </summary>
public enum AutoteQuest
{
/// <summary>
/// 不自动要货
/// </summary>
NO = 0,
/// <summary>
/// 自动要货
/// </summary>
YES = 1
}
/// <summary>
/// 缺省选择标记
/// </summary>
public enum DefaultFlag
{
/// <summary>
/// 选择
/// </summary>
YES = 0,
/// <summary>
/// 不选
/// </summary>
NO = 1
}
/// <summary>
/// 状态提醒标记
/// </summary>
public enum OrderStatus
{
/// <summary>
/// 已提醒
/// </summary>
YES = 1,
/// <summary>
/// 未提醒
/// </summary>
NO = 0
}
/// <summary>
/// 转移目的地类别
/// </summary>
public enum TransType
{
/// <summary>
/// 生产线
/// </summary>
LINE = 0,
/// <summary>
/// 客户
/// </summary>
VENDOR = 1
}
/// <summary>
/// 备件标示
/// </summary>
public enum FormType
{
/// <summary>
/// 备件
/// </summary>
YES = 1,
/// <summary>
/// 非备件
/// </summary>
NO = 0
}
/// <summary>
/// 操作类别
/// </summary>
public enum OrderFlag
{
/// <summary>
/// 不排序
/// </summary>
NO = 0,
/// <summary>
/// 排序
/// </summary>
YES = 1
}
/// <summary>
/// FIS物料种类
/// </summary>
public enum FISMatType
{
/// <summary>
/// 产成品
/// </summary>
FINISH = 0,
/// <summary>
/// 总成
/// </summary>
ALL = 1
}
/// <summary>
/// 物料标识
/// </summary>
public enum MaterialFlag
{
/// <summary>
/// FIS零件
/// </summary>
FIS = 0,
/// <summary>
/// 平台零件
/// </summary>
PT = 1
}
/// <summary>
/// 完成标识
/// </summary>
public enum FlagComplete
{
/// <summary>
/// 未完成
/// </summary>
NO = 0,
/// <summary>
/// 完成
/// </summary>
YES = 1
}
/// <summary>
/// 送料位置类别
/// </summary>
public enum RequestStationType
{
/// <summary>
/// 生产线
/// </summary>
PRODUCELINE = 0,
/// <summary>
/// 工位
/// </summary>
WORKSTATION = 1
}
/// <summary>
/// 打印机
/// </summary>
public enum Print
{
/// <summary>
/// 1号打印机
/// </summary>
ONE = 1,
/// <summary>
/// 2号打印机
/// </summary>
TWO = 2,
/// <summary>
/// 3号打印机
/// </summary>
THREE = 3,
/// <summary>
/// 4号打印机
/// </summary>
FOUR = 4
}
public enum CreateType
{
/// <summary>
/// 自动创建
/// </summary>
AUTO = 0,
/// <summary>
/// 手动创建
/// </summary>
HAND = 1,
}
/// <summary>
/// 汇报标示
/// </summary>
public enum Report
{
/// <summary>
/// 未汇报
/// </summary>
NO = 0,
/// <summary>
/// 汇报
/// </summary>
YES = 1
}
/// <summary>
/// 看板状态
/// </summary>
public enum ReportStatus
{
/// <summary>
/// 全部
/// </summary>
ALL = 9,
/// <summary>
/// 新建
/// </summary>
NEW = 0,
/// <summary>
/// 部分汇报
/// </summary>
REPORT = 1,
/// <summary>
/// 汇报完毕
/// </summary>
REPORTFINISH = 2,
/// <summary>
/// 部分转移
/// </summary>
TRANS = 3,
/// <summary>
/// 已转移
/// </summary>
TRANSFINISH = 4,
/// <summary>
/// 作废
/// </summary>
INVALID = 5,
/// <summary>
/// 待交付
/// </summary>
WAIT = 6,
/// <summary>
/// 已交付
/// </summary>
OVER = 7
}
/// <summary>
/// 工厂
/// </summary>
public enum Plant
{
/// <summary>
/// 一厂
/// </summary>
ONE = 0,
/// <summary>
/// 二厂
/// </summary>
TWO = 1
}
/// <summary>
/// 存储地点
/// </summary>
public enum StorePlace
{
/// <summary>
/// 收货区
/// </summary>
TAKEOVER = 0,
/// <summary>
/// 高架区
/// </summary>
OVERHEAD = 1,
/// <summary>
/// 滑移区
/// </summary>
SLIPPAGE = 2,
/// <summary>
/// 超市区
/// </summary>
SUPERMARKET = 3,
/// <summary>
/// 排序上线区
/// </summary>
ORDERONLINE = 4,
/// <summary>
/// 主座椅靠背分装线
/// </summary>
MAINBACKSPLIT = 5,
/// <summary>
/// 副座椅靠背分装线
/// </summary>
SIDEBACKSPLIT = 6,
/// <summary>
/// 主座椅坐垫分装线
/// </summary>
MAINCUSHIONSPLIT = 7,
/// <summary>
/// 副座椅坐垫分装线
/// </summary>
SIDECUSHIONSPLIT = 8,
/// <summary>
/// 前座椅总装线
/// </summary>
BEFOREASSEMBLY = 9,
/// <summary>
/// 后座椅靠背组装线
/// </summary>
AFTERBACKASSEMBLY = 10,
/// <summary>
/// 后座椅坐垫组装线
/// </summary>
AFTERCUSHIONASSEMBLY = 11,
/// <summary>
/// 发货区
/// </summary>
CONSIGN = 12
}
/// <summary>
/// 零件类别
/// </summary>
public enum PartType
{
/// <summary>
/// 基础零件
/// </summary>
BASICPART = 0,
/// <summary>
/// 半成品
/// </summary>
HALFPART = 1,
/// <summary>
/// 产成品
/// </summary>
FINISHEDPART = 2
}
/// <summary>
/// 关键件标识
/// </summary>
public enum KeyPartFlg
{
/// <summary>
/// 非关键件
/// </summary>
NO = 0,
/// <summary>
/// 关键件
/// </summary>
YES = 1
}
}
}