BACnetRegister(UInt32, String) Method |
Register this BACnet slot with the system. Default port number 47808 will be used for the host device.
BACnet stack will be intimated about all the objects or devices that were already added to the local device/object
collections so that those objects/devices will be added to the BACnet stack also.
Namespace: Crestron.SimplSharpProAssembly: SimplSharpPro (in SimplSharpPro.dll) Version: 2.21.121
Syntaxpublic eDeviceRegistrationUnRegistrationResponse Register(
uint paramDeviceId,
string paramDeviceName
)
Parameters
- paramDeviceId UInt32
- Host Device ID.
- paramDeviceName String
- Host Device Name.
Return Value
eDeviceRegistrationUnRegistrationResponseAn enum of type eDeviceRegistrationUnRegistrationResponse. An exception is thrown if an error is found while adding the host device to the BACnet stack. Will log an error if an error is found while adding a remote device, a host object or a remote object to the BACnet stack.
Exceptions
RemarksThis method will block pending a response. It is recommended to not invoke this method from within a event handler. Please launch a timer/thread to call this method.
Also – this method not be called from the control system constructor.
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also