using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Project
{
    public enum StepResult
    {
        Wait = 0,
        Complete,
        Error,
        Cancel,
    }
    public enum eNextStep : byte
    {
        NOTHING = 0,
        PAUSE,
        PAUSENOMESAGE,
        ERROR
    }

    public enum EFlag : byte
    {
        MINSPACE = 0,

        MOTZ_LIMD,
        MOTZ_LIMU,
        WAIT_COVER_DOWN,
        WAIT_COVER_UP,
        POSITION_OUT,
        FLAG_CHARGEALIGN,
        //FLAG_AUTORUN,
        FLAG_MOVING,
        FLAG_NEXTSTOP_MARK,
        FLAG_DIR_BW,
        FLAG_SETUP,
        FLAG_GATEOUT,
        FLAG_STOP,
        FLAG_LIMITHIGH,
        FLAG_LIMITHIGHL,
        FLAG_LIMITHIGHR,
        FLAG_LIMITLOW,
        FLAG_LIMITLOWL,
        FLAG_LIMITLOWR,
    }

    public enum eECode : byte
    {
        NOERROR,
        EMERGENCY,
        NOMODELV,
        USER_STOP,
        USER_STEP,

        AGVCONN,
        PLCCONN,

        MESSAGE_INFO,
        MESSAGE_ERROR,

        DOOFF,
        DOON,
        DIOFF,
        DION,

        NOTALLOWUP,
    }

    public enum eResult : byte
    {
        TimeOut,
        Dio,
        NoError,
        Setting,
        NoModel,
        Emergency,
        Sensor,
        Hardware,
        Motion,
        HomeTimeout,
        PCBDetect,
        Vision,
        LOT,
    }

    public enum ePosition : byte
    {
        NONE = 0,
        NOT,
        QA,
        QA_QC,
        QC,
        CHARGE,
        QC_F1,
        F1,
        F1_F2,
        F2,
        F2_F3,
        F3,
        F3_F4,
        F4,
        F4_F5,
        F5,
        POT,
    }
}
