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/Common/Controls/CompoundControls/SafetySensorStatuControl.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/SafetySensorStatuControl.cs b/ZigbeeApp/Shared/Phone/Common/Controls/CompoundControls/SafetySensorStatuControl.cs similarity index 95% rename from ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/SafetySensorStatuControl.cs rename to ZigbeeApp/Shared/Phone/Common/Controls/CompoundControls/SafetySensorStatuControl.cs index d7e93fe..9248f9f 100644 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/SafetySensorStatuControl.cs +++ b/ZigbeeApp/Shared/Phone/Common/Controls/CompoundControls/SafetySensorStatuControl.cs @@ -3,7 +3,7 @@ using System.Text; using ZigBee.Device; -namespace Shared.Phone.UserCenter +namespace Shared.Phone { /// <summary> /// 瀹夐槻浼犳劅鍣ㄧ姸鎬佺殑鑷畾涔夋帶浠� @@ -65,7 +65,7 @@ btnStatu.TextID = R.MyInternationalizationString.uStatu; this.AddChidren(btnStatu); //绾� - var btnLine = new NormalViewControl(Application.GetRealWidth(876), ControlCommonResourse.BottomLineHeight, false); + var btnLine = new NormalViewControl(Application.GetRealWidth(876), HdlControlResourse.BottomLineHeight, false); btnLine.BackgroundColor = UserCenterColor.Current.ButtomLine; btnLine.X = Application.GetRealWidth(46); btnLine.Y = Application.GetRealHeight(104); @@ -74,14 +74,14 @@ var btnDeviceName = new NormalViewControl(400, 58, true); btnDeviceName.X = Application.GetRealWidth(46); btnDeviceName.Y = Application.GetRealHeight(141); - btnDeviceName.Text = Common.LocalDevice.Current.GetDeviceEpointName(device); + btnDeviceName.Text = HdlDeviceCommonLogic.Current.GetDeviceEpointName(device); this.AddChidren(btnDeviceName); //鍦ㄧ嚎鐘舵�� btnOnline = new NormalViewControl(200, 58, true); btnOnline.X = this.Width - Application.GetRealWidth(200 + 46); btnOnline.Y = btnDeviceName.Y; btnOnline.TextAlignment = TextAlignment.CenterRight; - this.SetOnlineStatu(Common.LocalDevice.Current.CheckDeviceIsOnline(device)); + this.SetOnlineStatu(HdlDeviceCommonLogic.Current.CheckDeviceIsOnline(device)); this.AddChidren(btnOnline); } -- Gitblit v1.8.0