| | |
| | | { |
| | | btnIcon.UnSelectedImagePath =UI2.FuntionControlView.VideoDoorLock.CommonMethod.Current.GetVideoDoorLockIcon(UI2.FuntionControlView.VideoDoorLock.CommonMethod.Comerom.function); |
| | | } |
| | | else if (function.spk == SPK.AvZkAiks) |
| | | { |
| | | //隐藏开关按钮 |
| | | btnIcon.UnSelectedImagePath = "AksIcon/aks.png"; |
| | | } |
| | | else if(function.spk == SPK.GroupControl) { } |
| | | else if (function.spk == SPK.HvacCac) |
| | | { |
| | |
| | | { |
| | | ClothesHangerFragment(); |
| | | } |
| | | else if(function.spk == SPK.IpCam_Imou) |
| | | else if(function.spk == SPK.IpCam_Imou || function.spk == SPK.ElectricEnergy || function.spk ==SPK.AirSwitch || function.spk == SPK.AirSwitchP3) |
| | | { |
| | | |
| | | } |
| | |
| | | /// 开关按钮 |
| | | /// </summary> |
| | | Button btnSwitch; |
| | | if (function.spk == SPK.LightRGB || function.spk == SPK.LightDimming) |
| | | if (function.spk == SPK.LightRGBW || function.spk == SPK.LightCCT || function.spk == SPK.LightRGB || function.spk == SPK.LightDimming) |
| | | { |
| | | btnSwitch = new Button() |
| | | { |
| | |
| | | bodyDiv.AddChidren(btnCollectionIcon); |
| | | } |
| | | |
| | | if (!function.online) |
| | | if (!function.isOnline()) |
| | | { |
| | | bodyDiv.BackgroundColor = CSS_Color.PromptingColor2; |
| | | btnOffline = new Button() |
| | |
| | | case SPK.LightDimming: |
| | | case SPK.LightRGBW: |
| | | case SPK.LightRGB: |
| | | case SPK.LightCCT: |
| | | #region Dimmer |
| | | var btnDimmerMinValues = new Button() |
| | | { |