| | |
| | | this.ShowTipMsg(msg);
|
| | | return false;
|
| | | }
|
| | | var mainWayId = HdlGatewayLogic.Current.GetGatewayId(mainGateway);
|
| | | var mainWayId = mainGateway.GwId;
|
| | |
|
| | | //主题数固定5+3+1
|
| | | int topicCount = 9;
|
| | |
| | | {
|
| | | var jobject = Newtonsoft.Json.Linq.JObject.Parse(message);
|
| | |
|
| | | var temp = Newtonsoft.Json.JsonConvert.DeserializeObject<ZigBee.Device.Safeguard.ErrorResponData>(jobject["Data"].ToString());
|
| | | var temp = Newtonsoft.Json.JsonConvert.DeserializeObject<CommonDevice.ErrorResponData>(jobject["Data"].ToString());
|
| | | if (temp != null)
|
| | | {
|
| | | string msg = HdlCheckLogic.Current.CheckCommonErrorCode(temp.Error);
|
| | |
| | | bool success = false;
|
| | | //超时时间
|
| | | int TimeOut = 0;
|
| | | string checkTopic = HdlGatewayLogic.Current.GetGatewayId(realWay) + "/Security/AdminSetNewPassword_Respon";
|
| | | string checkTopic = realWay.GwId + "/Security/AdminSetNewPassword_Respon";
|
| | | Action<string, string> getResultAction = (topic, message) =>
|
| | | {
|
| | | try
|