ErrorCode.cs 1.4 KB
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RCS.Model.Comm
{
    [Flags]
    public enum AGVErrorCode : ulong
    {
        运行 = 0x0000,
        障碍报警 = 0x0001,
        防撞条碰撞 = 0x0002,
        暂停 = 0x0004,
        脱轨 = 0x0008,
        平台报警 = 0x0010,
        货架二维码对中 = 0x0020,
        系统停车 = 0x0040,
        地面二维码对中 = 0x0080,
        急停停车 = 0x0100,
        目标停车 = 0x0200,
        货架丢失报警 = 0x0400,
        驱动器报警 = 0x0800,
        定位异常 = 0x1000,
        中心点位置偏离轨道过大报警 = 0x2000,
        低电量停车 = 0x4000,
        距离判断脱轨 = 0x8000,
        货叉过流报警 = 0x10000,
        货叉马达报警 = 0x20000,
        货叉CAN超时报警 = 0x40000,
        拉线编码器超时报警 = 0x80000,
        放料任务失败 = 0x100000,
        取料任务失败 = 0x200000,
        上升到限位信号报警 = 0x400000,
        上升超时报警 = 0x800000,
        下降超时报警 = 0x1000000,
        待定 = 0x2000000,
        放料前货叉没有料 = 0x4000000,
        测距传感器没有感应到挡板 = 0x8000000,
        AGV工控机故障 = 0x10000000,
        小车飘点 = 0x20000000,
        紧急停车 = 0x40000000,
        定位失败 = 0x80000000
    }
}