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

namespace Project.StateMachine
{
    // public partial class StateMachine
    //{
    public enum eGoDir
    {
        Up,
        Down,
    }
    public enum EMsgOpt : byte
    {
        NORMAL,
        STEPCHANGE,
        ERROR,
    }
    /// <summary>
    /// 000~020 : System Define
    /// 020~255 : User Define
    /// </summary>
    public enum eSMStep : byte
    {
        NOTSET = 0,
        INIT,
        SYNC,
        IDLE,
        RUN,
        FINISH,
        PAUSE,
        ERROR,
        RESET,
        EMERGENCY,
        CLEAR,
        CLOSING,
        CLOSEWAIT,
        CLOSED,
    }

    /// <summary>
    /// RUN중일 때 사용되는 세부 시퀀스
    /// </summary>
    public enum ERunStep : byte
    {
        /// <summary>
        /// 자동모드 대기상태
        /// </summary>
        READY = 0,

        GOHOME,

        /// <summary>
        /// XBEE에서 원격으로 명령을 내리면 이 상태로 임시 전환된다. 260209
        /// </summary>
        REMOTECONTROL,
       
        /// <summary>
        /// 충전을 해제 함
        /// </summary>
        CHARGEOFF,

        /// <summary>
        /// 충전이동
        /// </summary>
        GOCHARGE,

        /// <summary>
        /// 충전중
        /// </summary>
        CHARGECHECK = 50,

        /// <summary>
        /// 상차이동
        /// </summary>
        BUFFER_OUT,


        /// <summary>
        /// 하차이동
        /// </summary>
        BUFFER_IN,

        LOADER_IN,
        LOADER_OUT,
        UNLOADER_IN,
        UNLOADER_OUT,
        CLEANER_IN,
        CLEANER_OUT,

        /// <summary>
        /// 목적지로 이동합니다
        /// </summary>
        GOTO,

        /// <summary>
        /// 전진방향으로 마크스탑진행
        /// </summary>
        MARKSTOPF,

        /// <summary>
        /// 후진방향으로 마크스탑진행
        /// </summary>
        MARKSTOPB,

        /// <summary>
        /// 에러발생
        /// </summary>
        ERROR,

    }





}
