From 99253403b560f761d5f9af8b4f5140496996433a Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期五, 20 十一月 2020 16:49:50 +0800 Subject: [PATCH] 新云端的代码Ver1.0 --- ZigbeeApp/Shared/Phone/Device/Logic/CurrentDeviceState.cs | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/CurrentDeviceState.cs b/ZigbeeApp/Shared/Phone/Device/Logic/CurrentDeviceState.cs index 8f019c6..1501165 100755 --- a/ZigbeeApp/Shared/Phone/Device/Logic/CurrentDeviceState.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/CurrentDeviceState.cs @@ -19,7 +19,7 @@ UserView.HomePage.Instance.ScrollEnabled = false; CompleteView completeView = new CompleteView(); flMain.AddChidren(completeView.Show(1)); - completeView.Btntitle.Text = LocalDevice.Current.GetDeviceEpointName(common); + completeView.Btntitle.Text = HdlDeviceCommonLogic.Current.GetDeviceEpointName(common); EventHandler<MouseEventArgs> clickcancel = (sender, e) => { if (edit) @@ -530,7 +530,7 @@ Send.dictionary(deviceConditionsInfo, "AttriButeData2", "0"); completeView.Show(l).AddChidren(openView.Show()); - openView.titleBtn.Text = LocalDevice.Current.GetDeviceEpointName(common); + openView.titleBtn.Text = HdlDeviceCommonLogic.Current.GetDeviceEpointName(common); //openView.titleBtn.Text =Language.StringByID(MyInternationalizationString.OnOffSwitch) + common.DeviceEpoint.ToString(); openView.lineBtn.BackgroundColor = ZigbeeColor.Current.LogicBackgroundColor; openView.clickviewBtn.MouseUpEventHandler += (sender, e) => @@ -549,7 +549,7 @@ } break; case DeviceType.DoorLock: - { + { flMain.RemoveFromParent(); var memberList = new MemberList(); @@ -679,8 +679,8 @@ break; } //鏌ユ壘绱㈠紩 - index1 = mList1.IndexOf(s); - //杞崲娓╁害鍊�/100 + index1 = mList1.IndexOf(s); + //杞崲娓╁害鍊�/100 var dd = (int.Parse(devices["AttriButeData1"])/100).ToString(); index2 = mList2.IndexOf(dd); @@ -1300,7 +1300,7 @@ { if (!edit) { - var alert = new UserCenter.ShowMsgControl(ShowMsgType.Normal, + var alert = new ShowMsgControl(ShowMsgType.Normal, Language.StringByID(MyInternationalizationString.selectdevicestatuscondition), Language.StringByID(MyInternationalizationString.confrim)); alert.Show(); -- Gitblit v1.8.0