JLChen
2020-02-20 965290476c027deb96891cde1095d9a100581a6b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
using System;
namespace Shared
{
    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 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 FailedGetGatewaysForHome = "Unable to get gateway list for home!";
        //此网关已绑定到一个住所,请在绑定到另一个住所之前将其重置。或者长按网关按键3S,变成红灯常亮,然后重试!
        public readonly static string UnableToBindGateway = "This gateway has been bound to one residence, please unbind or reset before binding to another residence. (Press gateway button for 3s and the red light keeps on, then retry.)";
        //网关固件版本过低,请先升级!
        public readonly static string GatewayVersionLow = "Please update firmware first.";
        //请先绑定无线网关  2020-01-11
        public readonly static string BindGatewayFirst = "Please bind wireless gateway first.";
        //您的帐户已在另一台设备使用远程连接登录!
        public readonly static string LoginInAnotherDevice = "Your account is signed in with a remote connection on another device!";
        //您并不具有此分享住宅的完全控制权限!
        public readonly static string InsufficientAuthority = "You don't have full control over this sharer's home!";
        //网关被其它住宅绑定,与网关通讯失败! 请长按网关按钮3S,进入红灯常亮,然后重新搜索!
        public readonly static string GatewayPasswordError = "Failed to communicate with gateway, as the gateway has already been bound to another residence. Please press the gateway button for 3s, and search again when the red light keeps on.";
        //控制失败
        public readonly static string ControlFailure = ", fail to control.";
        //网关无响应,请重试!
        public readonly static string GatewayNoResponse = "No response from gateway, please try again!";
 
 
    }
}