using System;
using System.Collections.Generic;
using System.Text;
namespace QM.Account.Enum
{
///
/// 字段枚举
/// 创建时间:2009-06-17
/// 创 建 人:王昊昇
///
public class AccountColumnEnum
{
#region 大屏幕
///
/// 大屏幕订单字段枚举
///
public enum LEDOrderColumns
{
#region
///
/// 订单号
///
ORDERNO = 0,
///
/// 产品型号
///
MATERIALNO = 1,
///
/// 型号名称
///
MATERIALNAME = 2,
///
/// 计划数量
///
QUANTITY = 3,
///
/// 上线数量
///
ONLINEQUAN = 4,
///
/// 订单说明
///
ORDERDESC = 5,
///
/// 订单日期
///
STARTDATE = 6
#endregion
}
///
/// 大屏幕下线计划字段枚举
///
public enum LEDOutlineColumns
{
#region
///
/// 产品型号
///
MATERIALNO = 0,
///
/// 型号名称
///
MATERIALNAME = 1,
///
/// 计划数量
///
PLANQUAN = 2,
///
/// 完成数量
///
OUTPUTQUAN = 3,
///
/// 计划日期
///
OUTPUTDATE = 4
#endregion
}
///
/// 大屏幕警报字段枚举
///
public enum LEDAlertColumns
{
#region
///
/// 警报时间
///
WARNNINGTIME = 0,
///
/// 警报位置
///
STATIONNO = 1,
///
/// 警报内容
///
WARNNINGINFO = 2
#endregion
}
///
/// 大屏幕设定信息枚举
///
public enum LEDConfigKeys
{
#region
///
/// 欢迎词1
///
WELCOMETEXT1 = 0,
///
/// 欢迎词2
///
WELCOMETEXT2 = 1,
///
/// 欢迎词3
///
WELCOMETEXT3 = 2,
///
/// 欢迎词4
///
WELCOMETEXT4 = 3,
///
/// 欢迎词5
///
WELCOMETEXT5 = 4,
///
/// 欢迎词6
///
WELCOMETEXT6 = 5,
///
/// 欢迎词7
///
WELCOMETEXT7 = 6,
///
/// 欢迎词8
///
WELCOMETEXT8 = 7,
///
/// 欢迎词9
///
WELCOMETEXT9 = 8,
///
/// 欢迎词字体颜色
///
WELCOMETEXTCOLOR = 9,
///
/// 欢迎词字体
///
WELCOMEFONT = 10,
///
/// 刷新时间
///
REFRESHTIME = 11,
///
/// 是否显示订单界面
///
SHOWORDER = 12,
///
/// 是否显示欢迎界面
///
SHOWWELCOME = 13,
///
/// 是否显示下线界面
///
SHOWOUTLINE = 14,
///
/// 是否显示生产效率界面
///
SHOWEFFICIENCY = 15,
///
/// 是否显示警报信息
///
SHOWALERT = 16,
///
/// 屏幕切换时间间隔
///
PANELCHANGETIME = 17,
///
/// 列表滚屏时间间隔
///
SCROLLTIME = 18,
///
/// 是否滚屏
///
SCROLLABLE = 19,
///
/// 警报信息是否滚屏显示
///
ALERTSCROLLABLE = 20,
///
/// 警报信息滚屏时间间隔
///
ALERTSCROLLTIME = 21
#endregion
}
///
/// 大屏幕设定字段枚举
///
public enum LEDConfigColumns
{
#region
///
/// 设定类型
///
SETTINGTYPE = 0,
///
/// 设定名称
///
SETTINGFLAG = 1,
///
/// 设定值
///
VALUE = 2
#endregion
}
///
/// 大屏幕产量字段
///
public enum LEDProduceQuantityColumns
{
#region
///
/// 年上线数
///
YEARONLINE = 0,
///
/// 月上线数
///
MONTHONLINE = 1,
///
/// 日上线数
///
DAYONLINE = 2,
///
/// 年完工数
///
YEARCOMPLETE = 3,
///
/// 月完工数
///
MONTHCOMPLETE = 4,
///
/// 日完工数
///
DAYCOMPLETE = 5,
///
/// 年上线计划
///
YEARONLINEPLAN = 6,
///
/// 月上线计划
///
MONTHONLINEPLAN = 7,
///
/// 日上线计划
///
DAYONLINEPLAN = 8,
///
/// 年计划
///
YEARPLAN = 9,
///
/// 月计划
///
MONTHPLAN = 10,
///
/// 日计划
///
DAYPLAN = 11
#endregion
}
#endregion
#region 监控
///
/// 订单字段
///
public enum MNTOrderColumns
{
#region
///
/// 订单号
///
ORDERNO = 0,
///
/// 订单日期
///
STARTDATE = 1,
///
/// 订单类型
///
TYPENAME = 2,
///
/// 订单状态
///
ORDERSTATE = 3,
///
/// 系列
///
SERIESNAME = 4,
///
/// 型号
///
MATERIALNO = 5,
///
/// 型号名称
///
MATERIALNAME = 6,
///
/// 计划数量
///
QUANTITY = 7,
///
/// 上线数量
///
ONLINEQUAN = 8,
///
/// 下线数量
///
ASSEMOFFLINEQUAN = 9,
///
/// 完工数量
///
COMPLETIONQUAN = 10,
///
/// 订单说明
///
ORDERDESC = 11
#endregion
}
///
/// 工位信息
///
public enum MNTStationInfo
{
#region
///
/// 工位ID
///
WORKSTATIONID,
///
/// 工位号
///
STATIONNO,
///
/// 工位类型
///
STATIONFLAG,
///
/// 生产线号,SQL内置字段,[LINENO]
///
LINENO,
///
/// 生产线ID
///
PRODUCELINEID,
///
/// 生产线类型
///
LINETYPE
#endregion
}
///
/// 产品信息
///
public enum MNTProductInfo
{
#region
///
/// 产品序列号
///
PRODUCTSN,
///
/// 产品型号
///
MATERIALNO,
///
/// 型号名称
///
MATERIALNAME,
///
/// 产品系列
///
SERIESNO,
///
/// 订单号
///
ORDERNO,
///
/// 版本号
///
VERSIONNO,
///
/// 订单日期
///
STARTDATE,
///
/// 订单类型
///
TYPENAME,
///
/// 订单状态
///
ORDERSTATE,
///
/// 产品状态
///
PRODUCTSTATE,
///
/// 上线时间
///
CREATETIME,
///
/// 工位号
///
STATIONNO,
///
/// 产品ID
///
PRODUCTID,
///
/// 工位ID
///
WORKSTATIONID
#endregion
}
#endregion
#region 数据采集
///
/// 产品信息
///
public enum ProductionInfo
{
#region
///
/// 产品ID
///
PRODUCTID,
///
/// 产品序列号
///
PRODUCTSN,
///
/// 订单ID
///
ORDERID,
///
/// 产品型号ID
///
MATERIALID,
///
/// 产品状态
///
PRODUCTSTATE,
///
/// 产品位置
///
WORKSTATIONID,
///
/// 产品型号
///
MATERIALNO,
///
/// 型号名称
///
MATERIALNAME,
///
/// 订单号
///
ORDERNO,
///
/// 订单日期
///
STARTDATE,
///
/// 订单状态
///
ORDERSTATE,
///
/// 订单类型
///
TYPENAME,
///
/// 产品系列
///
SERIESNAME,
///
/// 订单说明
///
ORDERDESC,
///
/// 计划数量
///
QUANTITY,
///
/// 工位号
///
STATIONNO
#endregion
}
///
/// 组件清单信息
///
public enum ComponentInfo
{
#region
///
/// 组件ID
///
COMPONENT,
///
/// 数量
///
QUANTITY,
///
/// 订单ID
///
ORDERID,
///
/// 关键件标识
///
CRITICALCOMPFLAG,
///
/// 物料号
///
MATERIALNO,
///
/// 物料名称
///
MATERIALNAME,
///
/// 组件ID
///
COMPONENTLISTID,
///
/// 仓位ID
///
STORAGEID,
///
/// 生产线ID
///
PRODUCELINEID,
///
/// 工位ID
///
WORKSTATIONID
#endregion
}
///
/// 故障信息
///
public enum WarnningInfo
{
#region
///
/// 故障现象编号
///
PHENOMENONNO = 0,
///
/// 故障现象内容
///
CONTENT = 1,
///
/// 故障现象ID
///
PHENOMENONID = 2
#endregion
}
///
/// 工位信息
///
public enum StationInfo
{
#region
///
/// 工位号
///
STATIONNO,
///
/// 生产线号
///
LINENO,
///
/// 产品序列号
///
PRODUCTSN,
//产品状态
PRODUCTSTATE,
///
/// 订单号
///
ORDERNO,
///
/// 产品型号
///
MATERIALNO,
///
/// 订单日期
///
STARTDATE,
///
/// 订单类型
///
TYPENAME,
///
/// 订单状态
///
ORDERSTATE,
///
/// 订单说明
///
ORDERDESC,
///
/// 生产线ID
///
PRODUCELINEID,
///
/// 工位ID
///
WORKSTATIONID,
///
/// 工作状态
///
STATE
#endregion
}
///
/// 工位
///
public enum WorkStation
{
#region
///
/// 工位号
///
STATIONNO,
///
/// 工位ID
///
WORKSTATIONID,
///
/// 生产线ID
///
PRODUCELINEID
#endregion
}
///
/// 生产线
///
public enum ProduceLine
{
#region
///
/// 生产线号
///
LINENO,
///
/// 生产线ID
///
PRODUCELINEID
#endregion
}
///
/// 标准工时
///
public enum LaborHour
{
#region
///
/// 订单ID
///
ORDERID,
///
/// 标准工时
///
LABORHOUR,
///
/// 工位ID
///
WORKSTATIONID,
///
/// 单位
///
UNITNO
#endregion
}
///
/// 工位登录
///
public enum StationLogin
{
#region
///
/// 用户帐户
///
USER,
///
/// 员工姓名
///
EMPLOYEENAME,
///
/// 员工号
///
EMPLOYEENO,
///
/// 员工ID
///
EMPLOYEEID
#endregion
}
#endregion
#region 自定义查询
///
/// 字段信息
///
public enum ColumnInfo
{
#region
///
/// 表名
///
TABLE_NAME,
///
/// 表标题
///
TABLE_DESC,
///
/// 字段名
///
COLUMN_NAME,
///
/// 字段标题
///
COLUMN_DESC,
///
/// 是否显示
///
DISPLAY
#endregion
}
///
/// 变式
///
public enum CustomQuery
{
#region
///
/// 编码
///
CUSTOMQUERYID,
///
/// 变式
///
VARIANT,
///
/// 查询命令
///
SQLCOMMAND,
///
/// 创建人
///
CREATEUSER,
///
/// 创建时间
///
CREATETIME,
///
/// 删除标识
///
FLAGDEL
#endregion
}
///
/// 变式分配
///
public enum VariantAssign
{
#region
///
/// 编号
///
VARIANTASSIGNID,
///
/// 变式编码
///
CUSTOMQUERYID,
///
/// 用户
///
USERID,
///
/// 创建人
///
CREATEUSER,
///
/// 创建时间
///
CREATETIME,
///
/// 删除标识
///
FLAGDEL
#endregion
}
///
/// 查询条件
///
public enum QueryCondition
{
#region
///
/// 编码
///
QUERYCONDITIONID,
///
/// 变式编码
///
CUSTOMQUERYID,
///
/// 表名
///
TABLE,
///
/// 表别名
///
TABLEDESC,
///
/// 字段
///
FIELD,
///
/// 字段标题
///
FIELDDESC,
///
/// 运算符
///
OPERATOR,
///
/// 值
///
VALUE,
///
/// 值类型
///
VALUETYPE,
///
/// 逻辑关系
///
LOGIC,
///
/// 排序方式
///
ORDERBY,
///
/// 排序顺序
///
ORDERINDEX,
///
/// 创建人
///
CREATEUSER,
///
/// 创建时间
///
CREATETIME,
///
/// 删除标识
///
FLAGDEL
#endregion
}
///
/// 显示字段
///
public enum DisplayField
{
#region
///
/// 编码
///
DISPLAYFIELDID,
///
/// 变式编码
///
CUSTOMQUERYID,
///
/// 表名
///
TABLE,
///
/// 表别名
///
TABLEDESC,
///
/// 字段
///
FIELD,
///
/// 字段描述
///
FIELDDESC,
///
/// 排序方式
///
ORDERBY,
///
/// 排序顺序
///
ORDERINDEX,
///
/// 创建人
///
CREATEUSER,
///
/// 创建时间
///
CREATETIME,
///
/// 删除标识
///
FLAGDEL
#endregion
}
///
/// 关联关系
///
public enum RelatingRecord
{
#region
///
/// 编码
///
RELATINGRECORDID,
///
/// 主表
///
PRIMARYTABLE,
///
/// 主表字段
///
PRIMARYFIELD,
///
/// 附表
///
RELATINGTABLE,
///
/// 附表字段
///
RELATINGFIELD
#endregion
}
///
/// 排序规则
///
public enum OrderByType
{
#region
///
/// 默认,不排序
///
DEFAULT = 0,
///
/// 升序
///
ASC = 1,
///
/// 降序
///
DESC = 2
#endregion
}
///
/// 显示条件
///
public enum DispCondition
{
#region
///
/// 显示条件ID
///
DISPLAYCONDITIONID,
///
/// 表名
///
TABLE,
///
/// 表描述
///
TABLEDESC,
///
/// 表别名
///
TABLECAPTION,
///
/// 字段名
///
FIELD,
///
/// 字段描述
///
FIELDDESC,
///
/// 字段别名
///
FIELDCAPTION,
///
/// 显示与否
///
DISPLAY,
///
/// 统计函数
///
FUNCTION,
///
/// 值
///
VALUE,
///
/// 逻辑
///
LOGIC,
///
/// 排序类型
///
ORDERBY,
///
/// 排序顺序
///
ORDERINDEX,
///
/// 查询条件
///
CONDITION,
///
/// 运算符
///
OPERATOR,
///
/// 删除标识
///
FLAGDEL,
///
/// 排序类型显示值
///
ORDERBYDISPLAY,
///
/// 统计函数显示值
///
FUNCTIONDISPLAY,
///
/// 创建人
///
CREATEUSER,
///
/// 创建时间
///
CREATETIME,
///
/// 自定义查询ID
///
CUSTOMQUERYID
#endregion
}
///
/// 统计函数
///
public enum QueryFunction
{
#region
///
/// 默认,不统计
///
DEFAULT = 0,
///
/// 最小值
///
MIN = 1,
///
/// 最大值
///
MAX = 2,
///
/// 平均值
///
AVG = 3,
///
/// 总行数
///
COUNT = 4,
///
/// 求和
///
SUM = 5
#endregion
}
///
/// 选定表
///
public enum SelectedTable
{
#region
///
/// 编码
///
SELECTEDTABLEID,
///
/// 查询ID
///
CUSTOMQUERYID,
///
/// 主表名
///
PRITABLENAME,
///
/// 主表别名
///
PRITABLEDESC,
///
/// 附表名
///
SLVTABLENAME,
///
/// 附表别名
///
SLVTABLEDESC,
///
/// 连接类型
///
JOINTYPE,
///
/// 创建人
///
CREATEUSER,
///
/// 创建时间
///
CREATETIME,
///
/// 数据删除标识
///
FLAGDEL
#endregion
}
///
/// 连接类型
///
public enum JoinType
{
#region
///
/// 内链接
///
INNER = 0,
///
/// 左连接
///
LEFT = 1,
///
/// 右连接
///
RIGHT = 2
#endregion
}
///
/// 选定字段
///
public enum SelectFields
{
#region
///
/// 主表字段
///
PRIMARYFIELD,
///
/// 主表字段名
///
PRIMARYFIELDNAME,
///
/// 附表字段
///
SLAVEFIELD,
///
/// 附表字段名
///
SLAVEFIELDNAME,
///
/// 主表
///
PRIMARYTABLE,
///
/// 主表名称
///
PRIMARYTABLENAME,
///
/// 主表标题
///
PRIMARYTABLECAPION,
///
/// 附表
///
SLAVETABLE,
///
/// 附表名称
///
SLAVETABLENAME,
///
/// 附表标题
///
SLAVETABLECAPTION
#endregion
}
#endregion
}
}