C# Class MaCRoGS.Communications.SerialTransportAddress

Inheritance: TransportAddress
Mostra file Open project: AlexAlbala/MaCRo Class Usage Examples

Public Properties

Property Type Description
forceACK bool
serialport string

Public Methods

Method Description
Clone ( ) : TransportAddress

Create a deep copy of the Serial Transport Address

Equals ( object obj ) : bool

Indicates if this object equals to an other object

GetAddress ( ) : string

Get string for "Matricula" identifier system.

GetHashCode ( ) : int

Gets a no unique identifier

IsSameNetwork ( TransportAddress ta ) : bool

Check if a Tranport Address belongs to the same network as this one.

SerialTransportAddress ( ) : System
SerialTransportAddress ( string port, bool forceACK ) : System

Creates new TransportAddress instance

ToString ( ) : string

Get the transport address in string format.

Method Details

Clone() public method

Create a deep copy of the Serial Transport Address
public Clone ( ) : TransportAddress
return TransportAddress

Equals() public method

Indicates if this object equals to an other object
public Equals ( object obj ) : bool
obj object Object used to compare
return bool

GetAddress() public method

Get string for "Matricula" identifier system.
public GetAddress ( ) : string
return string

GetHashCode() public method

Gets a no unique identifier
public GetHashCode ( ) : int
return int

IsSameNetwork() public method

Check if a Tranport Address belongs to the same network as this one.
public IsSameNetwork ( TransportAddress ta ) : bool
ta TransportAddress
return bool

SerialTransportAddress() public method

public SerialTransportAddress ( ) : System
return System

SerialTransportAddress() public method

Creates new TransportAddress instance
public SerialTransportAddress ( string port, bool forceACK ) : System
port string The remote Port
forceACK bool Forces ACK usage
return System

ToString() public method

Get the transport address in string format.
public ToString ( ) : string
return string

Property Details

forceACK public_oe property

Sets if ACK should be used
public bool forceACK
return bool

serialport public_oe property

The remote serial port
public string serialport
return string