Skip to content

ThinkingHome.DeviceModel ​

ThinkingHome.DeviceModel.Commands ​

ColorRgbCommand Class ​

Установить цвет в модели RGB, 0xRRGGBB (instance "color").

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

Inheritance System.Object → DeviceCommand → ColorRgbCommand

Implements System.IEquatable<ColorRgbCommand>

Properties ​

ColorRgbCommand.Value Property ​

Целевой цвет, упакованный RGB (0xRRGGBB).

csharp
public int Value { get; init; }

Property Value ​

System.Int32

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