xm
2020-12-14 d6fb0646531172f23648441c224cdcccd721b894
ZigbeeApp/Shared/Phone/Category/Controls/DeviceRow/DeviceAirerRowControl.cs
@@ -48,6 +48,8 @@
      btnOpen.ButtonClickEvent += (sender, e) =>
      {
        ((Airer)i_device).AirerUpDownStopControl(0);
        base.RefreshControlInfo(i_device);
        return;
      };
      //停止控件
@@ -76,6 +78,8 @@
      btnClose.ButtonClickEvent += (sender, e) =>
      {
        ((Airer)i_device).AirerUpDownStopControl(1);
        base.RefreshControlInfo(i_device);
        return;
      };
      //刷新图标控件的图标
@@ -141,18 +145,18 @@
      }
      //检测能否发送获取状态命令
      //if (this.CheckCanSendStatuComand() == true)
      //{
      for (int i = 2; i < 6; i++)
      if (this.CheckCanSendStatuComand() == true)
      {
        //注意,衣架中的状态由不同端点获取
        //回路2:读取照明开关状态
        //回路3:读取风干开关状态和时间值
        //回路4:读取烘干开关状态和时间值
        //回路5:读取消毒开关状态和时间值
        HdlDeviceAttributeLogic.Current.SendAirerComand(this.device, i);
        for (int i = 2; i < 6; i++)
        {
          //注意,衣架中的状态由不同端点获取
          //回路2:读取照明开关状态
          //回路3:读取风干开关状态和时间值
          //回路4:读取烘干开关状态和时间值
          //回路5:读取消毒开关状态和时间值
          HdlDeviceAttributeLogic.Current.SendAirerComand(this.device, i);
        }
      }
      //}
    }
    #endregion