From 3aa397ab145382935492b11c1f18c9634e69910b Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期四, 10 十二月 2020 16:45:00 +0800 Subject: [PATCH] 请合并,门锁和晾衣架第一版代码 --- ZigbeeApp/Shared/Phone/UserCenter/DoorLock/DoorLockCommonInfo.cs | 16 ++++++++++++++-- 1 files changed, 14 insertions(+), 2 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/DoorLockCommonInfo.cs b/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/DoorLockCommonInfo.cs old mode 100755 new mode 100644 index 09c372e..327cf96 --- a/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/DoorLockCommonInfo.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/DoorLockCommonInfo.cs @@ -148,7 +148,13 @@ var listDevice = new List<CommonDevice> { }; listDevice.Add(doorLock); var devTemp = Common.LocalDevice.Current.GetMyDeviceEnumInfo(listDevice); - if (devTemp.ConcreteType == DeviceConcreteType.IntelligentLocks_Sone) + if (devTemp.ConcreteType == DeviceConcreteType.IntelligentLocks_Sone + || devTemp.ConcreteType == DeviceConcreteType.IntelligentLocks_AT1TF + || devTemp.ConcreteType == DeviceConcreteType.IntelligentLocks_AT1F + || devTemp.ConcreteType == DeviceConcreteType.IntelligentLocks_AT1T + || devTemp.ConcreteType == DeviceConcreteType.IntelligentLocks_HAT1B + || devTemp.ConcreteType == DeviceConcreteType.IntelligentLocks_HAT1T + || devTemp.ConcreteType == DeviceConcreteType.IntelligentLocks_ATFT) { return true; } @@ -525,7 +531,13 @@ var listDevice = new List<CommonDevice> { }; listDevice.Add(doorLock); var devTemp = Common.LocalDevice.Current.GetMyDeviceEnumInfo(listDevice); - if (devTemp.ConcreteType == DeviceConcreteType.IntelligentLocks_Sone) + if (devTemp.ConcreteType == DeviceConcreteType.IntelligentLocks_Sone + || devTemp.ConcreteType == DeviceConcreteType.IntelligentLocks_AT1TF + || devTemp.ConcreteType == DeviceConcreteType.IntelligentLocks_AT1F + || devTemp.ConcreteType == DeviceConcreteType.IntelligentLocks_AT1T + || devTemp.ConcreteType == DeviceConcreteType.IntelligentLocks_HAT1B + || devTemp.ConcreteType == DeviceConcreteType.IntelligentLocks_HAT1T + || devTemp.ConcreteType == DeviceConcreteType.IntelligentLocks_ATFT) { return true; } -- Gitblit v1.8.0