ThinkingHome.DeviceModel
ThinkingHome.DeviceModel.Commands
OnOffCommand Class
Включить/выключить (instance "on_off").
csharp
public sealed record OnOffCommand : ThinkingHome.DeviceModel.Commands.DeviceCommand, System.IEquatable<ThinkingHome.DeviceModel.Commands.OnOffCommand>Inheritance System.Object → DeviceCommand → OnOffCommand
Implements System.IEquatable<OnOffCommand>
Properties
OnOffCommand.Value Property
Целевое состояние: true — включить.
csharp
public bool Value { get; init; }