C# Class SPA.OJ_Serial

Afficher le fichier Open project: coloz/Serial-Assistant

Méthodes publiques

Свойство Type Description
_SerialPort System.IO.Ports.SerialPort
timer1 System.Windows.Forms.Timer

Méthodes publiques

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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

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

Private Methods

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

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

HEX_To_ASCII() public méthode

public HEX_To_ASCII ( byte bytes ) : string
bytes byte
Résultat string

HEX_To_String() public méthode

public HEX_To_String ( byte bytes ) : string
bytes byte
Résultat string

NewSerial() public méthode

public NewSerial ( ) : void
Résultat void

OJ_Serial() public méthode

public OJ_Serial ( ) : System
Résultat System

String_To_HEX() public méthode

public String_To_HEX ( string hexString ) : byte[]
hexString string
Résultat byte[]

Property Details

_SerialPort public_oe property

public System.IO.Ports.SerialPort _SerialPort
Résultat System.IO.Ports.SerialPort

timer1 public_oe property

public System.Windows.Forms.Timer timer1
Résultat System.Windows.Forms.Timer