Exemple #1
0
 public UInt16 ReadUInt16Packet(UInt32 addr, int timeoutInSec = AvalonPacket.DefaultTimeoutInSec)
 {
     lock (LockObject)
     {
         return(AvalonPacket.ReadUInt16Packet(Stream, addr, timeoutInSec));
     }
 }
Exemple #2
0
 public UInt16[] ReadUInt16Packet(UInt16 size, UInt32 addr, bool isIncremental = false, int timeoutInSec = AvalonPacket.DefaultTimeoutInSec)
 {
     lock (LockObject)
     {
         return(AvalonPacket.ReadUInt16Packet(Stream, size, addr, isIncremental, timeoutInSec));
     }
 }