diff --git a/SCADA/Example/CoreTest.exe b/SCADA/Example/CoreTest.exe index 6238116..5599b16 100644 Binary files a/SCADA/Example/CoreTest.exe and b/SCADA/Example/CoreTest.exe differ diff --git a/SCADA/Program/.vs/DataExchange/v16/.suo b/SCADA/Program/.vs/DataExchange/v16/.suo index d4877ab..dfddda0 100644 Binary files a/SCADA/Program/.vs/DataExchange/v16/.suo and b/SCADA/Program/.vs/DataExchange/v16/.suo differ diff --git a/SCADA/Program/ClientDriver/ClientDriver.cs b/SCADA/Program/ClientDriver/ClientDriver.cs index 12feacc..f6f607d 100644 --- a/SCADA/Program/ClientDriver/ClientDriver.cs +++ b/SCADA/Program/ClientDriver/ClientDriver.cs @@ -365,7 +365,6 @@ namespace ClientDriver private void ReciveData() { if (!_active || _plcReader.tcpRecive == null) return; - List historys = new List(); ; byte[] bytes = new byte[ushort.MaxValue]; byte[] temp = new byte[ushort.MaxValue]; Storage value = Storage.Empty; @@ -380,6 +379,7 @@ namespace ClientDriver result = _tcpRecive.Receive(bytes, 0, bytes.Length, SocketFlags.None, out error); if (error == SocketError.Success) { + List historys = new List(); ; if (start != 0 && temp[0] == FCTCOMMAND.fctHead) { int j = 3;