V2/Cet/IO/Cet.IO.Protocols.Modbus/ModbusCommandCodec.cs
/// <summary>
/// Encode the client-side command toward the remote slave device
/// </summary>
/// <param name="command"></param>
/// <param name="body"></param>
/// <returns>True when the function operated successfully</returns>
Encode the client-side command toward the remote slave device
Encode the client - side command toward the remote slave device
public virtual bool ClientEncode(
            ModbusCommand command,
            ByteArrayWriter body)
        {
            return false;
        }
public virtual bool ClientEncode ( ModbusCommand command , ByteArrayWriter body ) { return false ; }
Encode the client-side command toward the remote slave device
Encode the client - side command toward the remote slave device
True when the function operated successfully
True when the function operated successfully
command
ModbusCommand
None
body
ByteArrayWriter
None