From cc0d80c7d86c6d0167269b3408c4b30c24ce84e9 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期一, 23 三月 2020 16:55:37 +0800 Subject: [PATCH] ??????? --- ZigbeeApp/Shared/Phone/UserCenter/Device/AirConditioner/IndoorUnitSettionForm.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/AirConditioner/IndoorUnitSettionForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/AirConditioner/IndoorUnitSettionForm.cs index 63fab2d..5dbc59c 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Device/AirConditioner/IndoorUnitSettionForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/AirConditioner/IndoorUnitSettionForm.cs @@ -137,7 +137,7 @@ rowBeloneArea.AddBottomLine(); rowBeloneArea.SelectRoomEvent += (roomKeys) => { - Common.Room.CurrentRoom.ChangedRoom(deviceAc, roomKeys); + HdlRoomLogic.Current.ChangedRoom(deviceAc, roomKeys); }; //绌鸿皟妯″紡 @@ -167,7 +167,7 @@ { //涓嶈兘鍐嶇偣鍑� btnSwingSwitch.CanClick = false; - string statu = btnSwingSwitch.IsSelected == true ? "1" : "0"; + string statu = btnSwingSwitch.IsSelected == true ? "0" : "1"; //灏嗕簩杩涘埗杞崲涓哄崄杩涘埗 int sendData = Convert.ToInt32(this.fixValue + statu, 2); HdlThreadLogic.Current.RunThread(async () => @@ -280,7 +280,7 @@ //杞崲涓轰簩杩涘埗 var value = Convert.ToString(data.AttriButeData, 2).PadLeft(16, '0'); //杩欎釜璁剧疆鏄斁鍦ㄥ悗闈㈢殑 - this.fixValue = value.Substring(0, value.Length - 15); + this.fixValue = value.Substring(0, value.Length - 1); this.swingMode = Convert.ToInt32(value.Substring(this.fixValue.Length)); } } -- Gitblit v1.8.0