DLT645OverTcp 构造函数 (String, Int32, String, String, String) |
指定IP地址,端口,地址域,密码,操作者代码来实例化一个对象
Specify the IP address, port, address field, password, and operator code to instantiate an object
命名空间:
HslCommunication.Instrument.DLT
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public DLT645OverTcp(
string ipAddress,
int port = 502,
string station = "1",
string password = "",
string opCode = ""
)
Public Sub New (
ipAddress As String,
Optional port As Integer = 502,
Optional station As String = "1",
Optional password As String = "",
Optional opCode As String = ""
)
public:
DLT645OverTcp(
String^ ipAddress,
int port = 502,
String^ station = L"1",
String^ password = L"",
String^ opCode = L""
)
new :
ipAddress : string *
?port : int *
?station : string *
?password : string *
?opCode : string
(* Defaults:
let _port = defaultArg port 502
let _station = defaultArg station "1"
let _password = defaultArg password ""
let _opCode = defaultArg opCode ""
*)
-> DLT645OverTcp
参数
- ipAddress
- 类型:SystemString
TcpServer的IP地址 - port (Optional)
- 类型:SystemInt32
TcpServer的端口 - station (Optional)
- 类型:SystemString
设备的站号信息 - password (Optional)
- 类型:SystemString
密码,写入的时候进行验证的信息 - opCode (Optional)
- 类型:SystemString
操作者代码
参见