Skip to content

ThinkingHome.DeviceModel ​

ThinkingHome.DeviceModel.Properties ​

ContactProperty Class ​

Контакт датчика открытия (bool, семантика Matter: true — контакт замкнут, т.е. закрыто). Matter cluster Boolean State (0x0045). Instance — "contact".

csharp
public sealed record ContactProperty : ThinkingHome.DeviceModel.Properties.Property, System.IEquatable<ThinkingHome.DeviceModel.Properties.ContactProperty>

Inheritance System.Object → Property → ContactProperty

Implements System.IEquatable<ContactProperty>

Fields ​

ContactProperty.InstanceName Field ​

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

csharp
public const string InstanceName = "contact";

Field Value ​

System.String

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