diff --git a/EmergencyStopWindow.xaml.cs b/EmergencyStopWindow.xaml.cs index 323c099..7b74a3a 100644 --- a/EmergencyStopWindow.xaml.cs +++ b/EmergencyStopWindow.xaml.cs @@ -114,7 +114,8 @@ namespace EmptyLoadTest try { - string plcIp = "192.168.1.10"; + //string plcIp = "192.168.1.10"; + string plcIp = "127.0.0.1"; bool initSuccess = ModbusResourceManager.Instance.Init(plcIp, 502); if (!initSuccess) { diff --git a/MainWindow.xaml b/MainWindow.xaml index 2cb6cb9..e9257d5 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -219,6 +219,7 @@ + @@ -341,7 +342,8 @@ - +