diff --git a/SCADA/Example/BatchCoreTest.exe b/SCADA/Example/BatchCoreTest.exe index 466585c..02781be 100644 Binary files a/SCADA/Example/BatchCoreTest.exe and b/SCADA/Example/BatchCoreTest.exe differ diff --git a/SCADA/Program/BatchCoreService/DAService.cs b/SCADA/Program/BatchCoreService/DAService.cs index 87bd4c2..529bda1 100644 --- a/SCADA/Program/BatchCoreService/DAService.cs +++ b/SCADA/Program/BatchCoreService/DAService.cs @@ -1358,9 +1358,8 @@ namespace BatchCoreService sendBuffer[0] = FCTCOMMAND.fctHead; sendBuffer[1] = FCTCOMMAND.fctReadMultiple; //bytes[2] = 0; - int len = data.Count; short j = 5; - for (int i = 0; i < len; i++) + for (int i = 0; i < data.Count; i++) { short id = data[i].ID; byte[] dt = BitConverter.GetBytes(id);