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