C# Class HomeAutomation.Core.DeviceTypeRegistry

Device networks should register here the device types they handle.
Mostrar archivo Open project: moszinet/HomeAutomation

Public Methods

Method Description
GetDeviceType ( IDeviceNetwork deviceNetwork, int deviceTypeId ) : Type

Returns the device type by it's typeId.

RegisterDeviceType ( DeviceTypeDescription aType ) : void

Registers the given device type.

Method Details

GetDeviceType() public method

Returns the device type by it's typeId.
public GetDeviceType ( IDeviceNetwork deviceNetwork, int deviceTypeId ) : Type
deviceNetwork IDeviceNetwork
deviceTypeId int
return System.Type

RegisterDeviceType() public method

Registers the given device type.
public RegisterDeviceType ( DeviceTypeDescription aType ) : void
aType DeviceTypeDescription
return void