ThinkingHome.Alice
ThinkingHome.Alice.Model
Device Class
Описание устройства в ответе на discovery: тип, способности, свойства.
csharp
public class DeviceInheritance System.Object → Device
Properties
Device.Capabilities Property
Способности устройства — то, чем можно управлять.
csharp
public ThinkingHome.Alice.Model.Capabilities.CapabilityInfoBase[] Capabilities { get; set; }Property Value
Device.CustomData Property
Произвольные данные провайдера; Алиса возвращает их как есть в query/action-запросах.
csharp
public object CustomData { get; set; }Property Value
Device.Description Property
Описание устройства.
csharp
public string Description { get; set; }Property Value
Device.DeviceInfo Property
Сведения о производителе, модели и версиях устройства.
csharp
public ThinkingHome.Alice.Model.DeviceInfo DeviceInfo { get; set; }Property Value
Device.Id Property
Идентификатор устройства в терминах провайдера.
csharp
public string Id { get; set; }Property Value
Device.Name Property
Название устройства.
csharp
public string Name { get; set; }Property Value
Device.Properties Property
Свойства устройства — показания сенсоров и события (только чтение).
csharp
public ThinkingHome.Alice.Model.Properties.PropertyInfoBase[] Properties { get; set; }Property Value
Device.Room Property
Комната, в которой находится устройство.
csharp
public string Room { get; set; }Property Value
Device.Type Property
Тип устройства (devices.types.*).
csharp
public ThinkingHome.Alice.Model.DeviceType Type { get; set; }