C# Class OpenCNCPilot.Communication.Machine

ファイルを表示 Open project: martin2250/OpenCNCPilot

Public Methods

Method Description
ClearFile ( ) : void
ClearQueue ( ) : void
Connect ( ) : void
CycleStart ( ) : void
Disconnect ( ) : void
FeedHold ( ) : void
FileGoto ( int lineNumber ) : void
FilePause ( ) : void
FileStart ( ) : void
Machine ( ) : System
ProbeStart ( ) : void
ProbeStop ( ) : void
SendLine ( string line ) : void
SetFile ( IList file ) : void
SoftReset ( ) : void

Private Methods

Method Description
ParseProbe ( string line ) : void

Parses a recevied probe report

ParseStatus ( string line ) : void

Parses a recevied status report (answer to '?')

RaiseEvent ( System.Action action ) : void
RaiseEvent ( Action action, string param ) : void
ReportError ( string error ) : void

Reports error. This is there to offload the ExpandError function from the "Real-Time" worker thread to the application thread

UpdateStatus ( string line ) : void

Updates Status info from each line sent

Work ( ) : void

Method Details

ClearFile() public method

public ClearFile ( ) : void
return void

ClearQueue() public method

public ClearQueue ( ) : void
return void

Connect() public method

public Connect ( ) : void
return void

CycleStart() public method

public CycleStart ( ) : void
return void

Disconnect() public method

public Disconnect ( ) : void
return void

FeedHold() public method

public FeedHold ( ) : void
return void

FileGoto() public method

public FileGoto ( int lineNumber ) : void
lineNumber int
return void

FilePause() public method

public FilePause ( ) : void
return void

FileStart() public method

public FileStart ( ) : void
return void

Machine() public method

public Machine ( ) : System
return System

ProbeStart() public method

public ProbeStart ( ) : void
return void

ProbeStop() public method

public ProbeStop ( ) : void
return void

SendLine() public method

public SendLine ( string line ) : void
line string
return void

SetFile() public method

public SetFile ( IList file ) : void
file IList
return void

SoftReset() public method

public SoftReset ( ) : void
return void