Jazz Soft 您要联络吗?   JazzSoft@live.com     简体字汉语   英语  日语  繁体字汉语  简体字汉语
提供半导体工厂自动化与生产效率改善法 
Skip Navigation Links首页 > 产品一览 > Savoy > Savoy SECS I 详细资料 > Properties > PortNumber

Dorian.Core is added. Dorian now supports .NET 6 and 7.

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

PortNumber Property

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

Visual Basic

PortNumber As Integer


Visual C++

short GetPortNumber()
void SetPortNumber(short)

Return Value

Example

Visual Basic

.PortNumber = 0
.BaudRate = 9600
.Retry = 3
.Connect = True


Visual C++

m_ctrl.SetPortNumber(0);
m_ctrl.SetBaudRate(9600);
m_ctrl.SetRetry(3);
m_ctrl.SetConnect(true);

Remarks

Persistent property.

See Also

您要联络吗?   JazzSoft@live.com
  Copyright © 1997 - 2024 Jazz Soft, Inc.