From 0d9f64668fd7350d6a21fd157e32009a96d98134 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期三, 16 十二月 2020 13:09:08 +0800 Subject: [PATCH] 新云端代码Ver1.2 --- ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelSimpleMutilfunctionAddTargetsForm.cs | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelSimpleMutilfunctionAddTargetsForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelSimpleMutilfunctionAddTargetsForm.cs index 6de5343..95e534d 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelSimpleMutilfunctionAddTargetsForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelSimpleMutilfunctionAddTargetsForm.cs @@ -142,7 +142,7 @@ //澶囨敞寮圭獥鎻愮ず string msg = Language.StringByID(R.MyInternationalizationString.BindRemarkTip1).Replace("{0}", "\r\n"); - var alert = new Shared.Phone.UserCenter.ShowMsgControl(ShowMsgType.Confirm, msg, Language.StringByID(R.MyInternationalizationString.Iknown)); + var alert = new Shared.Phone.ShowMsgControl(ShowMsgType.Confirm, msg, Language.StringByID(R.MyInternationalizationString.Iknown)); alert.Show(); } @@ -510,7 +510,7 @@ X = devicePic.Right + Application.GetRealWidth(20), TextAlignment = TextAlignment.CenterLeft, TextSize = 15, - Text = Common.LocalDevice.Current.GetDeviceEpointName(device), + Text = HdlDeviceCommonLogic.Current.GetDeviceEpointName(device), }; rowLayout.AddChidren(btnBindName); @@ -539,7 +539,7 @@ { line2.Visible = false; } - if (Common.LocalDevice.Current.CheckDeviceIsOnline(device) == true) + if (HdlDeviceCommonLogic.Current.CheckDeviceIsOnline(device) == true) { btnBindName.TextColor = Shared.Common.ZigbeeColor.Current.TextBlack; } @@ -606,7 +606,7 @@ EventHandler<MouseEventArgs> hander = (sender, e) => { //鐩爣澶囨敞澶勭悊 - var localName = System.Text.Encoding.UTF8.GetBytes(Common.LocalDevice.Current.GetDeviceEpointName(device)); + var localName = System.Text.Encoding.UTF8.GetBytes(HdlDeviceCommonLogic.Current.GetDeviceEpointName(device)); if (localName.Length > 20) { new Tip() { MaxWidth = 150, Text = Language.StringByID(R.MyInternationalizationString.BindRemarkTip2), Direction = AMPopTipDirection.None, CloseTime = 1 }.Show(Common.CommonPage.Instance); @@ -1132,7 +1132,7 @@ break; case 3: addSingleBindData.BindClusterList.Add(6); - var device = LocalDevice.Current.GetDevice(de.DeviceAddr, de.DeviceEpoint); + var device = HdlDeviceCommonLogic.Current.GetDevice(de.DeviceAddr, de.DeviceEpoint); if (device != null) { if (device.Type == DeviceType.DimmableLight) -- Gitblit v1.8.0