old mode 100755
new mode 100644
| | |
| | | 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; |
| | | } |
| | |
| | | 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; |
| | | } |