old mode 100755
new mode 100644
| | |
| | | List<string> devicetypelist = new List<string>(); |
| | | devicetypelist.Clear(); |
| | | |
| | | var lightjosn = devicelist.Find((device) => device.Type == DeviceType.DimmableLight || device.Type == DeviceType.OnOffOutput); |
| | | var lightjosn = devicelist.Find((device) => device.Type == DeviceType.DimmableLight || device.Type == DeviceType.OnOffOutput || device.Type == DeviceType.ColorDimmableLight); |
| | | if (lightjosn != null) |
| | | { |
| | | devicetypelist.Add(Language.StringByID(MyInternationalizationString.Lights)); |
| | |
| | | { |
| | | DeviceTypeList.Add(DeviceType.OnOffOutput);//0x0101十进制257 |
| | | DeviceTypeList.Add(DeviceType.DimmableLight); |
| | | DeviceTypeList.Add(DeviceType.ColorDimmableLight); |
| | | } |
| | | else if (devicetype == Language.StringByID(MyInternationalizationString.Curtains)) |
| | | { |
| | |
| | | deviceTypeList.Add(DeviceType.WindowCoveringDevice); |
| | | deviceTypeList.Add(DeviceType.Thermostat); |
| | | deviceTypeList.Add(DeviceType.AirSwitch); |
| | | deviceTypeList.Add(DeviceType.ColorTemperatureLight); |
| | | ///门锁特殊 |
| | | // deviceTypeList.Add(DeviceType.DoorLock); |
| | | } |