| | |
| | | public class ErrorCode |
| | | { |
| | | |
| | | //网络错误 |
| | | public readonly static string NetworkError = "Network Error"; |
| | | //原因 |
| | | public readonly static string Reason = " Cause: "; |
| | | //账号已注册,激活邮件已经重新发送 |
| | | public readonly static string AccountYesRegisterNoIsverify = "Account is registered and activation email has been resent!"; |
| | | //账号未激活 |
| | | public readonly static string NOTVERIFY = "Account is not activated!"; |
| | | //账号或密码错误 |
| | | public readonly static string USERNAMEORPWDERROR = "Account or password error!"; |
| | | //账号不存在 |
| | | public readonly static string ACCOUNTNOEXISTS = "Account does not exist"; |
| | | //登录失败,原因为: |
| | | public readonly static string LoginFailed = "Login failed!"; |
| | | //无效登录Token |
| | | public readonly static string NoLogin = "Invalid Login Token!"; |
| | | //名称已存在 |
| | | public readonly static string NameExist = "Name already exists!"; |
| | | //添加失败 |
| | | public readonly static string AddFailed = "Add failed!"; |
| | | //操作失败 |
| | | public readonly static string OperationFailed = "Operation failed!"; |
| | | //原密码和新密码相同 |
| | | public readonly static string NewPasswordAndOldPasswordEqual = "New password should be different with the original one."; |
| | | //原密码错误 |
| | | public readonly static string OldPwdNoYes = "Wrong original password!"; |
| | | //发送邮件失败 |
| | | public readonly static string SendEmailFail = "Unable to send mail."; |
| | | //当前提交HomeId与当前OldMac尚不存在绑定关系! |
| | | public readonly static string NoBind = "The HomeId just submitted is not bound with current OldMac."; |
| | | //Token 验证失败 |
| | | public readonly static string HomeIdAndTokenNoConsistent = "Token verification failed!"; |
| | | //住宅还存在网关绑定,请先解绑完再操作! |
| | | public readonly static string CurrentHomeExixtsGatewayBind = "The home is bound with gateway already, please unbind first."; |
| | | //交付备份, 不能删除! |
| | | public readonly static string DeliveryBackNoUpdateDel = "Backup delivered and cannot be deleted."; |
| | | //住宅未绑定网关 请先绑定无线网关! |
| | | public readonly static string HomeNoRecord = "Please bind gateway first!"; |
| | | //住宅不存在! |
| | | public readonly static string HomeNoExist = "Home does not exist!"; |
| | | //生成的Guid已存在 |
| | | public readonly static string GuidExist = "Guid already exists."; |
| | | ////网络错误 |
| | | //public readonly static string NetworkError = "Network Error"; |
| | | ////原因 |
| | | //public readonly static string Reason = " Cause: "; |
| | | ////账号已注册,激活邮件已经重新发送 |
| | | //public readonly static string AccountYesRegisterNoIsverify = "Account is registered and activation email has been resent!"; |
| | | ////账号未激活 |
| | | //public readonly static string NOTVERIFY = "Account is not activated!"; |
| | | ////账号或密码错误 |
| | | //public readonly static string USERNAMEORPWDERROR = "Account or password error!"; |
| | | ////账号不存在 |
| | | //public readonly static string ACCOUNTNOEXISTS = "Account does not exist"; |
| | | ////登录失败,原因为: |
| | | //public readonly static string LoginFailed = "Login failed!"; |
| | | ////无效登录Token |
| | | //public readonly static string NoLogin = "Invalid Login Token!"; |
| | | ////名称已存在 |
| | | //public readonly static string NameExist = "Name already exists!"; |
| | | ////添加失败 |
| | | //public readonly static string AddFailed = "Add failed!"; |
| | | ////操作失败 |
| | | //public readonly static string OperationFailed = "Operation failed!"; |
| | | ////原密码和新密码相同 |
| | | //public readonly static string NewPasswordAndOldPasswordEqual = "New password should be different with the original one."; |
| | | ////原密码错误 |
| | | //public readonly static string OldPwdNoYes = "Wrong original password!"; |
| | | ////发送邮件失败 |
| | | //public readonly static string SendEmailFail = "Unable to send mail."; |
| | | ////当前提交HomeId与当前OldMac尚不存在绑定关系! |
| | | //public readonly static string NoBind = "The HomeId just submitted is not bound with current OldMac."; |
| | | ////Token 验证失败 |
| | | //public readonly static string HomeIdAndTokenNoConsistent = "Token verification failed!"; |
| | | ////住宅还存在网关绑定,请先解绑完再操作! |
| | | //public readonly static string CurrentHomeExixtsGatewayBind = "The home is bound with gateway already, please unbind first."; |
| | | ////交付备份, 不能删除! |
| | | //public readonly static string DeliveryBackNoUpdateDel = "Backup delivered and cannot be deleted."; |
| | | ////住宅未绑定网关 请先绑定无线网关! |
| | | //public readonly static string HomeNoRecord = "Please bind gateway first!"; |
| | | ////住宅不存在! |
| | | //public readonly static string HomeNoExist = "Home does not exist!"; |
| | | ////生成的Guid已存在 |
| | | //public readonly static string GuidExist = "Guid already exists."; |
| | | //删除失败 |
| | | public readonly static string FailedDelete = "Failed to delete!"; |
| | | //子账号不存在 |
| | | public readonly static string SubAccountNoExists = "Sub accound does not exist."; |
| | | //不能添加自己为子账号 |
| | | public readonly static string SameAccount = "Can't add yourself as a sub-account!"; |
| | | //账号已存在此住宅 |
| | | public readonly static string SubAccountExist = "Account already exists!"; |
| | | //不能绑定主账号 |
| | | public readonly static string NoAddMainAccount = "Can't bind main account!"; |
| | | ////子账号不存在 |
| | | //public readonly static string SubAccountNoExists = "Sub accound does not exist."; |
| | | ////不能添加自己为子账号 |
| | | //public readonly static string SameAccount = "Can't add yourself as a sub-account!"; |
| | | ////账号已存在此住宅 |
| | | //public readonly static string SubAccountExist = "Account already exists!"; |
| | | ////不能绑定主账号 |
| | | //public readonly static string NoAddMainAccount = "Can't bind main account!"; |
| | | //获取住宅的网关列表失败! |
| | | public readonly static string FailedGetGatewaysForHome = "Unable to get gateway list for home!"; |
| | | //此网关已绑定到一个住所,请在绑定到另一个住所之前将其重置。或者长按网关按键3S,变成红灯常亮,然后重试! |