Skip to content

ThinkingHome.DeviceModel

ThinkingHome.DeviceModel.Capabilities

FanSpeedCapability Class

Скорость вентиляции (выбор из набора). Matter cluster Fan Control (0x0202). Instance — "fan_speed".

csharp
public sealed record FanSpeedCapability : ThinkingHome.DeviceModel.Capabilities.Capability, System.IEquatable<ThinkingHome.DeviceModel.Capabilities.FanSpeedCapability>

Inheritance System.ObjectCapability → FanSpeedCapability

Implements System.IEquatable<FanSpeedCapability>

Fields

FanSpeedCapability.InstanceName Field

Канонический instance.

csharp
public const string InstanceName = "fan_speed";

Field Value

System.String

Properties

FanSpeedCapability.Speeds Property

Поддерживаемые устройством скорости.

csharp
public System.Collections.Generic.IReadOnlyList<ThinkingHome.DeviceModel.FanSpeed> Speeds { get; init; }

Property Value

System.Collections.Generic.IReadOnlyList<FanSpeed>

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