Skip to content

ThinkingHome.Alice

ThinkingHome.Alice.Model.Properties

PropertyInfoBase Class

Базовое описание свойства (сенсора) в discovery; конкретный тип выбирается по дискриминатору "type" (devices.properties.*).

csharp
public class PropertyInfoBase

Inheritance System.Object → PropertyInfoBase

Derived
PropertyInfo<TParams>

Properties

PropertyInfoBase.Reportable Property

Сообщает ли устройство об изменении значения через Notification API.

csharp
public bool Reportable { get; set; }

Property Value

System.Boolean

PropertyInfoBase.Retrievable Property

Доступно ли чтение значения свойства (запросы query).

csharp
public bool Retrievable { get; set; }

Property Value

System.Boolean

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