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

363 lines
13 KiB

using System;
using System.Collections.Generic;
using System.Text;
namespace QM.Account
{
///<summary>
/// 模块编号:QM.Account.MsgConstants
/// 作 用:消息常量
/// 作 者:孙高峰
/// 编写日期:2009-02-06
///</summary>
public class MsgConstants
{
#region 架构定义消息-不允许删除
/// <summary>
/// 带'*'号数据项必须
/// </summary>
public const string MSGERR_FORMSDATA_MUSTINP = "带'*'号数据项必须!";
public const string LIMIT_SHOW = "浏览";
public const string LIMIT_INSTER = "增加";
public const string LIMIT_UPDATE = "修改";
public const string LIMIT_DELETE = "删除";
public const string LIMIT_VERIFY = "审核";
public const string LIMIT_REPORT = "报表";
public const string LIMIT_PRINT = "打印";
public const string LIMIT_IMP = "导入";
public const string LIMIT_EXP = "导出";
public const string LIMIT_QUERY = "查找";
public const string LIMIT_COPY = "复制";
public const string LIMIT_SAVE = "保存";
public const string LIMIT_LOG = "操作日志";
public const string LIMIT_USER = "用户";
public const string LIMIT_GROUP = "用户组";
public const string LIMIT_PROPERTY = "属性";
public const string LIMIT_AUTHORITY="权限";
public const string LIMIT_FOLWREQUEST = "缓冲区要料";
public const string LIMIT_FLOWREQUESTQUERY = "缓冲区要料查询";
public const string LIMIT_WORKREQUEST = "生产线要料";
public const string LIMIT_FLOWSTOCK = "滑移区备料";
public const string LIMIT_OUTSTORAGE = "强制出库授权";
public const string LIMIT_SAPHU = "SAP HUMO";
public const string LIMIT_WORKREQUERY = "生产线要料查询";
#endregion
#region 自定义消息-根据项目需求处理
#region 序列号分配
public const string MSGERR_SERIALNUMBERVALIDATEFAIL = "序列号不合法,请重新输入。";
public const string MSGERR_LISTEXISTS = "序列号在列表中已存在,请重新输入。";
public const string MSGERR_DATABASEEXISTS = "序列号在数据库中已存在,请重新输入。";
public const string MSGERR_SERIALNUMBERHASCREATE = "序列号已生成,请重新输入。";
public const string MSGERR_SERIALNUMBERHASALLCREATE = "序列号已全部生成,请删除某序列号后添加。";
public const string MSGQUE_IFSAVESERIALNUMBER = "是否保存序列号?";
public const string MSGERR_SERIALNUMBERNOTFULL = "订单序列号未完全分配。";
public const string MSGERR_CLEARSERIALNUMBERNO = "清空产品序列号列表后,才可以重新生成。";
public const string MSGERR_NOSERIALNUMBERNOSELECTED = "没有选择序列号。";
public const string MSGERR_BEGINSNEXIST = "起始序列号已经存在,请重新输入。";
public const string MSGERR_LESSBEGIONNUMBER = "输入的序列号小于起始序列号。";
#endregion
#region 部门
/// <summary>
/// 部门
/// </summary>
public const string CONMANTYPECORP = "机构";
/// <summary>
/// 员工
/// </summary>
public const string CONMANTYPEEMP = "员工";
/// <summary>
/// 请先删除该结构的下级机构
/// </summary>
public const string MSGERR_MUSTDELETESUBCORP = "错误消息:请先删除该结构的下级机构!";
/// <summary>
/// 请先删除该结构的下级机构
/// </summary>
public const string MSGERR_FINALDELETECORP = "删除后将无法恢复此数据!是否删除?";
/// <summary>
/// 请先选择上级部门
/// </summary>
public const string MSGERR_MUSTSELECTTVNODE = "错误消息:请先选择上级部门!";
/// <summary>
/// 无法在此修改机构信息
/// </summary>
public const string MSGERR_CANNOTUPDATACORP = "错误消息:无法在此修改机构信息!";
/// <summary>
/// 联系人已存在
/// </summary>
public const string MSGINFO_CONTACTMANBEING = " 联系人姓名已经存在。是否选择此姓名联系人信息!";
#endregion
#region 消息
/// <summary>
/// 格式错误
/// </summary>
public const string MSGERR_FORMAT = "格式错误。";
/// <summary>
/// 是否作废该数据
/// </summary>
public const string YESORNO = "是否停用该数据?";
/// <summary>
/// 内容以引用,不能删除
/// </summary>
public const string NODELETE = "此数据已被使用,禁止删除。";
/// <summary>
/// 此计划已被下达,禁止删除
/// </summary>
public const string PLANSTATUS_NODELETE = "此计划已被下达,禁止删除。";
/// <summary>
/// 是否恢复该数据
/// </summary>
public const string BACKYESORNO = "是否启用该数据?";
/// <summary>
/// 至少选择一条数据
/// </summary>
public const string MSGERR_LESSONEDATA = "至少选择一条数据";
/// <summary>
/// 与服务器失去连接
/// </summary>
public const string MSGERR_LOSTCONNECTION = "与服务器失去连接";
/// <summary>
/// 警报信息开始部分:"--"
/// </summary>
public const string MSGINFO_WARNNINGSTART = "--";
/// <summary>
/// 警报信息工位部分:"工位:"
/// </summary>
public const string MSGINFO_WARNNINGTEXTSTATION = "料架:";
/// <summary>
/// 警报信息工位部分:"生产线工位已存在"
/// </summary>
public const string MSGERR_PROWORKSTATION = "生产线料架已存在";
/// <summary>
/// 验证失败
/// </summary>
public const string MSGERR_VALIDATEFAIL = "验证失败。";
/// <summary>
/// 数值过小
/// </summary>
public const string MSGERR_LITTLE = "数值过小。";
/// <summary>
/// 没有相应要料库位数据
/// </summary>
public const string MSGERR_NOREQUESTPLACEID = "没有相应要料库位数据。";
/// <summary>
/// 没有相应备料库位数据
/// </summary>
public const string MSGERR_NOPREPAREPLACEID = "没有相应备料库位数据。";
/// <summary>
/// 保存成功
/// </summary>
public const string MSGINFO_SAVESUCCESS = "保存成功!";
/// <summary>
/// 保存失败
/// </summary>
public const string MSGINFO_SAVEFAIL = "保存失败!";
/// <summary>
/// 查询出错,请稍后重试!
/// </summary>
public const string MSGERR_QUERYFAIL = "查询出错,请稍后重试!";
/// <summary>
/// 请输入帐号!
/// </summary>
public const string MSGERR_PLEASEINPUTUSER = "请输入帐号!";
/// <summary>
/// 登录失败
/// </summary>
public const string MSGERR_LOGINFAIL = "登录失败";
/// <summary>
/// 用户组已存在
/// </summary>
public const string MSGINFO_USERGROUPEXISIT = "用户组已存在";
/// <summary>
/// 用户已经存在
/// </summary>
public const string MSGINFO_USEREXISIT = "用户已存在";
/// <summary>
/// 设置权限成功
/// </summary>
public const string MSGINFO_SETAUTHORITYYES = "设置权限成功";
/// <summary>
/// 设置权限失败
/// </summary>
public const string MSGINFO_SETAUTHORITYNO = "设置权限失败";
/// <summary>
/// 数据查询失败,点击确定后自动重试
/// </summary>
public const string MSGINFO_QUERYFAILRETRY = "数据查询失败,点击确定后自动重试";
/// <summary>
/// 员工号不能为空
/// </summary>
public const string MSFINFO_NULLUSER = "员工号不能为空";
/// <summary>
/// 用户名为空
/// </summary>
public const string MSGINFO_NULLUSER = "用户名为空,请重试";
/// <summary>
/// 密码为空
/// </summary>
public const string MSGINFO_NULLPASSWORD = "密码为空,请重试";
/// <summary>
/// 用户名或密码错误
/// </summary>
public const string MSGINFO_ERRORPASSWORD = "用户名或密码错误,请重试";
/// <summary>
/// 未知表名
/// </summary>
public const string MSGINFO_UNKNOWNTABLE = "未知表名";
/// <summary>
/// 别名或标题必须以文字开头
/// </summary>
public const string MSGINFO_CAPTIONMUSTSTARTWITHCHAR = "别名或标题必须以文字开头";
/// <summary>
/// 筛选方式不能为空
/// </summary>
public const string MSGINFO_OPERATORCANNOTNULL = "筛选方式不能为空";
/// <summary>
/// 选定的表已存在,必须指定一个别名才能再次添加该表
/// </summary>
public const string MSGINFO_TABLEEXISTS = "选定的表已存在,必须指定一个别名才能再次添加该表";
/// <summary>
/// 字段标题不能为空
/// </summary>
public const string MSGINFO_CAPTIONCANNOTNULL = "字段标题不能为空";
/// <summary>
/// 字段标题已经存在,请重新指定
/// </summary>
public const string MSGINFO_CAPTIONEXISTS = "字段标题已经存在,请重新指定";
/// <summary>
/// 排序顺序必须大于0,小于100
/// </summary>
public const string MSGINFO_ORDERINDEXFAIL = "排序顺序必须大于0,小于100";
/// <summary>
/// 该排序顺序已经存在,请重新指定
/// </summary>
public const string MSGINFO_ORDERINDEXEXISTS = "该排序顺序已经存在,请重新指定";
/// <summary>
/// 查询失败,指定的查询内容不合法,请重新指定
/// </summary>
public const string MSGINFO_CUSTOMQUERYFAIL = "查询失败,指定的查询内容不合法,请重新指定";
/// <summary>
/// 查询成功,指定的查询内容已经保存
/// </summary>
public const string MSGINFO_CUSTOMSAVED = "查询成功,指定的查询内容已经保存";
/// <summary>
/// 变式名不能为空
/// </summary>
public const string MSGINFO_VARIANTCANNOTNULL = "变式名不能为空";
/// <summary>
/// 变式已经存在
/// </summary>
public const string MSGINFO_VARIANTEXISTS = "变式已经存在";
/// <summary>
/// 确认删除?
/// </summary>
public const string MSGINFO_SUREDELETE = "确认删除?";
/// <summary>
/// 请选择附属表
/// </summary>
public const string MSGINFO_SELECTSLAVETABLE = "请选择附属表";
/// <summary>
/// 结束时间大于开始时间
/// </summary>
public const string MSGINFO_TIME = "结束时间大于开始时间";
/// <summary>
/// 改操作将导致选定的字段信息全部清空,确定要移除指定的节点?
/// </summary>
public const string MSGINFO_TABLESDELETE = "改操作将导致选定的字段信息全部清空,确定要移除指定的节点?";
/// <summary>
/// 主表别名必须与之前输入的一致
/// </summary>
public const string MSGINFO_PRITABLENAME = "主表别名必须与之前输入的一致";
/// <summary>
/// 成功
/// </summary>
public const string MSGINFO_SUCCESS = "成功";
/// <summary>
/// 失败
/// </summary>
public const string MSGINFO_FAIL = "失败";
/// <summary>
/// 添加索引
/// </summary>
public const string MSGINFO_ORDERINDEX = "此排序索引已存在,是否由系统自动完成排序计算";
/// <summary>
/// 用户无权限
/// </summary>
public const string MSGINFO_USERNOLIMIT = "用户无权限";
/// <summary>
/// 程序权限存在,删除失败
/// </summary>
public const string MSGINFO_LIMITDELETEERROR = "此程序存在权限,不可以删除。";
#region 取消
/// <summary>
/// 取消成功
/// </summary>
public const string CANCEL_SUCCESS = "取消成功。";
/// <summary>
/// 取消失败
/// </summary>
public const string CANCEL_FAIL = "取消失败。";
/// <summary>
/// 只有新建状态允许取消
/// </summary>
public const string CANCEL_STATUSWRONG = "只有新建状态允许取消。";
#endregion
#endregion
#endregion
}
}