From f9181a9c8125136f597add7c30cb2ff508d54ba7 Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期四, 25 七月 2024 17:34:32 +0800 Subject: [PATCH] 2024年07月25日17:33:40 --- 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 38b713e..af48a2b 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.online) + if (Pir.currPir.isOnline()) { 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