From cd4189a3f0e3896a37f2307d842af6c8ee4dc0ec Mon Sep 17 00:00:00 2001 From: hxb <hxb@hdlchina.com.cn> Date: 星期三, 14 六月 2023 13:20:53 +0800 Subject: [PATCH] 调整日志库 --- HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMain.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMain.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMain.cs index b82a859..7a80226 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMain.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMain.cs @@ -169,7 +169,7 @@ //绾㈠瀹濆綋鍓嶆湁澶氬皯涓仴鎺у櫒 pirView.geBtn.Text = Pir.currPir.FunctioList.Count.ToString(); //绾㈠瀹濇槸鍚﹀湪绾�-绂荤嚎 - if (Pir.currPir.online2d) + if (Pir.currPir.online) { pirView.stateIconBtn.IsSelected = true; pirView.stateTextBtn.IsSelected = true; @@ -197,7 +197,7 @@ //閬ユ帶鍣ㄥ悕绉� controlView.nameBtn.Text = control.name; //閬ユ帶鍣ㄥ瓨鏀惧尯鍩� - controlView.areaBtn.Text = Intelligence.Automation.LogicMethod.CurrLogicMethod.GetGetRoomName(control); + controlView.areaBtn.Text = Intelligence.Automation.LogicMethod.Current.GetGetRoomName(control); //鏍囪閬ユ帶鍣� controlView.delBtn.Tag = control; //鍒犻櫎鐐瑰嚮浜嬩欢 @@ -236,7 +236,7 @@ { //鍥炶皟鏇存柊鍚嶅瓧/鍖哄煙 controlView.nameBtn.Text = device.name; - controlView.areaBtn.Text = Intelligence.Automation.LogicMethod.CurrLogicMethod.GetGetRoomName(device); + controlView.areaBtn.Text = Intelligence.Automation.LogicMethod.Current.GetGetRoomName(device); }); MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; -- Gitblit v1.8.0