C# Класс HomeAutomation.Core.DeviceTypeRegistry

Device networks should register here the device types they handle.
Показать файл Открыть проект

Открытые методы

Метод Описание
GetDeviceType ( IDeviceNetwork deviceNetwork, int deviceTypeId ) : Type

Returns the device type by it's typeId.

RegisterDeviceType ( DeviceTypeDescription aType ) : void

Registers the given device type.

Описание методов

GetDeviceType() публичный Метод

Returns the device type by it's typeId.
public GetDeviceType ( IDeviceNetwork deviceNetwork, int deviceTypeId ) : Type
deviceNetwork IDeviceNetwork
deviceTypeId int
Результат System.Type

RegisterDeviceType() публичный Метод

Registers the given device type.
public RegisterDeviceType ( DeviceTypeDescription aType ) : void
aType DeviceTypeDescription
Результат void