namespace PlcSiemens.Protocol.Common
{
    public enum ResultCode
    {
        /// <summary>
        /// 操作成功
        /// </summary>
        OKFF = 0xFF,

        OK = 00,

        /// <summary>
        /// PDU确认失败
        /// </summary>
        PduConfirmFault = 0x0999,

        CannotCopyRamToRom = 0x8001,
        ReadDataFalut = 0x9999,
        Unknown = 0xFFFF,

        AddressOutOfRange = 0x0005,
        InvalidTransportSize = 0x0006,
        WriteDataSizeMismatch = 0x0007,
        ItemNotAvailable = 0x000A,
        ItemNotAvailable1 = 0xD209,
        InvalidValue = 0xDC01,
        NeedPassword = 0xD241,
        InvalidPassword = 0xD602,
        NoPasswordToClear = 0xD604,
        NoPasswordToSet = 0xD605,
        FunNotAvailable = 0x8104,
        DataOverPdu = 0x8500,
    }
}
