| | |
| | | || this.device.Type == DeviceType.DimmableLight)
|
| | | {
|
| | | //灯光类固定为 灯光
|
| | | strType = Language.StringByID(R.MyInternationalizationString.uLight);
|
| | | var infoContent = Common.LocalDevice.Current.GetDeviceModelIdNameInfo("A418");
|
| | | strType = infoContent != null ? infoContent.A官方名字 : string.Empty;
|
| | | nowSelectNo = 2;
|
| | | }
|
| | | else if (this.device.Type == DeviceType.WindowCoveringDevice)
|
| | | {
|
| | | //窗帘固定为 遮阳
|
| | | strType = Language.StringByID(R.MyInternationalizationString.uDeviceBelongId100);
|
| | | var infoContent = Common.LocalDevice.Current.GetDeviceModelIdNameInfo("A400");
|
| | | strType = infoContent != null ? infoContent.A官方名字 : string.Empty;
|
| | | nowSelectNo = -1;
|
| | | }
|
| | | else if (this.device.Type == DeviceType.Thermostat)
|
| | | {
|
| | | //空调固定为 空调
|
| | | strType = Language.StringByID(R.MyInternationalizationString.uDeviceBelongId3600);
|
| | | var infoContent = Common.LocalDevice.Current.GetDeviceModelIdNameInfo("A406");
|
| | | strType = infoContent != null ? infoContent.A官方名字 : string.Empty;
|
| | | nowSelectNo = -1;
|
| | | }
|
| | | else if (this.device.Type == DeviceType.DoorLock)
|
| | | {
|
| | | //门锁固定为 门锁
|
| | | strType = Language.StringByID(R.MyInternationalizationString.uDeviceBelongId2800);
|
| | | var infoContent = Common.LocalDevice.Current.GetDeviceModelIdNameInfo("A405");
|
| | | strType = infoContent != null ? infoContent.A官方名字 : string.Empty;
|
| | | nowSelectNo = -1;
|
| | | }
|
| | | else if (this.device.Type == DeviceType.FreshAir)
|