ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlGatewayLogic.cs
@@ -425,6 +425,7 @@ /// 重新绑定网关(1:正常 -1:异常 0:当前的网关绑定在了当前账号下的不同住宅里面) /// </summary> /// <param name="zbGateway">网关</param> /// <param name="btnMsg">消息控件</param> public async Task<int> ReBindNewGateway(ZbGateway zbGateway, NormalViewControl btnMsg = null) { if (zbGateway == null) @@ -657,10 +658,10 @@ } //获取全部设备 bool result = LocalDevice.Current.SetDeviceToMemmoryByGateway(realWay); int result = LocalDevice.Current.SetDeviceToMemmoryByGateway(realWay); //关闭进度条 ProgressBar.Close(); if (result == false) if (result == -1) { return false; }