Savoy SECS I 詳細資料
Properties
Appearance
BaudRate
BorderStyle
Connect
DeviceID
IniFileName
IniSection
Log
LogBakCount
LogFileName
LogSize
LogVerbose
Master
MSEC
PortNumber
Retry
T1
T2
T3
T4
Methods
AboutBox
LoadIniFile
Send
Setup
Events
Problem
Received
Sent
|
Gets or sets the serial port number. Port number starts at 0. For example, comm #1 is 0, comm. #2 is 1.
Default value is 0.
Syntax
|
short GetPortNumber()
void SetPortNumber(short)
|
Return Value
Example
|
.PortNumber = 0
.BaudRate = 9600
.Retry = 3
.Connect = True
|
|
m_ctrl.SetPortNumber(0);
m_ctrl.SetBaudRate(9600);
m_ctrl.SetRetry(3);
m_ctrl.SetConnect(true);
|
Remarks
Persistent property.
See Also
|
|