C# Class SPA.OJ_Serial

Mostrar archivo Open project: coloz/Serial-Assistant

Public Properties

Property Type Description
_SerialPort System.IO.Ports.SerialPort
timer1 System.Windows.Forms.Timer

Public Methods

Method Description
HEX_To_ASCII ( byte bytes ) : string
HEX_To_String ( byte bytes ) : string
NewSerial ( ) : void
OJ_Serial ( ) : System
String_To_HEX ( string hexString ) : byte[]

Protected Methods

Method Description
Dispose ( bool disposing ) : void

清理所有正在使用的资源。

Private Methods

Method Description
Dtr_timer_Tick ( object sender, EventArgs e ) : void
Get_update ( object sender, EventArgs e ) : void
HEX_Mode ( ) : void
InitializeComponent ( ) : void

设计器支持所需的方法 - 不要 使用代码编辑器修改此方法的内容。

KP_Q ( object sender, KeyPressEventArgs e ) : void
NameOfSerial_DropDown ( object sender, EventArgs e ) : void
OJ_Serial_FormClosing ( object sender, FormClosingEventArgs e ) : void
OJ_Serial_KeyPress ( object sender, KeyPressEventArgs e ) : void
OPENJUMPER_logo_Click ( object sender, EventArgs e ) : void
RX_backgroundWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
RX_thread ( ) : void
Reset_button_Click ( object sender, EventArgs e ) : void
Save_Click ( object sender, EventArgs e ) : void
Update_TX_Show ( string Wkey ) : void
WKey_Click ( object sender, EventArgs e ) : void
_SerialPort_DataReceived ( object sender, SerialDataReceivedEventArgs e ) : void
_Serialport_tx ( string tx_info ) : void
autoScroll_checkBox_CheckedChanged ( object sender, EventArgs e ) : void
button1_Click ( object sender, EventArgs e ) : void
button1_Click_1 ( object sender, EventArgs e ) : void
button2_Click ( object sender, EventArgs e ) : void
button_D_Click ( object sender, EventArgs e ) : void
button_E_Click ( object sender, EventArgs e ) : void
button_F_Click ( object sender, EventArgs e ) : void
button_G_Click ( object sender, EventArgs e ) : void
checkBox1_CheckedChanged ( object sender, EventArgs e ) : void
checkBox6_CheckedChanged ( object sender, EventArgs e ) : void
clear_button_Click ( object sender, EventArgs e ) : void
comboBox1_SelectedIndexChanged ( object sender, EventArgs e ) : void
comboBox2_SelectedIndexChanged ( object sender, EventArgs e ) : void
comboBox3_SelectedIndexChanged ( object sender, EventArgs e ) : void
comboBox4_SelectedIndexChanged ( object sender, EventArgs e ) : void
comboBox6_SelectedIndexChanged ( object sender, EventArgs e ) : void
label17_Click ( object sender, EventArgs e ) : void
label19_Click ( object sender, EventArgs e ) : void
pictureBox1_Click ( object sender, EventArgs e ) : void
scroll_checkBox_CheckedChanged ( object sender, EventArgs e ) : void
statusStrip_Update ( ) : void
tabControl_Selected ( object sender, TabControlEventArgs e ) : void
timer1_Tick ( object sender, EventArgs e ) : void
trackBar1_Scroll ( object sender, EventArgs e ) : void
trackBar2_Scroll ( object sender, EventArgs e ) : void
trackBar3_Scroll ( object sender, EventArgs e ) : void
youSend ( ) : void

Method Details

Dispose() protected method

清理所有正在使用的资源。
protected Dispose ( bool disposing ) : void
disposing bool 如果应释放托管资源,为 true;否则为 false。
return void

HEX_To_ASCII() public method

public HEX_To_ASCII ( byte bytes ) : string
bytes byte
return string

HEX_To_String() public method

public HEX_To_String ( byte bytes ) : string
bytes byte
return string

NewSerial() public method

public NewSerial ( ) : void
return void

OJ_Serial() public method

public OJ_Serial ( ) : System
return System

String_To_HEX() public method

public String_To_HEX ( string hexString ) : byte[]
hexString string
return byte[]

Property Details

_SerialPort public_oe property

public System.IO.Ports.SerialPort _SerialPort
return System.IO.Ports.SerialPort

timer1 public_oe property

public System.Windows.Forms.Timer timer1
return System.Windows.Forms.Timer