DcsNanJingAuto 构造函数 (String, Int32, Byte) |
指定服务器地址,端口号,客户端自己的站号来初始化
Specify the server address, port number, and client's own station number to initialize
命名空间:
HslCommunication.DCS
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public DcsNanJingAuto(
string ipAddress,
int port = 502,
byte station = 1
)
Public Sub New (
ipAddress As String,
Optional port As Integer = 502,
Optional station As Byte = 1
)
public:
DcsNanJingAuto(
String^ ipAddress,
int port = 502,
unsigned char station = 1
)
new :
ipAddress : string *
?port : int *
?station : byte
(* Defaults:
let _port = defaultArg port 502
let _station = defaultArg station 1
*)
-> DcsNanJingAuto
参数
- ipAddress
- 类型:SystemString
服务器的Ip地址 - port (Optional)
- 类型:SystemInt32
服务器的端口号 - station (Optional)
- 类型:SystemByte
客户端自身的站号
参见