|
|
|
@ -2,11 +2,12 @@
|
|
|
|
|
{
|
|
|
|
|
public class PlcAddressUtil
|
|
|
|
|
{
|
|
|
|
|
public static readonly string IpAddress = "172.18.4.100";
|
|
|
|
|
public static readonly int Port = 102;
|
|
|
|
|
public static string IpAddress = "172.18.4.100";
|
|
|
|
|
public static int Port = 102;
|
|
|
|
|
|
|
|
|
|
//测试的Plc
|
|
|
|
|
// public static string IpAddress = "192.168.0.100";
|
|
|
|
|
// public static int Port = 7788;
|
|
|
|
|
//public static string IpAddress = "192.168.0.100";
|
|
|
|
|
//public static int Port = 7788;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|