JLChen
2020-01-15 4a61a132ce09b1fd42fd80fcbff1855bad4c0f48
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
using System;
namespace Shared
{
    public class ErrorCode
    {
 
        //网络错误
        public readonly static string NetworkError = "Network Error";
        //原因
        public readonly static string Reason = " Reason: ";
        //账号已注册,激活邮件已经重新发送
        public readonly static string AccountYesRegisterNoIsverify = "The account is registered and the 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 not exist!";
        //登录失败,原因为:
        public readonly static string LoginFailed = "Login failed!";
        //无效登录Token
        public readonly static string NoLogin = "LInvalid 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 = "The old password and the new password are the same!";
        //原密码错误
        public readonly static string OldPwdNoYes = "Wrong original password!";
        //发送邮件失败
        public readonly static string SendEmailFail = "Send mail failed!";
        //当前提交HomeId与当前OldMac尚不存在绑定关系!
        public readonly static string NoBind = "There is no binding relationship between the currently submitted HomeId and the current OldMac!";
        //Token 验证失败
        public readonly static string HomeIdAndTokenNoConsistent = "Token verification failed!";
        //
        public readonly static string CurrentHomeExixtsGatewayBind = "The home still has a gateway binding, please untie it first!";
        //交付备份, 不能删除!
        public readonly static string DeliveryBackNoUpdateDel = "Delivery backup, cannot be deleted!";
        //住宅未绑定网关  请先绑定无线网关! 
        public readonly static string HomeNoRecord = "Please bind the gateway first!";
        //住宅不存在!
        public readonly static string HomeNoExist = "Home doesn't exist!";
        //生成的Guid已存在
        public readonly static string GuidExist = "Guid Exist!";
        //删除失败
        public readonly static string FailedDelete = "Failed to delete!";
        //子账号不存在
        public readonly static string SubAccountNoExists = "The sub account is not registered, please bind the registered sub account!";
        //不能添加自己为子账号
        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 master account!";
        //获取住宅的网关列表失败!
        public readonly static string FailedGetGatewaysForHome = "Failed to get list of gateways for home!";
        
        //此网关已绑定到一个住所,请在绑定到另一个住所之前将其重置。或者长按网关按键3S,变成红灯常亮进入强制绑定模式!
        public readonly static string UnableToBindGateway = "This gateway is already bound to one residence, please reset it before binding to another residence.Or long press the gateway button 3S, the red light is always on to enter the forced binding mode!";
        //网关固件版本过低,请先升级!
        public readonly static string GatewayVersionLow = "The gateway firmware version is too low, please upgrade first!";
        //请先绑定无线网关  2020-01-11
        public readonly static string BindGatewayFirst = "Please bind the 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!";
        
    }
}