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