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

305 lines
12 KiB

using System;
using System.Collections.Generic;
using System.Text;
namespace QM.Account
{
///<summary>
/// 模块编号:QM.Account.AccountEnum
/// 作 用:产品常量定义
/// 作 者:孙高峰
/// 编写日期:2008-07-16
///</summary>
public class AccountConstants
{
#region 架构定义常量
// 高级管理员,默认所有权限
public const string INI_ADMINLIMIT = "11111111111111111111";
// Guest用户,默认只读权
public const string INI_GUESTLIMIT = "10000000000000000000";
#endregion
#region 分隔符
/// <summary>
/// 以" - "分隔符
/// </summary>
public const string SPLIT_LINE = " - ";
/// <summary>
/// 以","分隔符
/// </summary>
public const string SPLIT_COMMA = ",";
/// <summary>
/// 以";"分隔符
/// </summary>
public const string SPLIT_SEMI = ";";
/// <summary>
/// 单引号
/// </summary>
public const string SPLIT_MARK = "'";
/// <summary>
/// 星号
/// </summary>
public const string SPLIT_STAR = "*";
/// <summary>
/// 百分号
/// </summary>
public const string SPLIT_PERCENT = "%";
#endregion
#region 序列号
/// <summary>
/// 序列号流水号位数
/// </summary>
public const int SERIAL_LSHSIZE = 3;
#endregion
#region 比较符号
/// <summary>
/// 等于"="
/// </summary>
public const string EQUAL = "=";
/// <summary>
/// 大于等于
/// </summary>
public const string GREATERTHENOREQUAL = ">=";
/// <summary>
/// 小于等于
/// </summary>
public const string LESSTHENOREQUAL = "<=";
/// <summary>
/// 大于
/// </summary>
public const string GREATERTHEN = ">";
/// <summary>
/// 小于
/// </summary>
public const string LESSTHEN = "<";
/// <summary>
/// 不等于
/// </summary>
public const string NOTEQUAL = "≠";
/// <summary>
/// 不等于(数据库)
/// </summary>
public const string BASENOTEQUAL = "<>";
#endregion
#region 字段
//筛选字段
public const string FILTERFIELD = "{FilterField}";
#endregion
#region 排序
//升序
public const string ACS = " ASC";
//降序
public const string DESC = " DESC";
//默认不排序
public const string DEFAULT_DESC = "不排序";
//升序
public const string ASC_DESC = "升序";
//降序
public const string DESC_DESC = "降序";
#endregion
#region 时间
public const string ZERO = " 00:00:00";
public const string TWENTYFOUR = " 23:59:59";
public const string DATETIMEFORMAT = "yyyy-MM-dd";
#endregion
#region 是 否
public const string YES = "是";
public const string NO = "否";
public const string DELFLAG_YES = "1";
public const string DELFLAG_NO = "0";
#endregion
#region 数据表名
//0-不显示,1-只显示为主表,2-主附表都可显示,3-只显示为附表
//public const string T_QM_PARA = "参数表";
//public const string T_QM_CORP = "组织机构";
//public const string T_QM_USER = "用户表";
//public const string T_QM_USERGROUP = "用户组";
//public const string T_QM_USERSUBJECTION = "用户隶属";
//public const string T_QM_USERLIMIT = "用户权限";
//public const string T_QM_SYSPROGRAM = "程序表";
//public const string T_QM_SYSMENU = "系统菜单";
//public const string T_QM_SYSLOG = "系统日志";
//public const string T_BD_MATERIALSORT = "物料类别";
//public const string T_BD_MATERIALATTRIBUTE = "物料属性";
//public const string T_BD_UNIT = "计量单位";
//public const string T_BD_MATERIAL = "物料信息";
//public const string T_BD_MATERIALHU = "物料HU对应表";
//public const string T_BD_PRODUCELINE = "生产线";
//public const string T_BD_WORKSTATION = "工位";
//public const string T_BD_FLOWSTORAGE = "滑移区库位表";
//public const string T_BD_BUFFERSTORAGE = "缓冲区库位表";
//public const string T_BS_EMPLOYEE = "员工表";
//public const string T_MM_FLOWSTORAGEREQUESTMATLIST = "缓冲区要料";
//public const string T_MM_FLOWSTORAGELIST = "缓冲区要料所在库位";
//public const string T_MM_STORAGEMATHULIST = "物料HU记录表";
//public const string T_MM_WORKSTATIONREQUESTMATLIST = "工位要料";
//public const string T_BD_EXCEPTIONCODE = "差异代码";
//public const string T_BD_EXCEPTIONSOLUTION = "解决措施";
//public const string T_APP_EXCEPTIONLIST = "差异记录表";
//public const string T_DQ_CUSTOMQUERY = "自定义查询记录表";
//public const string T_DQ_RELATINGRECORD = "表关联记录";
//public const string T_DQ_DISPLAYCONDITION = "字段,条件,排序记录表";
//public const string T_DQ_SELECTEDTABLE = "显示字段表";
//public const string T_DQ_VARIANTASSIGN = "变式分配表";
#endregion
#region 数据表名
public const string T_QM_PARA = "T_QM_PARA";
public const string T_QM_CORP = "T_QM_CORP";
public const string T_QM_USER = "T_QM_USER";
public const string T_QM_USERGROUP = "T_QM_USERGROUP";
public const string T_QM_USERSUBJECTION = "T_QM_USERSUBJECTION";
public const string T_QM_USERLIMIT = "T_QM_USERLIMIT";
public const string T_QM_SYSPROGRAM = "T_QM_SYSPROGRAM";
public const string T_QM_SYSMENU = "T_QM_SYSMENU";
public const string T_QM_SYSLOG = "T_QM_SYSLOG";
public const string T_BD_MATERIALSORT = "T_BD_MATERIALSORT";
public const string T_BD_MATERIALATTRIBUTE = "T_BD_MATERIALATTRIBUTE";
public const string T_BD_UNIT = "T_BD_UNIT";
public const string T_BD_MATERIAL = "T_BD_MATERIAL";
public const string T_BD_MATERIALHU = "T_BD_MATERIALHU";
public const string T_BD_PRODUCELINE = "T_BD_PRODUCELINE";
public const string T_BD_WORKSTATION = "T_BD_WORKSTATION";
public const string T_BD_FLOWSTORAGE = "T_BD_FLOWSTORAGE";
public const string T_BD_BUFFERSTORAGE = "T_BD_BUFFERSTORAGE";
public const string T_BS_EMPLOYEE = "T_BS_EMPLOYEE";
public const string T_MM_FLOWSTORAGEREQUESTMATLIST = "T_MM_FLOWSTORAGEREQUESTMATLIST";
public const string T_MM_FLOWSTORAGELIST = "T_MM_FLOWSTORAGELIST";
public const string T_MM_STORAGEMATHULIST = "T_MM_STORAGEMATHULIST";
public const string T_MM_WORKSTATIONREQUESTMATLIST = "T_MM_WORKSTATIONREQUESTMATLIST";
public const string T_BD_EXCEPTIONCODE = "T_BD_EXCEPTIONCODE";
public const string T_BD_EXCEPTIONSOLUTION = "T_BD_EXCEPTIONSOLUTION";
public const string T_APP_EXCEPTIONLIST = "T_APP_EXCEPTIONLIST";
public const string T_DQ_CUSTOMQUERY = "T_DQ_CUSTOMQUERY";
public const string T_DQ_RELATINGRECORD = "T_DQ_RELATINGRECORD";
public const string T_DQ_DISPLAYCONDITION = "T_DQ_DISPLAYCONDITION";
public const string T_DQ_SELECTEDTABLE = "T_DQ_SELECTEDTABLE";
public const string T_DQ_VARIANTASSIGN = "T_DQ_VARIANTASSIGN";
#endregion
#region 数据表类型
//0-不显示,1-只显示为主表,2-主附表都可显示,3-只显示为附表
public const string T_QM_PARA_TYPE = "0";
public const string T_QM_CORP_TYPE = "0";
public const string T_QM_USER_TYPE = "2";
public const string T_QM_USERGROUP_TYPE = "0";
public const string T_QM_USERSUBJECTION_TYPE = "0";
public const string T_QM_USERLIMIT_TYPE = "0";
public const string T_QM_SYSPROGRAM_TYPE = "0";
public const string T_QM_SYSMENU_TYPE = "0";
public const string T_QM_SYSLOG_TYPE = "0";
public const string T_BD_MATERIALSORT_TYPE = "0";
public const string T_BD_MATERIALATTRIBUTE_TYPE = "2";
public const string T_BD_UNIT_TYPE = "2";
public const string T_BD_MATERIAL_TYPE = "2";
public const string T_BD_MATERIALHU_TYPE = "2";
public const string T_BD_PRODUCELINE_TYPE = "2";
public const string T_BD_WORKSTATION_TYPE = "2";
public const string T_BD_FLOWSTORAGE_TYPE = "2";
public const string T_BD_BUFFERSTORAGE_TYPE = "2";
public const string T_BS_EMPLOYEE_TYPE = "2";
public const string T_MM_FLOWSTORAGEREQUESTMATLIST_TYPE = "2";
public const string T_MM_FLOWSTORAGELIST_TYPE = "2";
public const string T_MM_STORAGEMATHULIST_TYPE = "2";
public const string T_MM_WORKSTATIONREQUESTMATLIST_TYPE = "2";
public const string T_BD_EXCEPTIONCODE_TYPE = "2";
public const string T_BD_EXCEPTIONSOLUTION_TYPE = "2";
public const string T_APP_EXCEPTIONLIST_TYPE = "1";
public const string T_DQ_CUSTOMQUERY_TYPE = "0";
public const string T_DQ_RELATINGRECORD_TYPE = "0";
public const string T_DQ_DISPLAYCONDITION_TYPE = "0";
public const string T_DQ_SELECTEDTABLE_TYPE = "0";
public const string T_DQ_VARIANTASSIGN_TYPE = "0";
#endregion
#region 按钮
/// <summary>
/// 保存
/// </summary>
public const string SAVE = "保存";
/// <summary>
/// 添加
/// </summary>
public const string ADD = "添加";
/// <summary>
/// 修改
/// </summary>
public const string MODIFY = "修改";
/// <summary>
/// 删除
/// </summary>
public const string DELETE = "删除";
/// <summary>
/// 重置
/// </summary>
public const string RESET = "重置";
/// <summary>
/// 取消
/// </summary>
public const string CANCEL = "取消";
/// <summary>
/// 关闭
/// </summary>
public const string CLOSE = "关闭";
/// <summary>
/// 关机
/// </summary>
public const string SHUTDOWN = "关机";
/// <summary>
/// 查询
/// </summary>
public const string QUERY = "查询";
#endregion
#region 统计函数
public const string FUNC_DEFAULT = "不统计";
public const string FUNC_MIN = "最小值";
public const string FUNC_MAX = "最大值";
public const string FUNC_AVG = "平均值";
public const string FUNC_COUNT = "总行数";
public const string FUNC_SUM = "求和";
#endregion
#region 数据库关键字
public const string DB_SELECT = "SELECT";
public const string DB_DISTINCT = "DISTINCT";
public const string DB_AS = "AS";
public const string DB_AND = "AND";
public const string DB_FROM = "FROM";
public const string DB_ALLFIELDS = "*";
public const string DB_ON = "ON";
public const string DB_WHERE = "WHERE";
public const string DB_ORDERBY = "ORDER BY";
public const string DB_GROUPBY = "GROUP BY";
public const string DB_HAVING = "HAVING";
public const string DB_TOP = "TOP";
public const string DB_INNER = "INNER JOIN";
public const string DB_LEFT = "LEFT JOIN";
public const string DB_RIGHT = "RIGHT JOIN";
public const string DB_FULL = "FULL OUTER JOIN";
public const string DB_MIN = "MIN";
public const string DB_MAX = "MAX";
public const string DB_AVG = "AVG";
public const string DB_COUNT = "COUNT";
public const string DB_SUM = "SUM";
#endregion
}
}