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