Skip to content

ThinkingHome.DeviceModel ​

ThinkingHome.DeviceModel.State ​

ColorRgbState Class ​

Текущий цвет в модели RGB, 0xRRGGBB (instance "color").

csharp
public sealed record ColorRgbState : ThinkingHome.DeviceModel.State.StateValue, System.IEquatable<ThinkingHome.DeviceModel.State.ColorRgbState>

Inheritance System.Object → StateValue → ColorRgbState

Implements System.IEquatable<ColorRgbState>

Properties ​

ColorRgbState.Value Property ​

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

csharp
public int Value { get; init; }

Property Value ​

System.Int32

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