C# Class System.IO.BACnet.BacnetMstpProtocolTransport

This is the standard BACNet MSTP transport
Inheritance: IBacnetTransport, IDisposable
Afficher le fichier Open project: temcocontrols/T3000_Building_Automation_System

Méthodes publiques

Méthode Description
BacnetMstpProtocolTransport ( IBacnetSerialTransport transport, short source_address = -1, byte max_master = 127, byte max_info_frames = 1 ) : System
BacnetMstpProtocolTransport ( string port_name, int baud_rate, short source_address = -1, byte max_master = 127, byte max_info_frames = 1 ) : System
Dispose ( ) : void
Equals ( object obj ) : bool
GetBroadcastAddress ( ) : BacnetAddress
GetHashCode ( ) : int
Send ( byte buffer, int offset, int data_length, BacnetAddress address, bool wait_for_transmission, int timeout ) : int
Start ( ) : void
Start_SpyMode ( ) : void
ToString ( ) : string
WaitForAllTransmits ( int timeout ) : bool

Private Methods

Méthode Description
AnswerDataRequest ( ) : StateChanges
DoneWithToken ( ) : StateChanges
GetNextMessage ( int timeout_ms, BacnetMstpFrameTypes &frame_type, byte &destination_address, byte &source_address, int &msg_length ) : GetMessageStatus
Idle ( ) : StateChanges
Initialize ( ) : StateChanges
PassToken ( ) : StateChanges
PollForMaster ( ) : StateChanges
QueueFrame ( BacnetMstpFrameTypes frame_type, byte destination_address ) : void
RemoveCurrentMessage ( int msg_length ) : void
RemoveGarbage ( ) : void
SendFrame ( BacnetMstpFrameTypes frame_type, byte destination_address ) : void
SendFrame ( MessageFrame frame ) : void
UseToken ( ) : StateChanges
WaitForReply ( ) : StateChanges
mstp_thread ( ) : void
mstp_thread_sniffer ( ) : void

Method Details

BacnetMstpProtocolTransport() public méthode

public BacnetMstpProtocolTransport ( IBacnetSerialTransport transport, short source_address = -1, byte max_master = 127, byte max_info_frames = 1 ) : System
transport IBacnetSerialTransport
source_address short
max_master byte
max_info_frames byte
Résultat System

BacnetMstpProtocolTransport() public méthode

public BacnetMstpProtocolTransport ( string port_name, int baud_rate, short source_address = -1, byte max_master = 127, byte max_info_frames = 1 ) : System
port_name string
baud_rate int
source_address short
max_master byte
max_info_frames byte
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Equals() public méthode

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

GetBroadcastAddress() public méthode

public GetBroadcastAddress ( ) : BacnetAddress
Résultat BacnetAddress

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

Send() public méthode

public Send ( byte buffer, int offset, int data_length, BacnetAddress address, bool wait_for_transmission, int timeout ) : int
buffer byte
offset int
data_length int
address BacnetAddress
wait_for_transmission bool
timeout int
Résultat int

Start() public méthode

public Start ( ) : void
Résultat void

Start_SpyMode() public méthode

public Start_SpyMode ( ) : void
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