From dc197701ab52a37e2b569f278fce4ebf1276aa9f Mon Sep 17 00:00:00 2001
From: xyy <544939200@qq.com>
Date: Mon, 20 Apr 2026 14:03:34 +0800
Subject: [PATCH]
---
EmergencyStopWindow.xaml.cs | 3 ++-
MainWindow.xaml | 6 ++++--
MainWindow.xaml.cs | 26 +++++++++++++++++++++++++-
医用刨削器特征新版8.csproj | 6 ++++++
医用刨削器特征新版8.sln | 10 ++++++++--
5 files changed, 45 insertions(+), 6 deletions(-)
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 @@
-
+