C# 클래스 HomeAutomation.Core.DeviceTypeRegistry

Device networks should register here the device types they handle.
파일 보기 프로젝트 열기: moszinet/HomeAutomation

공개 메소드들

메소드 설명
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