Click or drag to resize

RemoteBACnetDevice Class

Remote BACnet Device class. This class implements the methods to add/remove the remote objects. Also defines and maintains the local collections to keep the details of the added remote objects. Implements the properties to get the number of objects added for each remote object type.

This class will trigger BACnetDeviceEvent to handle remote device join change events and BACnetObjectChange to handle remote object join change events.

Inheritance Hierarchy
SystemObject
  Crestron.SimplSharpProBACnetDevice
    Crestron.SimplSharpProRemoteBACnetDevice

Namespace: Crestron.SimplSharpPro
Assembly: SimplSharpPro (in SimplSharpPro.dll) Version: 2.21.121
Syntax
C#
public sealed class RemoteBACnetDevice : BACnetDevice, 
	IDisposable

The RemoteBACnetDevice type exposes the following members.

Properties
 NameDescription
Public propertyApplicationSoftwareVersionFeedback Property to report the name/version of the application program.

This property will trigger BACnetObjectChange event with ApplicationSoftwareVersionFeedbackEventId.

Public propertyBACnetAnalogInputObjects Collection of BACnet Remote Analog Input objects of the device.
Public propertyBACnetAnalogOutputObjects Collection of BACnet Remote Analog Output objects of the device.
Public propertyBACnetAnalogValueObjects Collection of BACnet Remote Analog Value objects of the device.
Public propertyBACnetBinaryInputObjects Collection of BACnet Remote Binary Input objects of the device.
Public propertyBACnetBinaryOutputObjects Collection of BACnet Remote Binary Output objects of the device.
Public propertyBACnetBinaryValueObjects Collection of BACnet Remote Binary Value objects of the device.
Public propertyBACnetMultiStateInputObjects Collection of BACnet Remote MultiState Input objects of the device.
Public propertyBACnetMultiStateOutputObjects Collection of BACnet Remote MultiState Output objects of the device.
Public propertyBACnetMultiStateValueObjects Collection of BACnet Remote MultiState Value objects of the device.
Public propertyDeviceType Type of the BACnet device.
(Inherited from BACnetDevice)
Public propertyDisposed Property to indicate if the Device has been disposed.
Public propertyFirmwareRevisionFeedback Property to report the currently loaded firmware revision.

This property will trigger BACnetObjectChange event with FirmwareRevisionFeedbackEventId.

Public propertyId A 22-bit decimal number that serves as an address of the device on the network and allows BACnet to unambiguously access it. The Id must be unique within the complete BACnet network.
(Inherited from BACnetDevice)
Public propertyModelNameFeedback Property to report the specified model name of the device.

This property will trigger BACnetObjectChange event with ModelNameFeedbackEventId.

Public propertyNameFeedback Property to report unique string, consisting of printable characters, that describes the Device object among all Device objects within a BACnet network.

This property will trigger BACnetObjectChange event with ObjectNameFeedbackEventId.

Public propertyOnlineFeedback Property to indicate if this BACnet Device is on-line (up and running).

This property will trigger BACnetObjectChange event with OnlineStatusChangedEventId.

Public propertyParent The parent that this BACnetDevice object was added to.
(Inherited from BACnetDevice)
Public propertyPortNumber The UDP port number, set by the programmer, to be used by the BACnet device/protocol for directed messages and broadcasts. Currently this is same as the Host device port number always.
Public propertyPriority The BACnet priority level at which the device will communicate. There are 16 levels of priority, where level 1 denotes the highest priority and level 16 - the lowest.
Public propertyUserSpecifiedObject Can be assigned anything that user wants.
(Inherited from BACnetDevice)
Public propertyVendorNameFeedback Property to report a text string that contains the name of the device vendor.

This property will trigger BACnetObjectChange event with VendorNameFeedbackEventId.

Public propertyWritePriority Write priority of the object.
(Inherited from BACnetDevice)
Top
Methods
 NameDescription
Public methodAddObject(BACnetObject) Adds the specified remote object to the corresponding remote objects collection. This function also validates the object parameters passed. Success will be returned if the object is added successfully, otherwise an exception is thrown that tells what kind of error found. If response is not received from the BACnet stack for add request before the timeout occurs, then a remove request will be sent to the BACnet stack to remove the object from the stack and also the object will be deleted from the local collection.
(Overrides BACnetDeviceAddObject(BACnetObject))
Public methodAddObject(BACnetObject, Int32) Adds the specified remote object to the remote objects collection and with user settable timeout option. This function also validates the object parameters passed. Success will be returned if the object is added successfully, otherwise an exception is thrown that tells what kind of error found.
(Overrides BACnetDeviceAddObject(BACnetObject, Int32))
Public methodDispose Clean up of resources.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetNumberOfObjects Method to get the number of objects added to this BACnet device.
(Inherited from BACnetDevice)
Public methodGetNumberOfObjects(eBACnetObjectType) Method to get the number of objects added to this BACnet device of the specified object type.
(Inherited from BACnetDevice)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodRemoveAllObjects Removes all the remote objects from all the remote objects collections.

Success will be returned if all the objects are removed successfully, otherwise failure is returned and the corresponding error is logged.


(Overrides BACnetDeviceRemoveAllObjects)
Public methodRemoveAllObjects(eBACnetObjectType) Removes all the remote objects of the specified type from the corresponding remote objects collections.

Success will be returned if all the objects of the specified type are removed successfully, otherwise failure is returned and the corresponding error is logged.


(Overrides BACnetDeviceRemoveAllObjects(eBACnetObjectType))
Public methodRemoveAllObjects(Int32) Removes all the remote objects from all the remote objects collections, with user settable timeout option.

Success will be returned if all the objects are removed successfully, otherwise failure is returned and the corresponding error is logged.


(Overrides BACnetDeviceRemoveAllObjects(Int32))
Public methodRemoveAllObjects(eBACnetObjectType, Int32) Removes all the remote objects of the specified type from the corresponding remote objects collections, with user settable timeout option. Success will be returned if all the objects of the specified type are removed successfully, otherwise failure is returned and the corresponding error is logged.
(Overrides BACnetDeviceRemoveAllObjects(eBACnetObjectType, Int32))
Public methodRemoveObject(BACnetObject) Removes the specified remote object from the corresponding remote objects collection. This function also validates the object parameters passed. Success will be returned if the object is removed successfully, otherwise an exception is thrown that tells what kind of error found.
(Overrides BACnetDeviceRemoveObject(BACnetObject))
Public methodRemoveObject(BACnetObject, Int32) Removes the specified remote object from the corresponding remote objects collection, with user settable timeout option.

This function also validates the object parameters passed.

Success will be returned if the object is removed successfully, otherwise an exception is thrown that tells what kind of error found.


(Overrides BACnetDeviceRemoveObject(BACnetObject, Int32))
Public methodToString String representation of the RemoteBACnetDevice.
(Overrides ObjectToString)
Top
Events
 NameDescription
Public eventBACnetBaseEvent Event triggered when a feedback has changed for this BACnetDevice.
(Inherited from BACnetDevice)
Public eventBACnetDeviceEvent Event triggered when a feedback has changed for this RemoteBACnetDevice.
Top

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also