[fix]Config创建默认配置文件的开关Runtime.CreateConfigOnMissing,仅需对自动创建生效,而不应该阻止用户主动Save
智能大石头 authored at 2024-08-09 00:30:41 石头 committed at 2024-08-10 14:22:24
641.00 B
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
    }
}