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.
1895 lines
52 KiB
1895 lines
52 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using QM.Config;
|
|
using QM.Common;
|
|
|
|
namespace QM.Account
|
|
{
|
|
///<summary>
|
|
/// 模块编号:QM.Account.MsgCode
|
|
/// 作 用:消息属性
|
|
/// 作 者:孙高峰
|
|
/// 编写日期:2009-02-06
|
|
///</summary>
|
|
public class MsgCode
|
|
{
|
|
#region 变量
|
|
// 语言版本
|
|
private static string Language = GlobalizationInfo.Language;
|
|
#endregion
|
|
|
|
#region 架构定义消息
|
|
/// <summary>
|
|
/// 带'*'号数据项必须
|
|
/// </summary>
|
|
public static string MsgErrFormsDataMustInp
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGERR_FORMSDATA_MUSTINP;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGERR_FORMSDATA_MUSTINP;
|
|
}
|
|
|
|
return MsgConstants.MSGERR_FORMSDATA_MUSTINP;
|
|
}
|
|
}
|
|
|
|
#region 系统权限
|
|
/// <summary>
|
|
/// 显示权文本显示
|
|
/// </summary>
|
|
public static string LimitShow
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.LIMIT_SHOW;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.LIMIT_SHOW;
|
|
}
|
|
|
|
return MsgConstants.LIMIT_SHOW;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 增加权文本显示
|
|
/// </summary>
|
|
public static string LimitInster
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.LIMIT_INSTER;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.LIMIT_INSTER;
|
|
}
|
|
|
|
return MsgConstants.LIMIT_INSTER;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 修改权文本显示
|
|
/// </summary>
|
|
public static string LimitUpdate
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.LIMIT_UPDATE;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.LIMIT_UPDATE;
|
|
}
|
|
|
|
return MsgConstants.LIMIT_UPDATE;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 删除权文本显示
|
|
/// </summary>
|
|
public static string LimitDelete
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.LIMIT_DELETE;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.LIMIT_DELETE;
|
|
}
|
|
|
|
return MsgConstants.LIMIT_DELETE;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 审核权文本显示
|
|
/// </summary>
|
|
public static string LimitVerify
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.LIMIT_VERIFY;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.LIMIT_VERIFY;
|
|
}
|
|
|
|
return MsgConstants.LIMIT_VERIFY;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 报表权文本显示
|
|
/// </summary>
|
|
public static string LimitReport
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.LIMIT_REPORT;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.LIMIT_REPORT;
|
|
}
|
|
|
|
return MsgConstants.LIMIT_REPORT;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 打印权文本显示
|
|
/// </summary>
|
|
public static string LimitPrint
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.LIMIT_PRINT;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.LIMIT_PRINT;
|
|
}
|
|
|
|
return MsgConstants.LIMIT_PRINT;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 导入权文本显示
|
|
/// </summary>
|
|
public static string LimitImp
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.LIMIT_IMP;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.LIMIT_IMP;
|
|
}
|
|
|
|
return MsgConstants.LIMIT_IMP;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 导出权文本显示
|
|
/// </summary>
|
|
public static string LimitExp
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.LIMIT_EXP;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.LIMIT_EXP;
|
|
}
|
|
|
|
return MsgConstants.LIMIT_EXP;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 查找权文本显示
|
|
/// </summary>
|
|
public static string LimitQuery
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.LIMIT_QUERY;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.LIMIT_QUERY;
|
|
}
|
|
|
|
return MsgConstants.LIMIT_QUERY;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 复制权文本显示
|
|
/// </summary>
|
|
public static string LimitCopy
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.LIMIT_COPY;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.LIMIT_COPY;
|
|
}
|
|
|
|
return MsgConstants.LIMIT_COPY;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 保存权文本显示
|
|
/// </summary>
|
|
public static string LimitSave
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.LIMIT_SAVE;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.LIMIT_SAVE;
|
|
}
|
|
|
|
return MsgConstants.LIMIT_SAVE;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 操作日志权文本显示
|
|
/// </summary>
|
|
public static string LimitLog
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.LIMIT_LOG;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.LIMIT_LOG;
|
|
}
|
|
|
|
return MsgConstants.LIMIT_LOG;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 用户权文本显示
|
|
/// </summary>
|
|
public static string LimitUser
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.LIMIT_USER;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.LIMIT_USER;
|
|
}
|
|
|
|
return MsgConstants.LIMIT_USER;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 用户组权文本显示
|
|
/// </summary>
|
|
public static string LimitGroup
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.LIMIT_GROUP;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.LIMIT_GROUP;
|
|
}
|
|
|
|
return MsgConstants.LIMIT_GROUP;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 属性权文本显示
|
|
/// </summary>
|
|
public static string LimitProperty
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.LIMIT_PROPERTY;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.LIMIT_PROPERTY;
|
|
}
|
|
|
|
return MsgConstants.LIMIT_PROPERTY;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 权限权文本显示
|
|
/// </summary>
|
|
public static string LimitAuthority
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.LIMIT_AUTHORITY;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.LIMIT_AUTHORITY;
|
|
}
|
|
|
|
return MsgConstants.LIMIT_AUTHORITY;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 缓冲区要料权文本显示
|
|
/// </summary>
|
|
public static string LimitFolwEquest
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.LIMIT_FOLWREQUEST;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.LIMIT_FOLWREQUEST;
|
|
}
|
|
|
|
return MsgConstants.LIMIT_FOLWREQUEST;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 缓冲区要料查询权文本显示
|
|
/// </summary>
|
|
public static string LimitFlowRequestQuery
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.LIMIT_FLOWREQUESTQUERY;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.LIMIT_FLOWREQUESTQUERY;
|
|
}
|
|
|
|
return MsgConstants.LIMIT_FLOWREQUESTQUERY;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 生产线要料权文本显示
|
|
/// </summary>
|
|
public static string LimitWorkRequest
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.LIMIT_WORKREQUEST;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.LIMIT_WORKREQUEST;
|
|
}
|
|
|
|
return MsgConstants.LIMIT_WORKREQUEST;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 滑移区备料权文本显示
|
|
/// </summary>
|
|
public static string LimitFlowStock
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.LIMIT_FLOWSTOCK;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.LIMIT_FLOWSTOCK;
|
|
}
|
|
|
|
return MsgConstants.LIMIT_FLOWSTOCK;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 强制出库授权文本显示
|
|
/// </summary>
|
|
public static string LimitOutStorage
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.LIMIT_OUTSTORAGE;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.LIMIT_OUTSTORAGE;
|
|
}
|
|
|
|
return MsgConstants.LIMIT_OUTSTORAGE;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// SAP HUMO权文本显示
|
|
/// </summary>
|
|
public static string LimitSAPHU
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.LIMIT_SAPHU;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.LIMIT_SAPHU;
|
|
}
|
|
|
|
return MsgConstants.LIMIT_SAPHU;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 生产线要料查询权文本显示
|
|
/// </summary>
|
|
public static string LimitWorkRequery
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.LIMIT_WORKREQUERY;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.LIMIT_WORKREQUERY;
|
|
}
|
|
|
|
return MsgConstants.LIMIT_WORKREQUERY;
|
|
}
|
|
}
|
|
#endregion
|
|
#endregion
|
|
|
|
#region 自定义消息
|
|
#region 序列号分配操作消息
|
|
/// <summary>
|
|
/// 序列号验证失败
|
|
/// </summary>
|
|
public static string SerialNumberValidateFail
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGERR_SERIALNUMBERVALIDATEFAIL;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGERR_SERIALNUMBERVALIDATEFAIL;
|
|
}
|
|
|
|
return MsgConstants.MSGERR_SERIALNUMBERVALIDATEFAIL;
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// 序列号在列表已存在
|
|
/// </summary>
|
|
public static string ListExists
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGERR_LISTEXISTS;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGERR_LISTEXISTS;
|
|
}
|
|
|
|
return MsgConstants.MSGERR_LISTEXISTS;
|
|
}
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// 序列号在数据库已存在
|
|
/// </summary>
|
|
public static string DataBaseExists
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGERR_DATABASEEXISTS;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGERR_DATABASEEXISTS;
|
|
}
|
|
|
|
return MsgConstants.MSGERR_DATABASEEXISTS;
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// 序列号已生成
|
|
/// </summary>
|
|
public static string SerialNumberHasCreate
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGERR_SERIALNUMBERHASCREATE;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGERR_SERIALNUMBERHASCREATE;
|
|
}
|
|
|
|
return MsgConstants.MSGERR_SERIALNUMBERHASCREATE;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 序列号已全部生成
|
|
/// </summary>
|
|
public static string SerialNumberHasAllCreate
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGERR_SERIALNUMBERHASALLCREATE;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGERR_SERIALNUMBERHASALLCREATE;
|
|
}
|
|
|
|
return MsgConstants.MSGERR_SERIALNUMBERHASALLCREATE;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 是否保存序列号
|
|
/// </summary>
|
|
public static string IFSaveSerialNumber
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGQUE_IFSAVESERIALNUMBER;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGQUE_IFSAVESERIALNUMBER;
|
|
}
|
|
|
|
return MsgConstants.MSGQUE_IFSAVESERIALNUMBER;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 序列号未完全分配
|
|
/// </summary>
|
|
public static string SerialNumberNotFull
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGERR_SERIALNUMBERNOTFULL;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGERR_SERIALNUMBERNOTFULL;
|
|
}
|
|
|
|
return MsgConstants.MSGERR_SERIALNUMBERNOTFULL;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 清空产品序列号列表
|
|
/// </summary>
|
|
public static string ClearSerialNumber
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGERR_CLEARSERIALNUMBERNO;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGERR_CLEARSERIALNUMBERNO;
|
|
}
|
|
|
|
return MsgConstants.MSGERR_CLEARSERIALNUMBERNO;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 没有选择序列号
|
|
/// </summary>
|
|
public static string NoSerialNumberSelected
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGERR_NOSERIALNUMBERNOSELECTED;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGERR_NOSERIALNUMBERNOSELECTED;
|
|
}
|
|
|
|
return MsgConstants.MSGERR_NOSERIALNUMBERNOSELECTED;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 起始号已经存在
|
|
/// </summary>
|
|
public static string BeginSNExist
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGERR_BEGINSNEXIST;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGERR_BEGINSNEXIST;
|
|
}
|
|
|
|
return MsgConstants.MSGERR_BEGINSNEXIST;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 输入的序列号小于起始序列号
|
|
/// </summary>
|
|
public static string LessBeginNumber
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGERR_LESSBEGIONNUMBER;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGERR_LESSBEGIONNUMBER;
|
|
}
|
|
|
|
return MsgConstants.MSGERR_LESSBEGIONNUMBER;
|
|
}
|
|
}
|
|
#endregion
|
|
|
|
#region 机构
|
|
/// <summary>
|
|
/// 请先删除该结构的下级机构
|
|
/// </summary>
|
|
public static string ErrMustDeleteSubCorp
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGERR_MUSTDELETESUBCORP;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGERR_MUSTDELETESUBCORP;
|
|
}
|
|
|
|
return MsgConstants.MSGERR_MUSTDELETESUBCORP;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 请先删除该结构的下级机构
|
|
/// </summary>
|
|
public static string ErrFinalDeleteCorp
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGERR_FINALDELETECORP;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGERR_FINALDELETECORP;
|
|
}
|
|
|
|
return MsgConstants.MSGERR_FINALDELETECORP;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 请先选择上级部门
|
|
/// </summary>
|
|
public static string ErrMustSelectTvNode
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGERR_MUSTSELECTTVNODE;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGERR_MUSTSELECTTVNODE;
|
|
}
|
|
|
|
return MsgConstants.MSGERR_MUSTSELECTTVNODE;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 无法在此修改机构信息
|
|
/// </summary>
|
|
public static string ErrCanNotUpdataCorp
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGERR_CANNOTUPDATACORP;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGERR_CANNOTUPDATACORP;
|
|
}
|
|
|
|
return MsgConstants.MSGERR_CANNOTUPDATACORP;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 联系人已存在
|
|
/// </summary>
|
|
public static string ContactManBeing
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_CONTACTMANBEING;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_CONTACTMANBEING;
|
|
}
|
|
|
|
return MsgConstants.MSGINFO_CONTACTMANBEING;
|
|
}
|
|
}
|
|
#endregion
|
|
|
|
#region 消息
|
|
/// <summary>
|
|
/// 格式错误
|
|
/// </summary>
|
|
public static string FormatError
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGERR_FORMAT;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGERR_FORMAT;
|
|
}
|
|
|
|
return MsgConstants.MSGERR_FORMAT;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 至少选择一条数据
|
|
/// </summary>
|
|
public static string LessOneData
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGERR_LESSONEDATA;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGERR_LESSONEDATA;
|
|
}
|
|
|
|
return MsgConstants.MSGERR_LESSONEDATA;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 与服务器失去连接
|
|
/// </summary>
|
|
public static string LostConnection
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGERR_LOSTCONNECTION;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGERR_LOSTCONNECTION;
|
|
}
|
|
|
|
return MsgConstants.MSGERR_LOSTCONNECTION;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 警报信息开始部分
|
|
/// </summary>
|
|
public static string WarnningStart
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_WARNNINGSTART;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_WARNNINGSTART;
|
|
}
|
|
|
|
return MsgConstants.MSGINFO_WARNNINGSTART;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 警报信息工位部分
|
|
/// </summary>
|
|
public static string WarnningTextStation
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_WARNNINGTEXTSTATION;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_WARNNINGTEXTSTATION;
|
|
}
|
|
|
|
return MsgConstants.MSGINFO_WARNNINGTEXTSTATION;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 验证失败
|
|
/// </summary>
|
|
public static string ValidateFail
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGERR_VALIDATEFAIL;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGERR_VALIDATEFAIL;
|
|
}
|
|
|
|
return MsgConstants.MSGERR_VALIDATEFAIL;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 数值过小
|
|
/// </summary>
|
|
public static string Little
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGERR_LITTLE;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGERR_LITTLE;
|
|
}
|
|
|
|
return MsgConstants.MSGERR_LITTLE;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 没有相应要料库位数据
|
|
/// </summary>
|
|
public static string NOREQUESTPLACEID
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGERR_NOREQUESTPLACEID;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGERR_NOREQUESTPLACEID;
|
|
}
|
|
|
|
return MsgConstants.MSGERR_NOREQUESTPLACEID;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 没有相应备料库位数据
|
|
/// </summary>
|
|
public static string NOPREPAREPLACEID
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGERR_NOPREPAREPLACEID;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGERR_NOPREPAREPLACEID;
|
|
}
|
|
|
|
return MsgConstants.MSGERR_NOPREPAREPLACEID;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 保存成功
|
|
/// </summary>
|
|
public static string SaveSuccess
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_SAVESUCCESS;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_SAVESUCCESS;
|
|
}
|
|
|
|
return MsgConstants.MSGINFO_SAVESUCCESS;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 保存失败
|
|
/// </summary>
|
|
public static string SaveFail
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_SAVEFAIL;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_SAVEFAIL;
|
|
}
|
|
|
|
return MsgConstants.MSGINFO_SAVEFAIL;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 生产线工位已存在
|
|
/// </summary>
|
|
public static string ProWorkExist
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGERR_PROWORKSTATION;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGERR_PROWORKSTATION;
|
|
}
|
|
|
|
return MsgConstants.MSGERR_PROWORKSTATION;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 查询出错,请稍后重试!
|
|
/// </summary>
|
|
public static string QueryFail
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGERR_QUERYFAIL;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGERR_QUERYFAIL;
|
|
}
|
|
|
|
return MsgConstants.MSGERR_QUERYFAIL;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 请输入帐号!
|
|
/// </summary>
|
|
public static string PleaseInputUser
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGERR_PLEASEINPUTUSER;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGERR_PLEASEINPUTUSER;
|
|
}
|
|
|
|
return MsgConstants.MSGERR_PLEASEINPUTUSER;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 登录失败
|
|
/// </summary>
|
|
public static string LoginFail
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
// 中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGERR_LOGINFAIL;
|
|
|
|
// 英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGERR_LOGINFAIL;
|
|
}
|
|
|
|
return MsgConstants.MSGERR_LOGINFAIL;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 用户组已存在
|
|
/// </summary>
|
|
public static string UserGroup
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
//中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_USERGROUPEXISIT;
|
|
|
|
//英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_USERGROUPEXISIT;
|
|
}
|
|
return MsgConstants.MSGINFO_USERGROUPEXISIT;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 用户已存在
|
|
/// </summary>
|
|
public static string UserExisit
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
//中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_USEREXISIT;
|
|
|
|
//英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_USEREXISIT;
|
|
}
|
|
return MsgConstants.MSGINFO_USEREXISIT;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 设置权限成功
|
|
/// </summary>
|
|
public static string SetAuthorityYes
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
//中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_SETAUTHORITYYES;
|
|
|
|
//英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_SETAUTHORITYYES;
|
|
}
|
|
return MsgConstants.MSGINFO_SETAUTHORITYYES;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 设置权限失败
|
|
/// </summary>
|
|
public static string SetAuthorityNo
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
//中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_SETAUTHORITYNO;
|
|
|
|
//英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_SETAUTHORITYNO;
|
|
}
|
|
return MsgConstants.MSGINFO_SETAUTHORITYNO;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 数据查询失败,点击确定后自动重试
|
|
/// </summary>
|
|
public static string QueryFailRetry
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
//中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_QUERYFAILRETRY;
|
|
|
|
//英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_QUERYFAILRETRY;
|
|
}
|
|
return MsgConstants.MSGINFO_QUERYFAILRETRY;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 员工号不能为空
|
|
/// </summary>
|
|
public static string NullUser
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
//中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSFINFO_NULLUSER;
|
|
|
|
//英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSFINFO_NULLUSER;
|
|
}
|
|
return MsgConstants.MSFINFO_NULLUSER;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 用户名为空
|
|
/// </summary>
|
|
public static string NullUserName
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
//中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_NULLUSER;
|
|
|
|
//英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_NULLUSER;
|
|
}
|
|
return MsgConstants.MSGINFO_NULLUSER;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 密码为空
|
|
/// </summary>
|
|
public static string NullPassword
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
//中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_NULLPASSWORD;
|
|
|
|
//英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_NULLPASSWORD;
|
|
}
|
|
return MsgConstants.MSGINFO_NULLPASSWORD;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 密码或用户名错误
|
|
/// </summary>
|
|
public static string ErrorPassword
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
//中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_ERRORPASSWORD;
|
|
|
|
//英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_ERRORPASSWORD;
|
|
}
|
|
return MsgConstants.MSGINFO_ERRORPASSWORD;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 未知表名
|
|
/// </summary>
|
|
public static string UnknownTable
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
//中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_UNKNOWNTABLE;
|
|
|
|
//英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_UNKNOWNTABLE;
|
|
}
|
|
return MsgConstants.MSGINFO_UNKNOWNTABLE;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 别名或标题必须以文字开头
|
|
/// </summary>
|
|
public static string CaptionMustStartWithChar
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
//中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_CAPTIONMUSTSTARTWITHCHAR;
|
|
|
|
//英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_CAPTIONMUSTSTARTWITHCHAR;
|
|
}
|
|
return MsgConstants.MSGINFO_CAPTIONMUSTSTARTWITHCHAR;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 筛选方式不能为空
|
|
/// </summary>
|
|
public static string OperatorCannotNull
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
//中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_OPERATORCANNOTNULL;
|
|
|
|
//英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_OPERATORCANNOTNULL;
|
|
}
|
|
return MsgConstants.MSGINFO_OPERATORCANNOTNULL;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 选定的表已存在,必须指定一个别名才能再次添加该表
|
|
/// </summary>
|
|
public static string TableExists
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
//中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_TABLEEXISTS;
|
|
|
|
//英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_TABLEEXISTS;
|
|
}
|
|
return MsgConstants.MSGINFO_TABLEEXISTS;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 字段标题不能为空
|
|
/// </summary>
|
|
public static string CaptionCannotNull
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
//中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_CAPTIONCANNOTNULL;
|
|
|
|
//英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_CAPTIONCANNOTNULL;
|
|
}
|
|
return MsgConstants.MSGINFO_CAPTIONCANNOTNULL;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 字段标题已经存在,请重新指定
|
|
/// </summary>
|
|
public static string CaptionExists
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
//中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_CAPTIONEXISTS;
|
|
|
|
//英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_CAPTIONEXISTS;
|
|
}
|
|
return MsgConstants.MSGINFO_CAPTIONEXISTS;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 排序顺序必须大于0,小于100
|
|
/// </summary>
|
|
public static string OrderIndexFail
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
//中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_ORDERINDEXFAIL;
|
|
|
|
//英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_ORDERINDEXFAIL;
|
|
}
|
|
return MsgConstants.MSGINFO_ORDERINDEXFAIL;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 该排序顺序已经存在,请重新指定
|
|
/// </summary>
|
|
public static string OrderIndexExists
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
//中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_ORDERINDEXEXISTS;
|
|
|
|
//英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_ORDERINDEXEXISTS;
|
|
}
|
|
return MsgConstants.MSGINFO_ORDERINDEXEXISTS;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 查询失败,指定的查询内容不合法,请重新指定
|
|
/// </summary>
|
|
public static string CustomQueryFail
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
//中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_CUSTOMQUERYFAIL;
|
|
|
|
//英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_CUSTOMQUERYFAIL;
|
|
}
|
|
return MsgConstants.MSGINFO_CUSTOMQUERYFAIL;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 查询成功,指定的查询内容已经保存
|
|
/// </summary>
|
|
public static string CustomSaved
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
//中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_CUSTOMSAVED;
|
|
|
|
//英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_CUSTOMSAVED;
|
|
}
|
|
return MsgConstants.MSGINFO_CUSTOMSAVED;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 变式名不能为空
|
|
/// </summary>
|
|
public static string VariantCannotNull
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
//中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_VARIANTCANNOTNULL;
|
|
|
|
//英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_VARIANTCANNOTNULL;
|
|
}
|
|
return MsgConstants.MSGINFO_VARIANTCANNOTNULL;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 变式已经存在
|
|
/// </summary>
|
|
public static string VariantExists
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
//中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_VARIANTEXISTS;
|
|
|
|
//英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_VARIANTEXISTS;
|
|
}
|
|
return MsgConstants.MSGINFO_VARIANTEXISTS;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 确认删除?
|
|
/// </summary>
|
|
public static string SureDelete
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
//中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_SUREDELETE;
|
|
|
|
//英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_SUREDELETE;
|
|
}
|
|
return MsgConstants.MSGINFO_SUREDELETE;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 请选择附属表
|
|
/// </summary>
|
|
public static string SelectSlaveTable
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
//中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_SELECTSLAVETABLE;
|
|
|
|
//英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_SELECTSLAVETABLE;
|
|
}
|
|
return MsgConstants.MSGINFO_SELECTSLAVETABLE;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 改操作将导致选定的字段信息全部清空,确定要移除指定的节点?
|
|
/// </summary>
|
|
public static string TablesDelete
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
//中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_TABLESDELETE;
|
|
|
|
//英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_TABLESDELETE;
|
|
}
|
|
return MsgConstants.MSGINFO_TABLESDELETE;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 改操作将导致选定的字段信息全部清空,确定要移除指定的节点?
|
|
/// </summary>
|
|
public static string PriTableName
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
//中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_PRITABLENAME;
|
|
|
|
//英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_PRITABLENAME;
|
|
}
|
|
return MsgConstants.MSGINFO_PRITABLENAME;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 成功
|
|
/// </summary>
|
|
public static string Success
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
//中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_SUCCESS;
|
|
|
|
//英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_SUCCESS;
|
|
}
|
|
return MsgConstants.MSGINFO_SUCCESS;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 失败
|
|
/// </summary>
|
|
public static string Fail
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
//中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_FAIL;
|
|
|
|
//英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_FAIL;
|
|
}
|
|
return MsgConstants.MSGINFO_FAIL;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 添加索引
|
|
/// </summary>
|
|
public static string ORDERINDEX
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
//中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_ORDERINDEX;
|
|
|
|
//英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_ORDERINDEX;
|
|
}
|
|
return MsgConstants.MSGINFO_ORDERINDEX;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 添加索引
|
|
/// </summary>
|
|
public static string UserNoLimit
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
//中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_USERNOLIMIT;
|
|
|
|
//英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_USERNOLIMIT;
|
|
}
|
|
return MsgConstants.MSGINFO_USERNOLIMIT;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 程序权限存在,删除失败
|
|
/// </summary>
|
|
public static string LimitDeleteError
|
|
{
|
|
get
|
|
{
|
|
switch (Language)
|
|
{
|
|
//中文
|
|
case Constants.LANGUAGE_CN:
|
|
return MsgConstants.MSGINFO_LIMITDELETEERROR;
|
|
|
|
//英文
|
|
case Constants.LANGUAGE_EN:
|
|
return MsgConstants.MSGINFO_LIMITDELETEERROR;
|
|
}
|
|
return MsgConstants.MSGINFO_LIMITDELETEERROR;
|
|
}
|
|
}
|
|
#endregion
|
|
#endregion
|
|
}
|
|
}
|
|
|