ZigbeeApp/Shared/Phone/Category/Controls/DeviceRow/Base/DeviceRowCommon.cs
@@ -394,7 +394,7 @@ this.ResponeResult = 0; HdlThreadLogic.Current.RunThread(() => { int waitime = 30; int waitime = 40; while (waitime > 0) { System.Threading.Thread.Sleep(100); @@ -404,8 +404,15 @@ break; } waitime--; //2秒的时候,还是接受不到的话,强制再次刷新设备状态 if (waitime == 20) { //从新发送获取设备的状态(强制) this.device.HadReadDeviceStatu = false; this.SendStatuComand(); } } if (waitime <= 0) if (waitime <= 0 && this.Parent != null) { //没有获取得到结果 HdlThreadLogic.Current.RunMain(() =>