C# 클래스 MaCRo.Communications.SerialTransportAddress

상속: TransportAddress
파일 보기 프로젝트 열기: AlexAlbala/MaCRo 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
forceACK bool
serialport string

공개 메소드들

메소드 설명
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.

메소드 상세

Clone() 공개 메소드

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

Equals() 공개 메소드

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

GetAddress() 공개 메소드

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

GetHashCode() 공개 메소드

Gets a no unique identifier
public GetHashCode ( ) : int
리턴 int

IsSameNetwork() 공개 메소드

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

SerialTransportAddress() 공개 메소드

public SerialTransportAddress ( ) : System
리턴 System

SerialTransportAddress() 공개 메소드

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

ToString() 공개 메소드

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

프로퍼티 상세

forceACK 공개적으로 프로퍼티

Sets if ACK should be used
public bool forceACK
리턴 bool

serialport 공개적으로 프로퍼티

The remote serial port
public string serialport
리턴 string