| | |
| | | //stateCodeDic["3"] = StringId.SystemIsBusy; |
| | | //签名错误 |
| | | stateCodeDic["4"] = StringId.SignatureError; |
| | | //请求失败,参数异常! |
| | | stateCodeDic["9"] = StringId.RequestFailedParameterException; |
| | | //验证码校验失败 |
| | | stateCodeDic[StateCode.VERIFICATION_CODE_WRONG] = StringId.VerificationCodeWrong; |
| | | //验证码发送频繁,请稍后再试! |
| | |
| | | stateCodeDic[StateCode.TOKEN_EXPIRED] = StringId.NotLogin; |
| | | //解析用户身份错误,请重新登录 |
| | | stateCodeDic["10006"] = StringId.InvalidToken; |
| | | //您已在另一个设备登录 |
| | | stateCodeDic["10007"] = StringId.LoggedOnOtherDevices; |
| | | //登录失败,账号或者密码错误 |
| | | stateCodeDic["10008"] = StringId.LoginFailed_AccountOrPasswordError; |
| | | //用户已经被禁用 |
| | |
| | | stateCodeDic["10014"] = StringId.AccountExist; |
| | | //原密码错误 |
| | | stateCodeDic["10015"] = StringId.OldPwdNoYes; |
| | | ////绑定号码重复 |
| | | //stateCodeDic["10016"] = StringId.10016; |
| | | ////注册失败 |
| | | //stateCodeDic["10017"] = StringId.10017; |
| | | //绑定号码重复 |
| | | stateCodeDic["10016"] = StringId.DuplicateBindingNumber; |
| | | //注册失败 |
| | | stateCodeDic["10017"] = StringId.RegistrationFailedPleaseTryAgain; |
| | | ////租户不存在 |
| | | //stateCodeDic["10018"] = StringId.10018; |
| | | //密码连续输错次数已达到10次,用户已被锁定,请次日0点后再登陆 |
| | | stateCodeDic["10019"] = StringId.AccountLoginLock; |
| | | |
| | | //没有权限 |
| | | stateCodeDic["10105"] = StringId.PermissionDenied; |
| | | //验证码已经发送 |
| | | stateCodeDic["10207"] = StringId.VerificationCodePrompt; |
| | | //发送验证码错误 |
| | | stateCodeDic["10210"] = StringId.VerificationCodeWrong; |
| | | |
| | | |
| | | |
| | | |
| | | ////枚举类型错误 |
| | | //stateCodeDic["11003"] = StringId.11003; |
| | |
| | | //stateCodeDic["10403"] = StringId.HOME_ID_EXISTS; |
| | | //住宅不存在 |
| | | stateCodeDic["10404"] = StringId.Home_NoExists; |
| | | //住宅没有绑定网关 |
| | | stateCodeDic["10503"] = StringId.PleaseBindTheGatewayFirst; |
| | | |
| | | ////调用用户模块接口失败 |
| | | //stateCodeDic["10213"] = HDL_ON.StringId; |
| | | |
| | | //*********网关********* |
| | | //网关不存在 |
| | | stateCodeDic["10506"] = StringId.GatewayDoesNotExist; |
| | | |
| | | |
| | | //控制失败 |
| | | stateCodeDic["14007"] = StringId.ControlFailure; |
| | | //网关离线 |
| | | stateCodeDic["14005"] = StringId.GatewayOffline; |
| | | //设备离线 |
| | | stateCodeDic["14006"] = StringId.DeviceOffline; |
| | | |
| | | //*********场景/自动化********* |
| | | //场景已存在 |
| | | stateCodeDic["14501"] = StringId.SceneAlreadyExists; |
| | | //自动化已存在 |
| | | stateCodeDic["14502"] = StringId.AutomationAlreadyExists; |
| | | |
| | | //*********设备********* |
| | | //设备目标重复 |
| | | stateCodeDic["10801"] = StringId.DuplicateDeviceTarget; |
| | | //没有远程控制权限 |
| | | stateCodeDic["10802"] = StringId.NoRemoteControlPermission; |
| | | //设备不能为空 |
| | | stateCodeDic["10803"] = StringId.TheDeviceCannotBeEmpty; |
| | | //用户没有设备的权限 |
| | | stateCodeDic["10804"] = StringId.NotHavePermissionToTheDevice; |
| | | //设备不存在 |
| | | stateCodeDic["10805"] = StringId.TheDeviceDoesNotExist; |
| | | |
| | | //控制失败 |
| | | stateCodeDic["20000"] = StringId.ControlFailure; |
| | | //网关离线 |
| | | stateCodeDic["20001"] = StringId.GatewayOffline; |
| | | //设备离线 |
| | | stateCodeDic["20002"] = StringId.DeviceOffline; |
| | | //spk不支持该功能 |
| | | stateCodeDic["20101"] = StringId.SpkNotSupportThisFeature; |
| | | //spk功能不支持此功能值 |
| | | stateCodeDic["20102"] = StringId.SpkNotSupportThisFunctionValue; |
| | | |
| | | |
| | | |
| | | #endregion |
| | | |
| | |
| | | { |
| | | Application.RunOnMainThread(() => |
| | | { |
| | | new Alert("", mes, Language.StringByID(StringId.Close)).Show(); |
| | | new Alert("", mes+$" \r\nCode:{statuCode}", Language.StringByID(StringId.Close)).Show(); |
| | | }); |
| | | } |
| | | } |