| | |
| | | using Newtonsoft.Json;
|
| | | using Shared.Common; |
| | | using Shared.Common;
|
| | | using System;
|
| | | using System.Collections.Generic;
|
| | | using System.Text;
|
| | |
| | | var temp = Newtonsoft.Json.JsonConvert.DeserializeObject<ZigBee.Device.Safeguard.ErrorResponData>(jobject["Data"].ToString());
|
| | | if (temp != null)
|
| | | {
|
| | | string msg = UserCenterLogic.CheckCommonErrorCode(temp.Error);
|
| | | string msg = HdlCheckLogic.Current.CheckCommonErrorCode(temp.Error);
|
| | | if (msg != null)
|
| | | {
|
| | | this.ShowTipMsg(msg);
|
| | |
| | | //设置提示信息:请输入用户密码
|
| | | Dialogform.SetTipText(Language.StringByID(R.MyInternationalizationString.uPleaseInputUserPassword));
|
| | | //确认按钮
|
| | | Dialogform.ComfirmClickEvent += (() =>
|
| | | Dialogform.ComfirmClickEvent += ((textValue) =>
|
| | | {
|
| | | if (Dialogform.InputText == string.Empty)
|
| | | if (textValue == string.Empty)
|
| | | {
|
| | | this.ShowErrorMsg(Language.StringByID(R.MyInternationalizationString.uPleaseInputUserPassword));
|
| | | return;
|
| | |
| | | Dialogform.CloseDialog();
|
| | |
|
| | | //用户密码
|
| | | pasword = Dialogform.InputText;
|
| | | pasword = textValue;
|
| | | //加密密码
|
| | | this.UserPassword = pasword;
|
| | | });
|
| | |
| | | }
|
| | |
|
| | | return true;
|
| | | } |
| | | |
| | | }
|
| | |
|
| | | #endregion
|
| | | |
| | |
|
| | | #region ■ 报警目标状态的翻译文本_____________
|
| | | |
| | |
|
| | | /// <summary>
|
| | | /// 获取灯光类型的报警目标的状态文本
|
| | | /// </summary>
|