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

namespace FLY.Thick.Base.Common
{
    /// <summary>
    /// 动作
    /// </summary>
    public enum CTRL_STATE
    {
        /// <summary>
        /// 定点
        /// </summary>
        FIX = 0,
        /// <summary>
        /// 归零
        /// </summary>
        ORG = 1,
        /// <summary>
        /// 扫描
        /// </summary>
        SCAN = 2,
        /// <summary>
        /// 前进
        /// </summary>
        FORW = 3,
        /// <summary>
        /// 后退
        /// </summary>
        BACKW = 4,
        /// <summary>
        /// 停止
        /// </summary>
        STOP = 5,
        /// <summary>
        /// 急停
        /// </summary>
        EMGS = 6,
        /// <summary>
        /// 机架修正
        /// </summary>
        CORR = 7,
        /// <summary>
        /// 吹膜定点
        /// </summary>
        FIXEXT = 8,
        /// <summary>
        /// 获取样品
        /// </summary>
        GETSAMPLE = 9,
        /// <summary>
        /// 运行至。。。
        /// </summary>
        RUNNING = 10,
        /// <summary>
        /// 连接断开
        /// </summary>
        DISCONNECTED = 11,
        /// <summary>
        /// 获取机架信息
        /// </summary>
        GAGEINFO = 12,
        /// <summary>
        /// 暂停
        /// </summary>
        PAUSE=13,
        /// <summary>
        /// 自动扫描
        /// </summary>
        AUTOSCAN=14,
        /// <summary>
        /// 同步扫描
        /// </summary>
        SYNC=15,
        /// <summary>
        /// 测量同步参数
        /// </summary>
        MEASURESYNC=16,
    }
    /// <summary>
    /// 
    /// </summary>
    public enum STARTP2_MODE
    {
        /// <summary>
        /// 归零
        /// </summary>
        ORG = 0,
        /// <summary>
        /// 停止
        /// </summary>
        STOP = 1,
        /// <summary>
        /// 前进到机架总长
        /// </summary>
        FORW = 2,
        /// <summary>
        /// 后退到0脉冲
        /// </summary>
        BACKW = 3,
        /// <summary>
        /// 运行到targetpos
        /// </summary>
        RUNTO =4,
        /// <summary>
        /// 一直前进
        /// </summary>
        FORW_UNTIL_STOP=5,
        /// <summary>
        /// 一直后退
        /// </summary>
        BACKW_UNTIL_STOP=6
    }
    
    /// <summary>
    /// 没有用！！！淘汰！！！
    /// </summary>
    public enum GAGE_TYPE
    {
        /// <summary>
        /// 正常，C架，O架，激光
        /// </summary>
        Normal,
        /// <summary>
        /// 吹膜----定点
        /// </summary>
        BlowingFix,
        /// <summary>
        /// 吹膜----扫描
        /// </summary>
        BlowingScan,
        /// <summary>
        /// 同步 
        /// </summary>
        Sync
    }
}
