From e90209beae6a4e822cecb18e6889f8bda23f630e Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期一, 14 十二月 2020 11:16:06 +0800
Subject: [PATCH] 合并了晾衣架(非新云端)
---
ZigbeeApp/Shared/Phone/UserCenter/Safety/GarrisonAreaExistSensorForm.cs | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Safety/GarrisonAreaExistSensorForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Safety/GarrisonAreaExistSensorForm.cs
index cb5c2e3..1018198 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Safety/GarrisonAreaExistSensorForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Safety/GarrisonAreaExistSensorForm.cs
@@ -99,7 +99,7 @@
/// <param name="addLine">鏄惁娣诲姞搴曠嚎</param>
private void AddRowLayout(Safeguard.ZoneDeviceListData sensorInfo, bool addLine)
{
- CommonDevice device = HdlDeviceCommonLogic.Current.GetDevice(sensorInfo.MacAddr, sensorInfo.Epoint);
+ CommonDevice device = Common.LocalDevice.Current.GetDevice(sensorInfo.MacAddr, sensorInfo.Epoint);
if (device == null)
{
return;
@@ -120,9 +120,9 @@
//鏃佽矾璁剧疆
var btnBypass = new NormalViewControl(Application.GetRealWidth(184), rowLayout.Height, false);
- btnBypass.TextID = R.MyInternationalizationString.uBypass;
- btnBypass.BackgroundColor = 0xff4a4a4a;
- btnBypass.TextColor = UserCenterColor.Current.TextColor3;
+ btnBypass.TextID = R.MyInternationalizationString.uBypass;
+ btnBypass.BackgroundColor = 0xff4a4a4a;
+ btnBypass.TextColor = UserCenterColor.Current.TextColor3;
btnBypass.TextAlignment = TextAlignment.Center;
btnBypass.TextSize = 12;
if (sensorInfo.IsBypass == 1)
@@ -141,9 +141,9 @@
//鍒犻櫎
var btnDelete = new NormalViewControl(Application.GetRealWidth(184), rowLayout.Height, false);
- btnDelete.TextID = R.MyInternationalizationString.uDelete;
- btnDelete.BackgroundColor = 0xfff75858;
- btnDelete.TextColor = UserCenterColor.Current.TextColor3;
+ btnDelete.TextID = R.MyInternationalizationString.uDelete;
+ btnDelete.BackgroundColor = 0xfff75858;
+ btnDelete.TextColor = UserCenterColor.Current.TextColor3;
btnDelete.TextAlignment = TextAlignment.Center;
btnDelete.TextSize = 12;
rowLayout.AddRightView(btnDelete);
@@ -257,7 +257,7 @@
private List<CommonDevice> GetCanAddSensorDevice()
{
List<CommonDevice> listNew = new List<CommonDevice>();
- List<CommonDevice> listDevices = HdlDeviceCommonLogic.Current.listAllDevice;
+ List<CommonDevice> listDevices = Common.LocalDevice.Current.listAllDevice;
foreach (CommonDevice device in listDevices)
{
//鍙浼犳劅鍣�
--
Gitblit v1.8.0