MegMeetTcpNet 构造函数 (String, Int32, Byte) |
通过指定站号,ip地址,端口号来实例化一个新的对象
命名空间:
HslCommunication.Profinet.MegMeet
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public MegMeetTcpNet(
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:
MegMeetTcpNet(
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
*)
-> MegMeetTcpNet
参数
- ipAddress
- 类型:SystemString
Ip地址 - port (Optional)
- 类型:SystemInt32
端口号 - station (Optional)
- 类型:SystemByte
站号信息
参见