C# Class SPH.SerialPortHandler

显示文件 Open project: CORE-POS/IS4C Class Usage Examples

Public Properties

Property Type Description
SPH_Thread Thread

Protected Properties

Property Type Description
SPH_Running bool
parent CustomForms.DelegateForm
port string
sp System.IO.Ports.SerialPort
verbose_mode int

Public Methods

Method Description
HandleMsg ( string msg ) : void
Read ( ) : void
SerialPortHandler ( ) : System
SerialPortHandler ( string p ) : System
SetParent ( CustomForms.DelegateForm p ) : void
SetVerbose ( int v ) : void
Status ( ) : string
Stop ( ) : void

Method Details

HandleMsg() public method

public HandleMsg ( string msg ) : void
msg string
return void

Read() public method

public Read ( ) : void
return void

SerialPortHandler() public method

public SerialPortHandler ( ) : System
return System

SerialPortHandler() public method

public SerialPortHandler ( string p ) : System
p string
return System

SetParent() public method

public SetParent ( CustomForms.DelegateForm p ) : void
p CustomForms.DelegateForm
return void

SetVerbose() public method

public SetVerbose ( int v ) : void
v int
return void

Status() public method

public Status ( ) : string
return string

Stop() public method

public Stop ( ) : void
return void

Property Details

SPH_Running protected_oe property

protected bool SPH_Running
return bool

SPH_Thread public_oe property

public Thread SPH_Thread
return Thread

parent protected_oe property

protected DelegateForm,CustomForms parent
return CustomForms.DelegateForm

port protected_oe property

protected string port
return string

sp protected_oe property

protected SerialPort,System.IO.Ports sp
return System.IO.Ports.SerialPort

verbose_mode protected_oe property

protected int verbose_mode
return int