| | |
| | | case FunctionType.Dimmer: |
| | | case FunctionType.RGB: |
| | | case FunctionType.RGBW: |
| | | case FunctionType.CCT: |
| | | case FunctionType.ColorTemperature: |
| | | { |
| | | //2表示(开,关)功能 |
| | | SwitchBrightnessView(fLayout, device, index, edit, 2); |
| | |
| | | SwitchView(fLayout, device, index, edit, 3); |
| | | } |
| | | break; |
| | | case FunctionType.TrietexCurtain: |
| | | case FunctionType.RollerCurtain: |
| | | case FunctionType.MotorCurtain: |
| | | case FunctionType.RollingShutter: |
| | | { |
| | | //3表示(开,关,暂停)功能 |
| | | SwitchBrightnessView(fLayout, device, index, edit, 3); |
| | |
| | | ///亮度 |
| | | LogicView.FunTypeView brightnessView = new LogicView.FunTypeView(); |
| | | brightnessView.frameLayout.Y = lightSwitchView.frameLayout.Bottom; |
| | | if (device.functionType == FunctionType.TrietexCurtain || device.functionType == FunctionType.RollerCurtain) |
| | | if (device.functionType == FunctionType.MotorCurtain || device.functionType == FunctionType.RollingShutter) |
| | | { |
| | | |
| | | brightnessView.btnText.TextID = StringId.percentum; |
| | |
| | | case FunctionType.Dimmer: |
| | | case FunctionType.RGB: |
| | | case FunctionType.RGBW: |
| | | case FunctionType.CCT: |
| | | case FunctionType.ColorTemperature: |
| | | { |
| | | foreach (var dic in dicList) |
| | | { |
| | |
| | | } |
| | | } |
| | | break; |
| | | case FunctionType.TrietexCurtain: |
| | | case FunctionType.RollerCurtain: |
| | | case FunctionType.MotorCurtain: |
| | | case FunctionType.RollingShutter: |
| | | { |
| | | |
| | | foreach (var dic in dicList) |