C# Class MaCRo.Communications.SerialTransportAddress

Inheritance: TransportAddress
Afficher le fichier Open project: AlexAlbala/MaCRo Class Usage Examples

Méthodes publiques

Свойство Type Description
forceACK bool
serialport string

Méthodes publiques

Méthode 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 méthode

Create a deep copy of the Serial Transport Address
public Clone ( ) : TransportAddress
Résultat TransportAddress

Equals() public méthode

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

GetAddress() public méthode

Get string for "Matricula" identifier system.
public GetAddress ( ) : string
Résultat string

GetHashCode() public méthode

Gets a no unique identifier
public GetHashCode ( ) : int
Résultat int

IsSameNetwork() public méthode

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

SerialTransportAddress() public méthode

public SerialTransportAddress ( ) : System
Résultat System

SerialTransportAddress() public méthode

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

ToString() public méthode

Get the transport address in string format.
public ToString ( ) : string
Résultat string

Property Details

forceACK public_oe property

Sets if ACK should be used
public bool forceACK
Résultat bool

serialport public_oe property

The remote serial port
public string serialport
Résultat string