Browse Source

fix bug

pull/6/merge
Gavin 9 years ago
parent
commit
9d0bda6547
  1. 2
      SCADA/Program/DataService/CacheReader.cs
  2. BIN
      SCADA/Program/DataService/bin/Debug/DataService.dll
  3. BIN
      SCADA/Program/DataService/obj/Debug/DataService.dll

2
SCADA/Program/DataService/CacheReader.cs

@ -503,7 +503,7 @@ namespace DataService
public unsafe ItemData<bool> ReadBit(DeviceAddress address)
{
return new ItemData<bool>((_cache[address.CacheIndex] & (1 << address.Bit.BitSwap())) != 0, 0, QUALITIES.QUALITY_GOOD);
return new ItemData<bool>((_cache[address.CacheIndex] & (1 << address.Bit)) != 0, 0, QUALITIES.QUALITY_GOOD);
}
public ItemData<short> ReadInt16(DeviceAddress address)

BIN
SCADA/Program/DataService/bin/Debug/DataService.dll

Binary file not shown.

BIN
SCADA/Program/DataService/obj/Debug/DataService.dll

Binary file not shown.
Loading…
Cancel
Save