Skip to content

ThinkingHome.DeviceModel

ThinkingHome.DeviceModel.Commands

OpenCommand Class

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

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

Inheritance System.ObjectDeviceCommand → OpenCommand

Implements System.IEquatable<OpenCommand>

Properties

OpenCommand.Value Property

Целевая степень открытия, % (0 — закрыто, 100 — открыто).

csharp
public int Value { get; init; }

Property Value

System.Int32

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