This commit is contained in:
xyy
2026-03-14 19:21:11 +08:00
parent 0bc8dce03e
commit 98d0111560
2 changed files with 4 additions and 3 deletions

View File

@@ -282,6 +282,7 @@ namespace 自救器呼吸器综合检验仪
private void Window_Loaded(object sender, RoutedEventArgs e)
{
string plcIp = "192.168.1.10";
//string plcIp = "127.0.0.1";
bool initSuccess = Data.ModbusResourceManager.Instance.Init(plcIp, 502);
if (!initSuccess)
{