| | |
| | | { |
| | | btnIcon.UnSelectedImagePath = "FunctionIcon/DoorLock/DoorLock.png"; |
| | | } |
| | | else if (function.spk == SPK.VideoDoorLock) |
| | | { |
| | | btnIcon.UnSelectedImagePath =UI2.FuntionControlView.VideoDoorLock.CommonMethod.Current.GetVideoDoorLockIcon(Comerom.function); |
| | | } |
| | | else if (function.spk == SPK.AvZkAiks) |
| | | { |
| | | //隐藏开关按钮 |
| | |
| | | { |
| | | ClothesHangerFragment(); |
| | | } |
| | | else if(function.spk == SPK.ElectricEnergy || function.spk ==SPK.AirSwitch || function.spk == SPK.AirSwitchP3) |
| | | else if(function.spk == SPK.IpCam_Imou || function.spk == SPK.ElectricEnergy || function.spk ==SPK.AirSwitch || function.spk == SPK.AirSwitchP3) |
| | | { |
| | | |
| | | } |
| | |
| | | Text = function.name, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | | TextSize = CSS_FontSize.TextFontSize + OnAppConfig.Instance.FontAmplify, |
| | | }; |
| | | bodyDiv.AddChidren(btnName); |
| | | |
| | |
| | | Text = function.GetRoomListName(), |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = CSS_Color.PromptingColor1, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel + OnAppConfig.Instance.FontAmplify, |
| | | }; |
| | | bodyDiv.AddChidren(btnFromFloor); |
| | | |
| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | SelectedTextColor = CSS_Color.PromptingColor1, |
| | | TextColor = 0x00000000, |
| | | TextSize = CSS_FontSize.PromptFontSize_SecondaryLevel, |
| | | TextSize = CSS_FontSize.PromptFontSize_SecondaryLevel + OnAppConfig.Instance.FontAmplify, |
| | | Tag = function.spk + "_laststates_" + function.sid, |
| | | IsSelected = function.trait_on_off.curValue.ToString() == "on" |
| | | }; |