v2.3.2013.0716   升级Modbus协议,不再使用二进制序列化,保持和MF兼容
Stone 编写于 2013-07-16 17:39:37
X

namespace NewLife.Net.Modbus
{
    /// <summary>错误代码</summary>
    public enum Errors : byte
    {
        /// <summary>错误的功能代码</summary>
        FunctionCode = 1,

        /// <summary>错误的数据地址</summary>
        Address = 2,

        /// <summary>错误的数据值</summary>
        Value = 3,

        /// <summary>错误的个数</summary>
        Count,

        /// <summary>处理出错</summary>
        ProcessError,

        /// <summary>错误的数据长度</summary>
        MessageLength,

        /// <summary>Crc校验错误</summary>
        CrcError
    }
}