C# 클래스 BACnet.Client.Descriptors.DescriptorRegistrar

Registrar for various types of descriptors
파일 보기 프로젝트 열기: LorenVS/bacstack 1 사용 예제들

공개 메소드들

메소드 설명
Clone ( ) : DescriptorRegistrar

Creates an identical copy of this registrar

CreateDescriptor ( ushort vendorId, uint deviceInstance, ObjectId objectIdentifier ) : ObjectInfo

Creates a new descriptor for an object

DescriptorRegistrar ( ) : System

Constructs a new DescriptorRegistrar instance

Register ( ushort objectType, DescriptorFactory factory ) : void

Registers a new default descriptor type with the registrar

Register ( ushort objectType, ushort vendorId, DescriptorFactory factory ) : void

Registers a new descriptor type with the registrar

비공개 메소드들

메소드 설명
_getKey ( ushort vendorId, ushort objectType ) : uint

Retrieves a registration key

_getRegistration ( ushort vendorId, ushort objectType ) : Registration

Retrieves a suitable registration for an object

_register ( Registration registration ) : void

Registers a new registration instance

메소드 상세

Clone() 공개 메소드

Creates an identical copy of this registrar
public Clone ( ) : DescriptorRegistrar
리턴 DescriptorRegistrar

CreateDescriptor() 공개 메소드

Creates a new descriptor for an object
public CreateDescriptor ( ushort vendorId, uint deviceInstance, ObjectId objectIdentifier ) : ObjectInfo
vendorId ushort The vendor id of the object
deviceInstance uint
objectIdentifier ObjectId
리턴 ObjectInfo

DescriptorRegistrar() 공개 메소드

Constructs a new DescriptorRegistrar instance
public DescriptorRegistrar ( ) : System
리턴 System

Register() 공개 메소드

Registers a new default descriptor type with the registrar
public Register ( ushort objectType, DescriptorFactory factory ) : void
objectType ushort The object type of the registration
factory DescriptorFactory The factory function for the descriptors
리턴 void

Register() 공개 메소드

Registers a new descriptor type with the registrar
public Register ( ushort objectType, ushort vendorId, DescriptorFactory factory ) : void
objectType ushort The object type of the registration
vendorId ushort The vendor id of the registration
factory DescriptorFactory The factory function for the descriptors
리턴 void