gxc
2019-12-20 eb9cf55fc8568cb2d4b4bfac9deb617ce766a7a5
ZigbeeApp/Shared/Phone/Device/DeviceLogic/ReadDeviceAttributeLogic.cs
@@ -38,10 +38,8 @@
            new System.Threading.Thread(() =>
            {
                SendFanStatuComand(device);
                System.Console.WriteLine("发送时间:" + DateTime.Now.ToString("o"));
                System.Threading.Thread.Sleep(500);
                System.Threading.Thread.Sleep(300);
                SendThermostatStatuComand(device);
                System.Console.WriteLine("接收时间:" + DateTime.Now.ToString("o"));
            })
            { IsBackground = true }.Start();
        }
@@ -89,7 +87,6 @@
               {
                 { "AttriButeId", (int)AttriButeId.CleanStatu}
               }
            };
            var data = new Newtonsoft.Json.Linq.JObject { { "AttriBute", attriBute } };
            jObject.Add("Data", data);
@@ -122,7 +119,7 @@
            };
            var data = new Newtonsoft.Json.Linq.JObject { { "AttriBute", attriBute } };
            jObject.Add("Data", data);
            device.Gateway?.Send(("GetDeviceStatus"), jObject.ToString());
            device.Gateway?.Send("GetDeviceStatus", jObject.ToString());
        }
        #endregion
@@ -230,7 +227,6 @@
            jObject.Add("Data", data);
            device.Gateway?.Send(("GetDeviceStatus"), jObject.ToString());
        }
        #endregion
    }