From 25429f085093d89d543a0b90e30d0d62d1b7dac9 Mon Sep 17 00:00:00 2001
From: hxb <hxb@hdlchina.com.cn>
Date: 星期二, 30 八月 2022 09:37:38 +0800
Subject: [PATCH] 合并了IOS的代码
---
ZigbeeApp/Shared/Phone/UserCenter/Safety/AlarmTargetAddDeviceForm.cs | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Safety/AlarmTargetAddDeviceForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Safety/AlarmTargetAddDeviceForm.cs
index 5dd21d0..ecdd197 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Safety/AlarmTargetAddDeviceForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Safety/AlarmTargetAddDeviceForm.cs
@@ -110,16 +110,16 @@
/// <param name="addLine"></param>
private void AddRowLayout(CommonDevice device, bool addLine)
{
- string mainKeys = HdlDeviceCommonLogic.Current.GetDeviceMainKeys(device);
+ string mainKeys = Common.LocalDevice.Current.GetDeviceMainKeys(device);
var rowContr = new FrameRowControl(listView.rowSpace / 2);
listView.AddChidren(rowContr);
//鍥炬爣
var btnIcon = rowContr.AddLeftIcon(81);
- HdlDeviceCommonLogic.Current.SetDeviceIconToControl(btnIcon, device);
+ Common.LocalDevice.Current.SetDeviceIconToControl(btnIcon, device);
//璁惧鍚�
- var btnName = rowContr.AddLeftCaption(HdlDeviceCommonLogic.Current.GetDeviceEpointName(device), 700);
+ var btnName = rowContr.AddLeftCaption(Common.LocalDevice.Current.GetDeviceEpointName(device), 700);
btnName.TextSize = 15;
//鍙崇澶�
rowContr.AddRightArrow();
@@ -184,7 +184,7 @@
/// <param name="listInfo"></param>
private void AddAlarmSettionDataToMemory(CommonDevice device, List<Safeguard.TaskListInfo> listInfo)
{
- string mainKeys = HdlDeviceCommonLogic.Current.GetDeviceMainKeys(device);
+ string mainKeys = Common.LocalDevice.Current.GetDeviceMainKeys(device);
if (listInfo == null || listInfo.Count == 0)
{
//鎸囧畾涓烘棤鍔ㄤ綔妯″紡
--
Gitblit v1.8.0