This commit is contained in:
xyy
2026-01-06 16:21:54 +08:00
parent b7c6039032
commit e2d9c14ea9
2 changed files with 4 additions and 4 deletions

View File

@@ -205,8 +205,8 @@ namespace 外科辅料和患者防护罩激光抗性测试仪
private void ParameterSetting_Load(object sender, EventArgs e)
{
//string plcIp = "192.168.1.10";
string plcIp = "127.0.0.1";
string plcIp = "192.168.1.10";
//string plcIp = "127.0.0.1";
bool initSuccess = Data.ModbusResourceManager.Instance.Init(plcIp, 502);
if (!initSuccess)
{

View File

@@ -328,8 +328,8 @@ namespace 外科辅料和患者防护罩激光抗性测试仪
private void PenetrationForm_Load(object sender, EventArgs e)
{
//string plcIp = "192.168.1.10";
string plcIp = "127.0.0.1";
string plcIp = "192.168.1.10";
//string plcIp = "127.0.0.1";
bool initSuccess = Data.ModbusResourceManager.Instance.Init(plcIp, 502);
if (!initSuccess)
{