C# Class HomeAutomation.Core.DeviceTypeRegistry

Device networks should register here the device types they handle.
Afficher le fichier Open project: moszinet/HomeAutomation

Méthodes publiques

Méthode 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 méthode

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

RegisterDeviceType() public méthode

Registers the given device type.
public RegisterDeviceType ( DeviceTypeDescription aType ) : void
aType DeviceTypeDescription
Résultat void