修改IP为本地IP

dep
我叫锄头 12 months ago
parent a79e67a57a
commit 09e043b212

@ -1,12 +1,6 @@
using HslCommunication.Instrument.DLT; 
using HslCommunication.Profinet.Siemens; using HslCommunication.Profinet.Siemens;
using System; using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace DataBlockHelper namespace DataBlockHelper
@ -29,7 +23,6 @@ namespace DataBlockHelper
s7.SetPersistentConnection(); s7.SetPersistentConnection();
s7.IpAddress = "172.18.4.100"; s7.IpAddress = "172.18.4.100";
//s7.IpAddress = "192.168.1.110";
s7.Port = 102; s7.Port = 102;
var su = s7.ConnectServer(); var su = s7.ConnectServer();

Loading…
Cancel
Save