gxc
2019-12-16 40f46f32cb00f4304a691d4f027a76a13a9ebb6d
ZigbeeApp/Shared/Phone/Device/DeviceLogic/ReadDeviceAttributeLogic.cs
@@ -35,8 +35,15 @@
        /// <param name="device">设备</param>
        public void SendACStatuComand(CommonDevice device)
        {
            SendThermostatStatuComand(device);
            SendFanStatuComand(device);
            new System.Threading.Thread(() =>
            {
                SendFanStatuComand(device);
                System.Console.WriteLine("发送时间:" + DateTime.Now.ToString("o"));
                System.Threading.Thread.Sleep(500);
                SendThermostatStatuComand(device);
                System.Console.WriteLine("接收时间:" + DateTime.Now.ToString("o"));
            })
            { IsBackground = true }.Start();
        }
        /// <summary>
@@ -165,8 +172,13 @@
        /// <param name="device"></param>
        public void SendDimmableLightStatuComand(CommonDevice device)
        {
            SendSwitchStatuComand(device);
            SendLevelStatuComand(device);
            new System.Threading.Thread(() =>
            {
                SendSwitchStatuComand(device);
                System.Threading.Thread.Sleep(300);
                SendLevelStatuComand(device);
            })
            { IsBackground = true }.Start();
        }
        /// <summary>