| | |
| | | btnOpen.ButtonClickEvent += (sender, e) => |
| | | { |
| | | ((Airer)i_device).AirerUpDownStopControl(0); |
| | | base.RefreshControlInfo(i_device); |
| | | return; |
| | | }; |
| | | |
| | | //停止控件 |
| | |
| | | btnClose.ButtonClickEvent += (sender, e) => |
| | | { |
| | | ((Airer)i_device).AirerUpDownStopControl(1); |
| | | base.RefreshControlInfo(i_device); |
| | | return; |
| | | }; |
| | | |
| | | //刷新图标控件的图标 |
| | |
| | | } |
| | | |
| | | //检测能否发送获取状态命令 |
| | | //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 |