WIDESEAWCS_Server/WIDESEAWCS_Communicator/Siemens/SiemensS7Communicator.cs
@@ -96,7 +96,7 @@ public SiemensS7(string ipAddress, int port, string name) { string path = AppDomain.CurrentDomain.BaseDirectory + $"Log_PLCReadWrite\\{name}"; _logNet = new LogNetFileSize(path, 3 * 1024 * 1024, 100); _logNet = new LogNetFileSize(path, 10 * 1024 * 1024, 100); bool ipCheck = IPAddress.TryParse(ipAddress, out IPAddress? address); if (!ipCheck) @@ -311,7 +311,6 @@ { try { //实例化一个西门子的S7协议的通讯对象 plc = new SiemensS7Net(SiemensPLCS.S1500) {