C# Class System.IO.BACnet.BacnetClient

This can be both client and server
Inheritance: IDisposable
Afficher le fichier Open project: temcocontrols/T3000_Building_Automation_System Class Usage Examples

Méthodes publiques

Свойство Type Description
DEFAULT_HOP_COUNT byte
raw_buffer byte[]
raw_offset int

Méthodes publiques

Méthode Description
AddListElementRequest ( BacnetAddress adr, BacnetObjectId object_id, BacnetPropertyReference reference, IList value_list, byte invoke_id ) : bool
AlarmAcknowledgement ( BacnetAddress adr, BacnetObjectId objid, BacnetEventNotificationData eventState, String AckText, BacnetGenericTime evTimeStamp, BacnetGenericTime ackTimeStamp, byte invoke_id ) : bool
BacnetClient ( IBacnetTransport transport, int timeout = 1000, int retries = 3 ) : System
BacnetClient ( int port = 0xBAC0, int timeout = 1000, int retries = 3 ) : System
BacnetClient ( string port_name, int baud_rate, int timeout = 1000, int retries = 3 ) : System
BeginAddListElementRequest ( BacnetAddress adr, BacnetObjectId object_id, BacnetPropertyReference reference, IList value_list, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
BeginAlarmAcknowledgement ( BacnetAddress adr, BacnetObjectId objid, BacnetEventNotificationData eventState, String AckText, BacnetGenericTime evTimeStamp, BacnetGenericTime ackTimeStamp, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
BeginConfirmedNotify ( BacnetAddress adr, uint subscriberProcessIdentifier, uint initiatingDeviceIdentifier, BacnetObjectId monitoredObjectIdentifier, uint timeRemaining, IList values, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
BeginCreateObjectRequest ( BacnetAddress adr, BacnetObjectId object_id, ICollection value_list, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
BeginDeleteObjectRequest ( BacnetAddress adr, BacnetObjectId object_id, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
BeginDeviceCommunicationControlRequest ( BacnetAddress adr, uint timeDuration, uint enable_disable, string password, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
BeginGetAlarmSummaryOrEventRequest ( BacnetAddress adr, bool GetEvent, IList Alarms, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
BeginRawEncodedDecodedPropertyConfirmedRequest ( BacnetAddress adr, BacnetObjectId object_id, BacnetPropertyIds property_id, BacnetConfirmedServices service_id, byte InOutBuffer, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
BeginReadFileRequest ( BacnetAddress adr, BacnetObjectId object_id, int position, uint count, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
BeginReadPropertyMultipleRequest ( BacnetAddress adr, BacnetObjectId object_id, IList property_id_and_array_index, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
BeginReadPropertyMultipleRequest ( BacnetAddress adr, IList properties, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
BeginReadPropertyRequest ( BacnetAddress adr, BacnetObjectId object_id, BacnetPropertyIds property_id, bool wait_for_transmit, byte invoke_id, uint array_index = ASN1.BACNET_ARRAY_ALL ) : IAsyncResult
BeginReadRangeRequest ( BacnetAddress adr, BacnetObjectId object_id, uint idxBegin, uint Quantity, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
BeginReinitializeRequest ( BacnetAddress adr, BacnetReinitializedStates state, string password, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
BeginRemoveListElementRequest ( BacnetAddress adr, BacnetObjectId object_id, BacnetPropertyReference reference, IList value_list, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
BeginSubscribeCOVRequest ( BacnetAddress adr, BacnetObjectId object_id, uint subscribe_id, bool cancel, bool issue_confirmed_notifications, uint lifetime, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
BeginSubscribePropertyRequest ( BacnetAddress adr, BacnetObjectId object_id, BacnetPropertyReference monitored_property, uint subscribe_id, bool cancel, bool issue_confirmed_notifications, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
BeginWriteFileRequest ( BacnetAddress adr, BacnetObjectId object_id, int position, int count, byte file_buffer, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
BeginWritePropertyMultipleRequest ( BacnetAddress adr, BacnetObjectId object_id, ICollection value_list, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
BeginWritePropertyMultipleRequest ( BacnetAddress adr, ICollection value_list, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
BeginWritePropertyRequest ( BacnetAddress adr, BacnetObjectId object_id, BacnetPropertyIds property_id, IEnumerable value_list, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
CreateObjectRequest ( BacnetAddress adr, BacnetObjectId object_id, ICollection value_list, byte invoke_id ) : bool
CreateObjectResponse ( BacnetAddress adr, byte invoke_id, Segmentation segmentation, BacnetObjectId object_id ) : void
DeleteObjectRequest ( BacnetAddress adr, BacnetObjectId object_id, byte invoke_id ) : bool
DeviceCommunicationControlRequest ( BacnetAddress adr, uint timeDuration, uint enable_disable, string password, byte invoke_id ) : bool
Dispose ( ) : void
EndAddListElementRequest ( IAsyncResult result, Exception &ex ) : void
EndAlarmAcknowledgement ( IAsyncResult result, Exception &ex ) : void
EndConfirmedNotify ( IAsyncResult result, Exception &ex ) : void
EndCreateObjectRequest ( IAsyncResult result, Exception &ex ) : void
EndDeleteObjectRequest ( IAsyncResult result, Exception &ex ) : void
EndDeviceCommunicationControlRequest ( IAsyncResult result, Exception &ex ) : void
EndGetAlarmSummaryOrEventRequest ( IAsyncResult result, bool GetEvent, IList &Alarms, bool &MoreEvent, Exception &ex ) : void
EndRawEncodedDecodedPropertyConfirmedRequest ( IAsyncResult result, BacnetConfirmedServices service_id, byte &InOutBuffer, Exception &ex ) : void
EndReadFileRequest ( IAsyncResult result, uint &count, int &position, bool &end_of_file, byte &file_buffer, int &file_buffer_offset, Exception &ex ) : void
EndReadPropertyMultipleRequest ( IAsyncResult result, IList &values, Exception &ex ) : void
EndReadPropertyRequest ( IAsyncResult result, IList &value_list, Exception &ex ) : void
EndReadRangeRequest ( IAsyncResult result, byte &trendbuffer, uint &ItemCount, Exception &ex ) : void
EndReinitializeRequest ( IAsyncResult result, Exception &ex ) : void
EndSubscribeCOVRequest ( IAsyncResult result, Exception &ex ) : void
EndSubscribePropertyRequest ( IAsyncResult result, Exception &ex ) : void
EndWriteFileRequest ( IAsyncResult result, int &position, Exception &ex ) : void
EndWritePropertyRequest ( IAsyncResult result, Exception &ex ) : void
Equals ( object obj ) : bool
ErrorResponse ( BacnetAddress adr, BacnetConfirmedServices service, byte invoke_id, BacnetErrorClasses error_class, BacnetErrorCodes error_code ) : void
GetAlarmSummaryOrEventRequest ( BacnetAddress adr, bool GetEvent, IList &Alarms, byte invoke_id ) : bool
GetEncodeBuffer ( int start_offset ) : EncodeBuffer
GetFileBufferMaxSize ( ) : int
GetHashCode ( ) : int
GetMaxApdu ( ) : int
GetSegmentBuffer ( BacnetMaxSegments max_segments ) : Segmentation
GetSegmentsCount ( byte max_segments ) : BacnetMaxSegments
GetSegmentsCount ( BacnetMaxSegments max_segments ) : byte
Iam ( uint device_id, BacnetSegmentations segmentation ) : void
Notify ( BacnetAddress adr, uint subscriberProcessIdentifier, uint initiatingDeviceIdentifier, BacnetObjectId monitoredObjectIdentifier, uint timeRemaining, bool issueConfirmedNotifications, IList values ) : bool
RawEncodedDecodedPropertyConfirmedRequest ( BacnetAddress adr, BacnetObjectId object_id, BacnetPropertyIds property_id, BacnetConfirmedServices service_id, byte &InOutBuffer, byte invoke_id ) : bool
ReadFileRequest ( BacnetAddress adr, BacnetObjectId object_id, int &position, uint &count, bool &end_of_file, byte &file_buffer, int &file_buffer_offset, byte invoke_id ) : bool
ReadFileResponse ( BacnetAddress adr, byte invoke_id, Segmentation segmentation, int position, uint count, bool end_of_file, byte file_buffer ) : void
ReadPropertyMultipleRequest ( BacnetAddress adr, BacnetObjectId object_id, IList property_id_and_array_index, IList &values, byte invoke_id ) : bool
ReadPropertyMultipleRequest ( BacnetAddress adr, IList properties, IList &values, byte invoke_id ) : bool
ReadPropertyMultipleResponse ( BacnetAddress adr, byte invoke_id, Segmentation segmentation, IList values ) : void
ReadPropertyRequest ( BacnetAddress adr, BacnetObjectId object_id, BacnetPropertyIds property_id, IList &value_list, byte invoke_id, uint array_index = ASN1.BACNET_ARRAY_ALL ) : bool
ReadPropertyResponse ( BacnetAddress adr, byte invoke_id, Segmentation segmentation, BacnetObjectId object_id, BacnetPropertyReference property, IEnumerable value ) : void
ReadRangeRequest ( BacnetAddress adr, BacnetObjectId object_id, uint idxBegin, uint &Quantity, byte &Range, byte invoke_id ) : bool
ReadRangeResponse ( BacnetAddress adr, byte invoke_id, Segmentation segmentation, BacnetObjectId object_id, BacnetPropertyReference property, BacnetResultFlags status, uint item_count, byte application_data, BacnetReadRangeRequestTypes request_type, uint first_sequence_no ) : void
RegisterAsForeignDevice ( String BBMD_IP, short TTL, int Port = 0xbac0 ) : void
ReinitializeRequest ( BacnetAddress adr, BacnetReinitializedStates state, string password, byte invoke_id ) : bool
RemoteWhoIs ( String BBMD_IP, int Port = 0xbac0, int low_limit = -1, int high_limit = -1 ) : void
RemoveListElementRequest ( BacnetAddress adr, BacnetObjectId object_id, BacnetPropertyReference reference, IList value_list, byte invoke_id ) : bool
SegmentAckResponse ( BacnetAddress adr, bool negative, bool server, byte original_invoke_id, byte sequence_number, byte actual_window_size ) : void
SendConfirmedServiceReject ( BacnetAddress adr, byte invoke_id, BacnetRejectReasons reason ) : void
SendUnconfirmedEventNotification ( BacnetAddress adr, BacnetEventNotificationData eventData ) : void
SimpleAckResponse ( BacnetAddress adr, BacnetConfirmedServices service, byte invoke_id ) : void
Start ( ) : void
SubscribeCOVRequest ( BacnetAddress adr, BacnetObjectId object_id, uint subscribe_id, bool cancel, bool issue_confirmed_notifications, uint lifetime, byte invoke_id ) : bool
SubscribePropertyRequest ( BacnetAddress adr, BacnetObjectId object_id, BacnetPropertyReference monitored_property, uint subscribe_id, bool cancel, bool issue_confirmed_notifications, byte invoke_id ) : bool
SynchronizeTime ( BacnetAddress adr, System.DateTime dateTime, bool utc ) : void
ToString ( ) : string
WaitForAllTransmits ( int timeout ) : bool
WaitForSegmentAck ( BacnetAddress adr, byte invoke_id, Segmentation segmentation, int timeout ) : bool
WhoIs ( int low_limit = -1, int high_limit = -1, BacnetAddress _receiver = null ) : void
WriteFileRequest ( BacnetAddress adr, BacnetObjectId object_id, int &position, int count, byte file_buffer, byte invoke_id ) : bool
WriteFileResponse ( BacnetAddress adr, byte invoke_id, Segmentation segmentation, int position ) : void
WritePropertyMultipleRequest ( BacnetAddress adr, BacnetObjectId object_id, ICollection value_list, byte invoke_id ) : bool
WritePropertyMultipleRequest ( BacnetAddress adr, ICollection value_list, byte invoke_id ) : bool
WritePropertyRequest ( BacnetAddress adr, BacnetObjectId object_id, BacnetPropertyIds property_id, IEnumerable value_list, byte invoke_id ) : bool

Méthodes protégées

Méthode Description
ProcessAbort ( BacnetAddress adr, BacnetPduTypes type, byte invoke_id, byte reason, byte buffer, int offset, int length ) : void
ProcessComplexAck ( BacnetAddress adr, BacnetPduTypes type, BacnetConfirmedServices service, byte invoke_id, byte buffer, int offset, int length ) : void
ProcessConfirmedServiceRequest ( BacnetAddress adr, BacnetPduTypes type, BacnetConfirmedServices service, BacnetMaxSegments max_segments, BacnetMaxAdpu max_adpu, byte invoke_id, byte buffer, int offset, int length ) : void
ProcessError ( BacnetAddress adr, BacnetPduTypes type, BacnetConfirmedServices service, byte invoke_id, byte buffer, int offset, int length ) : void
ProcessSegmentAck ( BacnetAddress adr, BacnetPduTypes type, byte original_invoke_id, byte sequence_number, byte actual_window_size, byte buffer, int offset, int length ) : void
ProcessSimpleAck ( BacnetAddress adr, BacnetPduTypes type, BacnetConfirmedServices service, byte invoke_id, byte buffer, int offset, int length ) : void
ProcessUnconfirmedServiceRequest ( BacnetAddress adr, BacnetPduTypes type, BacnetUnconfirmedServices service, byte buffer, int offset, int length ) : void

Private Methods

Méthode Description
AssembleSegments ( ) : byte[]
EncodeSegment ( BacnetAddress adr, byte invoke_id, Segmentation segmentation, BacnetConfirmedServices service, EncodeBuffer &buffer, Action apdu_content_encode ) : bool
EncodeSegmentHeader ( BacnetAddress adr, byte invoke_id, Segmentation segmentation, BacnetConfirmedServices service, bool more_follows ) : EncodeBuffer
OnRecieve ( IBacnetTransport sender, byte buffer, int offset, int msg_length, BacnetAddress remote_address ) : void
PerformDefaultSegmentHandling ( BacnetClient sender, BacnetAddress adr, BacnetPduTypes type, BacnetConfirmedServices service, byte invoke_id, BacnetMaxSegments max_segments, BacnetMaxAdpu max_adpu, byte sequence_number, bool first, bool more_follows, byte buffer, int offset, int length ) : void

This is a simple handling that stores all segments in memory and assembles them when done

ProcessApdu ( BacnetAddress adr, BacnetPduTypes type, byte buffer, int offset, int length ) : void
ProcessSegment ( BacnetAddress adr, BacnetPduTypes type, BacnetConfirmedServices service, byte invoke_id, BacnetMaxSegments max_segments, BacnetMaxAdpu max_adpu, bool server, byte sequence_number, byte proposed_window_number, byte buffer, int offset, int length ) : void
SendComplexAck ( BacnetAddress adr, byte invoke_id, Segmentation segmentation, BacnetConfirmedServices service, Action apdu_content_encode ) : void

Method Details

AddListElementRequest() public méthode

public AddListElementRequest ( BacnetAddress adr, BacnetObjectId object_id, BacnetPropertyReference reference, IList value_list, byte invoke_id ) : bool
adr BacnetAddress
object_id BacnetObjectId
reference BacnetPropertyReference
value_list IList
invoke_id byte
Résultat bool

AlarmAcknowledgement() public méthode

public AlarmAcknowledgement ( BacnetAddress adr, BacnetObjectId objid, BacnetEventNotificationData eventState, String AckText, BacnetGenericTime evTimeStamp, BacnetGenericTime ackTimeStamp, byte invoke_id ) : bool
adr BacnetAddress
objid BacnetObjectId
eventState BacnetEventNotificationData
AckText String
evTimeStamp BacnetGenericTime
ackTimeStamp BacnetGenericTime
invoke_id byte
Résultat bool

BacnetClient() public méthode

public BacnetClient ( IBacnetTransport transport, int timeout = 1000, int retries = 3 ) : System
transport IBacnetTransport
timeout int
retries int
Résultat System

BacnetClient() public méthode

public BacnetClient ( int port = 0xBAC0, int timeout = 1000, int retries = 3 ) : System
port int
timeout int
retries int
Résultat System

BacnetClient() public méthode

public BacnetClient ( string port_name, int baud_rate, int timeout = 1000, int retries = 3 ) : System
port_name string
baud_rate int
timeout int
retries int
Résultat System

BeginAddListElementRequest() public méthode

public BeginAddListElementRequest ( BacnetAddress adr, BacnetObjectId object_id, BacnetPropertyReference reference, IList value_list, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
adr BacnetAddress
object_id BacnetObjectId
reference BacnetPropertyReference
value_list IList
wait_for_transmit bool
invoke_id byte
Résultat IAsyncResult

BeginAlarmAcknowledgement() public méthode

public BeginAlarmAcknowledgement ( BacnetAddress adr, BacnetObjectId objid, BacnetEventNotificationData eventState, String AckText, BacnetGenericTime evTimeStamp, BacnetGenericTime ackTimeStamp, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
adr BacnetAddress
objid BacnetObjectId
eventState BacnetEventNotificationData
AckText String
evTimeStamp BacnetGenericTime
ackTimeStamp BacnetGenericTime
wait_for_transmit bool
invoke_id byte
Résultat IAsyncResult

BeginConfirmedNotify() public méthode

public BeginConfirmedNotify ( BacnetAddress adr, uint subscriberProcessIdentifier, uint initiatingDeviceIdentifier, BacnetObjectId monitoredObjectIdentifier, uint timeRemaining, IList values, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
adr BacnetAddress
subscriberProcessIdentifier uint
initiatingDeviceIdentifier uint
monitoredObjectIdentifier BacnetObjectId
timeRemaining uint
values IList
wait_for_transmit bool
invoke_id byte
Résultat IAsyncResult

BeginCreateObjectRequest() public méthode

public BeginCreateObjectRequest ( BacnetAddress adr, BacnetObjectId object_id, ICollection value_list, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
adr BacnetAddress
object_id BacnetObjectId
value_list ICollection
wait_for_transmit bool
invoke_id byte
Résultat IAsyncResult

BeginDeleteObjectRequest() public méthode

public BeginDeleteObjectRequest ( BacnetAddress adr, BacnetObjectId object_id, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
adr BacnetAddress
object_id BacnetObjectId
wait_for_transmit bool
invoke_id byte
Résultat IAsyncResult

BeginDeviceCommunicationControlRequest() public méthode

public BeginDeviceCommunicationControlRequest ( BacnetAddress adr, uint timeDuration, uint enable_disable, string password, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
adr BacnetAddress
timeDuration uint
enable_disable uint
password string
wait_for_transmit bool
invoke_id byte
Résultat IAsyncResult

BeginGetAlarmSummaryOrEventRequest() public méthode

public BeginGetAlarmSummaryOrEventRequest ( BacnetAddress adr, bool GetEvent, IList Alarms, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
adr BacnetAddress
GetEvent bool
Alarms IList
wait_for_transmit bool
invoke_id byte
Résultat IAsyncResult

BeginRawEncodedDecodedPropertyConfirmedRequest() public méthode

public BeginRawEncodedDecodedPropertyConfirmedRequest ( BacnetAddress adr, BacnetObjectId object_id, BacnetPropertyIds property_id, BacnetConfirmedServices service_id, byte InOutBuffer, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
adr BacnetAddress
object_id BacnetObjectId
property_id BacnetPropertyIds
service_id BacnetConfirmedServices
InOutBuffer byte
wait_for_transmit bool
invoke_id byte
Résultat IAsyncResult

BeginReadFileRequest() public méthode

public BeginReadFileRequest ( BacnetAddress adr, BacnetObjectId object_id, int position, uint count, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
adr BacnetAddress
object_id BacnetObjectId
position int
count uint
wait_for_transmit bool
invoke_id byte
Résultat IAsyncResult

BeginReadPropertyMultipleRequest() public méthode

public BeginReadPropertyMultipleRequest ( BacnetAddress adr, BacnetObjectId object_id, IList property_id_and_array_index, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
adr BacnetAddress
object_id BacnetObjectId
property_id_and_array_index IList
wait_for_transmit bool
invoke_id byte
Résultat IAsyncResult

BeginReadPropertyMultipleRequest() public méthode

public BeginReadPropertyMultipleRequest ( BacnetAddress adr, IList properties, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
adr BacnetAddress
properties IList
wait_for_transmit bool
invoke_id byte
Résultat IAsyncResult

BeginReadPropertyRequest() public méthode

public BeginReadPropertyRequest ( BacnetAddress adr, BacnetObjectId object_id, BacnetPropertyIds property_id, bool wait_for_transmit, byte invoke_id, uint array_index = ASN1.BACNET_ARRAY_ALL ) : IAsyncResult
adr BacnetAddress
object_id BacnetObjectId
property_id BacnetPropertyIds
wait_for_transmit bool
invoke_id byte
array_index uint
Résultat IAsyncResult

BeginReadRangeRequest() public méthode

public BeginReadRangeRequest ( BacnetAddress adr, BacnetObjectId object_id, uint idxBegin, uint Quantity, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
adr BacnetAddress
object_id BacnetObjectId
idxBegin uint
Quantity uint
wait_for_transmit bool
invoke_id byte
Résultat IAsyncResult

BeginReinitializeRequest() public méthode

public BeginReinitializeRequest ( BacnetAddress adr, BacnetReinitializedStates state, string password, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
adr BacnetAddress
state BacnetReinitializedStates
password string
wait_for_transmit bool
invoke_id byte
Résultat IAsyncResult

BeginRemoveListElementRequest() public méthode

public BeginRemoveListElementRequest ( BacnetAddress adr, BacnetObjectId object_id, BacnetPropertyReference reference, IList value_list, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
adr BacnetAddress
object_id BacnetObjectId
reference BacnetPropertyReference
value_list IList
wait_for_transmit bool
invoke_id byte
Résultat IAsyncResult

BeginSubscribeCOVRequest() public méthode

public BeginSubscribeCOVRequest ( BacnetAddress adr, BacnetObjectId object_id, uint subscribe_id, bool cancel, bool issue_confirmed_notifications, uint lifetime, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
adr BacnetAddress
object_id BacnetObjectId
subscribe_id uint
cancel bool
issue_confirmed_notifications bool
lifetime uint
wait_for_transmit bool
invoke_id byte
Résultat IAsyncResult

BeginSubscribePropertyRequest() public méthode

public BeginSubscribePropertyRequest ( BacnetAddress adr, BacnetObjectId object_id, BacnetPropertyReference monitored_property, uint subscribe_id, bool cancel, bool issue_confirmed_notifications, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
adr BacnetAddress
object_id BacnetObjectId
monitored_property BacnetPropertyReference
subscribe_id uint
cancel bool
issue_confirmed_notifications bool
wait_for_transmit bool
invoke_id byte
Résultat IAsyncResult

BeginWriteFileRequest() public méthode

public BeginWriteFileRequest ( BacnetAddress adr, BacnetObjectId object_id, int position, int count, byte file_buffer, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
adr BacnetAddress
object_id BacnetObjectId
position int
count int
file_buffer byte
wait_for_transmit bool
invoke_id byte
Résultat IAsyncResult

BeginWritePropertyMultipleRequest() public méthode

public BeginWritePropertyMultipleRequest ( BacnetAddress adr, BacnetObjectId object_id, ICollection value_list, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
adr BacnetAddress
object_id BacnetObjectId
value_list ICollection
wait_for_transmit bool
invoke_id byte
Résultat IAsyncResult

BeginWritePropertyMultipleRequest() public méthode

public BeginWritePropertyMultipleRequest ( BacnetAddress adr, ICollection value_list, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
adr BacnetAddress
value_list ICollection
wait_for_transmit bool
invoke_id byte
Résultat IAsyncResult

BeginWritePropertyRequest() public méthode

public BeginWritePropertyRequest ( BacnetAddress adr, BacnetObjectId object_id, BacnetPropertyIds property_id, IEnumerable value_list, bool wait_for_transmit, byte invoke_id ) : IAsyncResult
adr BacnetAddress
object_id BacnetObjectId
property_id BacnetPropertyIds
value_list IEnumerable
wait_for_transmit bool
invoke_id byte
Résultat IAsyncResult

CreateObjectRequest() public méthode

public CreateObjectRequest ( BacnetAddress adr, BacnetObjectId object_id, ICollection value_list, byte invoke_id ) : bool
adr BacnetAddress
object_id BacnetObjectId
value_list ICollection
invoke_id byte
Résultat bool

CreateObjectResponse() public méthode

public CreateObjectResponse ( BacnetAddress adr, byte invoke_id, Segmentation segmentation, BacnetObjectId object_id ) : void
adr BacnetAddress
invoke_id byte
segmentation Segmentation
object_id BacnetObjectId
Résultat void

DeleteObjectRequest() public méthode

public DeleteObjectRequest ( BacnetAddress adr, BacnetObjectId object_id, byte invoke_id ) : bool
adr BacnetAddress
object_id BacnetObjectId
invoke_id byte
Résultat bool

DeviceCommunicationControlRequest() public méthode

public DeviceCommunicationControlRequest ( BacnetAddress adr, uint timeDuration, uint enable_disable, string password, byte invoke_id ) : bool
adr BacnetAddress
timeDuration uint
enable_disable uint
password string
invoke_id byte
Résultat bool

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EndAddListElementRequest() public méthode

public EndAddListElementRequest ( IAsyncResult result, Exception &ex ) : void
result IAsyncResult
ex System.Exception
Résultat void

EndAlarmAcknowledgement() public méthode

public EndAlarmAcknowledgement ( IAsyncResult result, Exception &ex ) : void
result IAsyncResult
ex System.Exception
Résultat void

EndConfirmedNotify() public méthode

public EndConfirmedNotify ( IAsyncResult result, Exception &ex ) : void
result IAsyncResult
ex System.Exception
Résultat void

EndCreateObjectRequest() public méthode

public EndCreateObjectRequest ( IAsyncResult result, Exception &ex ) : void
result IAsyncResult
ex System.Exception
Résultat void

EndDeleteObjectRequest() public méthode

public EndDeleteObjectRequest ( IAsyncResult result, Exception &ex ) : void
result IAsyncResult
ex System.Exception
Résultat void

EndDeviceCommunicationControlRequest() public méthode

public EndDeviceCommunicationControlRequest ( IAsyncResult result, Exception &ex ) : void
result IAsyncResult
ex System.Exception
Résultat void

EndGetAlarmSummaryOrEventRequest() public méthode

public EndGetAlarmSummaryOrEventRequest ( IAsyncResult result, bool GetEvent, IList &Alarms, bool &MoreEvent, Exception &ex ) : void
result IAsyncResult
GetEvent bool
Alarms IList
MoreEvent bool
ex System.Exception
Résultat void

EndRawEncodedDecodedPropertyConfirmedRequest() public méthode

public EndRawEncodedDecodedPropertyConfirmedRequest ( IAsyncResult result, BacnetConfirmedServices service_id, byte &InOutBuffer, Exception &ex ) : void
result IAsyncResult
service_id BacnetConfirmedServices
InOutBuffer byte
ex System.Exception
Résultat void

EndReadFileRequest() public méthode

public EndReadFileRequest ( IAsyncResult result, uint &count, int &position, bool &end_of_file, byte &file_buffer, int &file_buffer_offset, Exception &ex ) : void
result IAsyncResult
count uint
position int
end_of_file bool
file_buffer byte
file_buffer_offset int
ex System.Exception
Résultat void

EndReadPropertyMultipleRequest() public méthode

public EndReadPropertyMultipleRequest ( IAsyncResult result, IList &values, Exception &ex ) : void
result IAsyncResult
values IList
ex System.Exception
Résultat void

EndReadPropertyRequest() public méthode

public EndReadPropertyRequest ( IAsyncResult result, IList &value_list, Exception &ex ) : void
result IAsyncResult
value_list IList
ex System.Exception
Résultat void

EndReadRangeRequest() public méthode

public EndReadRangeRequest ( IAsyncResult result, byte &trendbuffer, uint &ItemCount, Exception &ex ) : void
result IAsyncResult
trendbuffer byte
ItemCount uint
ex System.Exception
Résultat void

EndReinitializeRequest() public méthode

public EndReinitializeRequest ( IAsyncResult result, Exception &ex ) : void
result IAsyncResult
ex System.Exception
Résultat void

EndSubscribeCOVRequest() public méthode

public EndSubscribeCOVRequest ( IAsyncResult result, Exception &ex ) : void
result IAsyncResult
ex System.Exception
Résultat void

EndSubscribePropertyRequest() public méthode

public EndSubscribePropertyRequest ( IAsyncResult result, Exception &ex ) : void
result IAsyncResult
ex System.Exception
Résultat void

EndWriteFileRequest() public méthode

public EndWriteFileRequest ( IAsyncResult result, int &position, Exception &ex ) : void
result IAsyncResult
position int
ex System.Exception
Résultat void

EndWritePropertyRequest() public méthode

public EndWritePropertyRequest ( IAsyncResult result, Exception &ex ) : void
result IAsyncResult
ex System.Exception
Résultat void

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

ErrorResponse() public méthode

public ErrorResponse ( BacnetAddress adr, BacnetConfirmedServices service, byte invoke_id, BacnetErrorClasses error_class, BacnetErrorCodes error_code ) : void
adr BacnetAddress
service BacnetConfirmedServices
invoke_id byte
error_class BacnetErrorClasses
error_code BacnetErrorCodes
Résultat void

GetAlarmSummaryOrEventRequest() public méthode

public GetAlarmSummaryOrEventRequest ( BacnetAddress adr, bool GetEvent, IList &Alarms, byte invoke_id ) : bool
adr BacnetAddress
GetEvent bool
Alarms IList
invoke_id byte
Résultat bool

GetEncodeBuffer() public méthode

public GetEncodeBuffer ( int start_offset ) : EncodeBuffer
start_offset int
Résultat EncodeBuffer

GetFileBufferMaxSize() public méthode

public GetFileBufferMaxSize ( ) : int
Résultat int

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetMaxApdu() public méthode

public GetMaxApdu ( ) : int
Résultat int

GetSegmentBuffer() public méthode

public GetSegmentBuffer ( BacnetMaxSegments max_segments ) : Segmentation
max_segments BacnetMaxSegments
Résultat Segmentation

GetSegmentsCount() public static méthode

public static GetSegmentsCount ( byte max_segments ) : BacnetMaxSegments
max_segments byte
Résultat BacnetMaxSegments

GetSegmentsCount() public static méthode

public static GetSegmentsCount ( BacnetMaxSegments max_segments ) : byte
max_segments BacnetMaxSegments
Résultat byte

Iam() public méthode

public Iam ( uint device_id, BacnetSegmentations segmentation ) : void
device_id uint
segmentation BacnetSegmentations
Résultat void

Notify() public méthode

public Notify ( BacnetAddress adr, uint subscriberProcessIdentifier, uint initiatingDeviceIdentifier, BacnetObjectId monitoredObjectIdentifier, uint timeRemaining, bool issueConfirmedNotifications, IList values ) : bool
adr BacnetAddress
subscriberProcessIdentifier uint
initiatingDeviceIdentifier uint
monitoredObjectIdentifier BacnetObjectId
timeRemaining uint
issueConfirmedNotifications bool
values IList
Résultat bool

ProcessAbort() protected méthode

protected ProcessAbort ( BacnetAddress adr, BacnetPduTypes type, byte invoke_id, byte reason, byte buffer, int offset, int length ) : void
adr BacnetAddress
type BacnetPduTypes
invoke_id byte
reason byte
buffer byte
offset int
length int
Résultat void

ProcessComplexAck() protected méthode

protected ProcessComplexAck ( BacnetAddress adr, BacnetPduTypes type, BacnetConfirmedServices service, byte invoke_id, byte buffer, int offset, int length ) : void
adr BacnetAddress
type BacnetPduTypes
service BacnetConfirmedServices
invoke_id byte
buffer byte
offset int
length int
Résultat void

ProcessConfirmedServiceRequest() protected méthode

protected ProcessConfirmedServiceRequest ( BacnetAddress adr, BacnetPduTypes type, BacnetConfirmedServices service, BacnetMaxSegments max_segments, BacnetMaxAdpu max_adpu, byte invoke_id, byte buffer, int offset, int length ) : void
adr BacnetAddress
type BacnetPduTypes
service BacnetConfirmedServices
max_segments BacnetMaxSegments
max_adpu BacnetMaxAdpu
invoke_id byte
buffer byte
offset int
length int
Résultat void

ProcessError() protected méthode

protected ProcessError ( BacnetAddress adr, BacnetPduTypes type, BacnetConfirmedServices service, byte invoke_id, byte buffer, int offset, int length ) : void
adr BacnetAddress
type BacnetPduTypes
service BacnetConfirmedServices
invoke_id byte
buffer byte
offset int
length int
Résultat void

ProcessSegmentAck() protected méthode

protected ProcessSegmentAck ( BacnetAddress adr, BacnetPduTypes type, byte original_invoke_id, byte sequence_number, byte actual_window_size, byte buffer, int offset, int length ) : void
adr BacnetAddress
type BacnetPduTypes
original_invoke_id byte
sequence_number byte
actual_window_size byte
buffer byte
offset int
length int
Résultat void

ProcessSimpleAck() protected méthode

protected ProcessSimpleAck ( BacnetAddress adr, BacnetPduTypes type, BacnetConfirmedServices service, byte invoke_id, byte buffer, int offset, int length ) : void
adr BacnetAddress
type BacnetPduTypes
service BacnetConfirmedServices
invoke_id byte
buffer byte
offset int
length int
Résultat void

ProcessUnconfirmedServiceRequest() protected méthode

protected ProcessUnconfirmedServiceRequest ( BacnetAddress adr, BacnetPduTypes type, BacnetUnconfirmedServices service, byte buffer, int offset, int length ) : void
adr BacnetAddress
type BacnetPduTypes
service BacnetUnconfirmedServices
buffer byte
offset int
length int
Résultat void

RawEncodedDecodedPropertyConfirmedRequest() public méthode

public RawEncodedDecodedPropertyConfirmedRequest ( BacnetAddress adr, BacnetObjectId object_id, BacnetPropertyIds property_id, BacnetConfirmedServices service_id, byte &InOutBuffer, byte invoke_id ) : bool
adr BacnetAddress
object_id BacnetObjectId
property_id BacnetPropertyIds
service_id BacnetConfirmedServices
InOutBuffer byte
invoke_id byte
Résultat bool

ReadFileRequest() public méthode

public ReadFileRequest ( BacnetAddress adr, BacnetObjectId object_id, int &position, uint &count, bool &end_of_file, byte &file_buffer, int &file_buffer_offset, byte invoke_id ) : bool
adr BacnetAddress
object_id BacnetObjectId
position int
count uint
end_of_file bool
file_buffer byte
file_buffer_offset int
invoke_id byte
Résultat bool

ReadFileResponse() public méthode

public ReadFileResponse ( BacnetAddress adr, byte invoke_id, Segmentation segmentation, int position, uint count, bool end_of_file, byte file_buffer ) : void
adr BacnetAddress
invoke_id byte
segmentation Segmentation
position int
count uint
end_of_file bool
file_buffer byte
Résultat void

ReadPropertyMultipleRequest() public méthode

public ReadPropertyMultipleRequest ( BacnetAddress adr, BacnetObjectId object_id, IList property_id_and_array_index, IList &values, byte invoke_id ) : bool
adr BacnetAddress
object_id BacnetObjectId
property_id_and_array_index IList
values IList
invoke_id byte
Résultat bool

ReadPropertyMultipleRequest() public méthode

public ReadPropertyMultipleRequest ( BacnetAddress adr, IList properties, IList &values, byte invoke_id ) : bool
adr BacnetAddress
properties IList
values IList
invoke_id byte
Résultat bool

ReadPropertyMultipleResponse() public méthode

public ReadPropertyMultipleResponse ( BacnetAddress adr, byte invoke_id, Segmentation segmentation, IList values ) : void
adr BacnetAddress
invoke_id byte
segmentation Segmentation
values IList
Résultat void

ReadPropertyRequest() public méthode

public ReadPropertyRequest ( BacnetAddress adr, BacnetObjectId object_id, BacnetPropertyIds property_id, IList &value_list, byte invoke_id, uint array_index = ASN1.BACNET_ARRAY_ALL ) : bool
adr BacnetAddress
object_id BacnetObjectId
property_id BacnetPropertyIds
value_list IList
invoke_id byte
array_index uint
Résultat bool

ReadPropertyResponse() public méthode

public ReadPropertyResponse ( BacnetAddress adr, byte invoke_id, Segmentation segmentation, BacnetObjectId object_id, BacnetPropertyReference property, IEnumerable value ) : void
adr BacnetAddress
invoke_id byte
segmentation Segmentation
object_id BacnetObjectId
property BacnetPropertyReference
value IEnumerable
Résultat void

ReadRangeRequest() public méthode

public ReadRangeRequest ( BacnetAddress adr, BacnetObjectId object_id, uint idxBegin, uint &Quantity, byte &Range, byte invoke_id ) : bool
adr BacnetAddress
object_id BacnetObjectId
idxBegin uint
Quantity uint
Range byte
invoke_id byte
Résultat bool

ReadRangeResponse() public méthode

public ReadRangeResponse ( BacnetAddress adr, byte invoke_id, Segmentation segmentation, BacnetObjectId object_id, BacnetPropertyReference property, BacnetResultFlags status, uint item_count, byte application_data, BacnetReadRangeRequestTypes request_type, uint first_sequence_no ) : void
adr BacnetAddress
invoke_id byte
segmentation Segmentation
object_id BacnetObjectId
property BacnetPropertyReference
status BacnetResultFlags
item_count uint
application_data byte
request_type BacnetReadRangeRequestTypes
first_sequence_no uint
Résultat void

RegisterAsForeignDevice() public méthode

public RegisterAsForeignDevice ( String BBMD_IP, short TTL, int Port = 0xbac0 ) : void
BBMD_IP String
TTL short
Port int
Résultat void

ReinitializeRequest() public méthode

public ReinitializeRequest ( BacnetAddress adr, BacnetReinitializedStates state, string password, byte invoke_id ) : bool
adr BacnetAddress
state BacnetReinitializedStates
password string
invoke_id byte
Résultat bool

RemoteWhoIs() public méthode

public RemoteWhoIs ( String BBMD_IP, int Port = 0xbac0, int low_limit = -1, int high_limit = -1 ) : void
BBMD_IP String
Port int
low_limit int
high_limit int
Résultat void

RemoveListElementRequest() public méthode

public RemoveListElementRequest ( BacnetAddress adr, BacnetObjectId object_id, BacnetPropertyReference reference, IList value_list, byte invoke_id ) : bool
adr BacnetAddress
object_id BacnetObjectId
reference BacnetPropertyReference
value_list IList
invoke_id byte
Résultat bool

SegmentAckResponse() public méthode

public SegmentAckResponse ( BacnetAddress adr, bool negative, bool server, byte original_invoke_id, byte sequence_number, byte actual_window_size ) : void
adr BacnetAddress
negative bool
server bool
original_invoke_id byte
sequence_number byte
actual_window_size byte
Résultat void

SendConfirmedServiceReject() public méthode

public SendConfirmedServiceReject ( BacnetAddress adr, byte invoke_id, BacnetRejectReasons reason ) : void
adr BacnetAddress
invoke_id byte
reason BacnetRejectReasons
Résultat void

SendUnconfirmedEventNotification() public méthode

public SendUnconfirmedEventNotification ( BacnetAddress adr, BacnetEventNotificationData eventData ) : void
adr BacnetAddress
eventData BacnetEventNotificationData
Résultat void

SimpleAckResponse() public méthode

public SimpleAckResponse ( BacnetAddress adr, BacnetConfirmedServices service, byte invoke_id ) : void
adr BacnetAddress
service BacnetConfirmedServices
invoke_id byte
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

SubscribeCOVRequest() public méthode

public SubscribeCOVRequest ( BacnetAddress adr, BacnetObjectId object_id, uint subscribe_id, bool cancel, bool issue_confirmed_notifications, uint lifetime, byte invoke_id ) : bool
adr BacnetAddress
object_id BacnetObjectId
subscribe_id uint
cancel bool
issue_confirmed_notifications bool
lifetime uint
invoke_id byte
Résultat bool

SubscribePropertyRequest() public méthode

public SubscribePropertyRequest ( BacnetAddress adr, BacnetObjectId object_id, BacnetPropertyReference monitored_property, uint subscribe_id, bool cancel, bool issue_confirmed_notifications, byte invoke_id ) : bool
adr BacnetAddress
object_id BacnetObjectId
monitored_property BacnetPropertyReference
subscribe_id uint
cancel bool
issue_confirmed_notifications bool
invoke_id byte
Résultat bool

SynchronizeTime() public méthode

public SynchronizeTime ( BacnetAddress adr, System.DateTime dateTime, bool utc ) : void
adr BacnetAddress
dateTime System.DateTime
utc bool
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

WaitForAllTransmits() public méthode

public WaitForAllTransmits ( int timeout ) : bool
timeout int
Résultat bool

WaitForSegmentAck() public méthode

public WaitForSegmentAck ( BacnetAddress adr, byte invoke_id, Segmentation segmentation, int timeout ) : bool
adr BacnetAddress
invoke_id byte
segmentation Segmentation
timeout int
Résultat bool

WhoIs() public méthode

public WhoIs ( int low_limit = -1, int high_limit = -1, BacnetAddress _receiver = null ) : void
low_limit int
high_limit int
_receiver BacnetAddress
Résultat void

WriteFileRequest() public méthode

public WriteFileRequest ( BacnetAddress adr, BacnetObjectId object_id, int &position, int count, byte file_buffer, byte invoke_id ) : bool
adr BacnetAddress
object_id BacnetObjectId
position int
count int
file_buffer byte
invoke_id byte
Résultat bool

WriteFileResponse() public méthode

public WriteFileResponse ( BacnetAddress adr, byte invoke_id, Segmentation segmentation, int position ) : void
adr BacnetAddress
invoke_id byte
segmentation Segmentation
position int
Résultat void

WritePropertyMultipleRequest() public méthode

public WritePropertyMultipleRequest ( BacnetAddress adr, BacnetObjectId object_id, ICollection value_list, byte invoke_id ) : bool
adr BacnetAddress
object_id BacnetObjectId
value_list ICollection
invoke_id byte
Résultat bool

WritePropertyMultipleRequest() public méthode

public WritePropertyMultipleRequest ( BacnetAddress adr, ICollection value_list, byte invoke_id ) : bool
adr BacnetAddress
value_list ICollection
invoke_id byte
Résultat bool

WritePropertyRequest() public méthode

public WritePropertyRequest ( BacnetAddress adr, BacnetObjectId object_id, BacnetPropertyIds property_id, IEnumerable value_list, byte invoke_id ) : bool
adr BacnetAddress
object_id BacnetObjectId
property_id BacnetPropertyIds
value_list IEnumerable
invoke_id byte
Résultat bool

Property Details

DEFAULT_HOP_COUNT public_oe static_oe property

public static byte DEFAULT_HOP_COUNT
Résultat byte

raw_buffer public_oe property

public byte[] raw_buffer
Résultat byte[]

raw_offset public_oe property

public int raw_offset
Résultat int