namespace ModBus.Net
{
///
/// 协议转换的接口
///
public interface IProtocalFormatting
{
///
/// 从输入结构格式化
///
///
///
byte[] Format(InputStruct message);
///
/// 从对象的参数数组格式化
///
///
///
byte[] Format(params object[] message);
///
/// 把仪器返回的内容填充到输出结构中
///
///
///
///
OutputStruct Unformat(byte[] messageBytes, ref int pos);
}
}