CrabtreeOn,印度客户定制APP,迁移2.0平台版本
JLChen
2021-03-30 94259bde69c75de291eb78317009573d9473ebb4
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
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!";
        //密码必须是8-20个字符,包括至少一个大小写字母,数字和特殊字符。
        public readonly static string PasswordStrengthNotMatch = "The password must be 8-20 characters, including at least one uppercase and lowercase letters, numbers and special characters.";
        //密码不能包含用户名
        public readonly static string PasswordNotUsername = "Password cannot contain username";
        //您的手机未连接WIFI网络,请连接
        public readonly static string NotConnectedToWIFI= "Your phone in not connected to WIFI network, please connect.";
        //请确保网关是通电的,连接到WiFi路由器上。
        public readonly static string MakeSureGatewayIsPoweredUp = "Please make sure gateway is powered up and connect to WiFi router.";
        //如果列表中没有所有网关,则可以再次搜索。
        public readonly static string IfAllTheGatewaysAreNotInTheList = "If all the gateways are not in the list, you can search again.";
        //正在搜索,请点击此处退出搜索模式。
        public readonly static string SearchingExitTheSearchingMode = "Searching, Please touch here to exit the searching mode.";
        //正在搜索新设备,请确保所有新设备都处于配置模式。
        public readonly static string SearchingForNewDevices = "Searching for new devices, Please make sure all new devices are in configuration mode.";
        //备注长度超过限制。
        public readonly static string RemarkLengthExceededTheLimit = "Device name length exceeded the limit.";
        //备注不能为空。
        public readonly static string RemarksCannotBeEmpty = "Device name cannot be empty";
        //请求服务器失败,请稍后再试!
        public readonly static string FailedRequestServer = "Failed to request the server, please try again later!";
    }
}