Skip to content

ThinkingHome.DeviceModel

ThinkingHome.DeviceModel.Commands

BrightnessCommand Class

Установить яркость 0–100 % (instance "brightness").

csharp
public sealed record BrightnessCommand : ThinkingHome.DeviceModel.Commands.DeviceCommand, System.IEquatable<ThinkingHome.DeviceModel.Commands.BrightnessCommand>

Inheritance System.ObjectDeviceCommand → BrightnessCommand

Implements System.IEquatable<BrightnessCommand>

Properties

BrightnessCommand.Value Property

Целевая яркость, % (0–100).

csharp
public int Value { get; init; }

Property Value

System.Int32

Опубликовано под лицензией MIT