Example #1
0
 /// <summary>
 /// Decode the incoming data from the remote slave device
 /// to a client-side command
 /// </summary>
 /// <param name="command"></param>
 /// <param name="body"></param>
 public virtual void ClientDecode(
     ModbusCommand command,
     ByteArrayReader body)
 {
 }
 public override void ClientDecode(
     ModbusCommand command,
     ByteArrayReader body)
 {
     //not used
 }
Example #3
0
 /// <summary>
 /// Encode the client-side command toward the remote slave device
 /// </summary>
 /// <param name="command"></param>
 /// <param name="body"></param>
 public virtual void ClientEncode(
     ModbusCommand command,
     ByteArrayWriter body)
 {
 }