Browse Source

fix bugs in shortgroup

master
Gavin 9 years ago
parent
commit
5c8c046ac3
  1. BIN
      SCADA/Program/.vs/DataExchange/v15/.suo
  2. BIN
      SCADA/Program/.vs/DataExchange/v15/Server/sqlite3/storage.ide
  3. BIN
      SCADA/Program/.vs/DataExchange/v15/sqlite3/storage.ide
  4. 8
      SCADA/Program/DataService/PLCGroup.cs
  5. BIN
      SCADA/dll/DataService.dll
  6. BIN
      SCADA/dll/ModbusDriver.dll
  7. BIN
      SCADA/dll/OPCDriver.dll
  8. BIN
      SCADA/dll/SiemensPLCDriver.dll

BIN
SCADA/Program/.vs/DataExchange/v15/.suo

Binary file not shown.

BIN
SCADA/Program/.vs/DataExchange/v15/Server/sqlite3/storage.ide

Binary file not shown.

BIN
SCADA/Program/.vs/DataExchange/v15/sqlite3/storage.ide

Binary file not shown.

8
SCADA/Program/DataService/PLCGroup.cs

@ -979,7 +979,13 @@ namespace DataService
}
else
{
if (addr.ByteOrder.HasFlag(ByteOrder.BigEndian)) prcv[iShort1] = IPAddress.HostToNetworkOrder(prcv[iShort1]);
if (addr.ByteOrder.HasFlag(ByteOrder.BigEndian))
{
for (int i = 0; i < addr.DataSize / 2; i++)
{
prcv[iShort1] = IPAddress.HostToNetworkOrder(prcv[iShort1]);
}
}
if (addr.DataSize <= 2)
{
if (prcv[iShort1] != cache[iShort]) _changedList.Add(index);

BIN
SCADA/dll/DataService.dll

Binary file not shown.

BIN
SCADA/dll/ModbusDriver.dll

Binary file not shown.

BIN
SCADA/dll/OPCDriver.dll

Binary file not shown.

BIN
SCADA/dll/SiemensPLCDriver.dll

Binary file not shown.
Loading…
Cancel
Save