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