Common.cs 3.04 KB
Newer Older
潘栩锋's avatar
潘栩锋 committed
1 2 3 4 5 6 7
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FLY.Thick.Base.Common
{
8 9 10
    /// <summary>
    /// 动作
    /// </summary>
潘栩锋's avatar
潘栩锋 committed
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
    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>
潘栩锋's avatar
潘栩锋 committed
76 77 78 79 80
        SYNC=15,
        /// <summary>
        /// 测量同步参数
        /// </summary>
        MEASURESYNC=16,
81 82 83 84 85 86 87 88 89

        /// <summary>
        /// 扫描标记
        /// </summary>
        SCANMARK=17,
        /// <summary>
        /// 标记打孔
        /// </summary>
        PUNCH=18,
潘栩锋's avatar
潘栩锋 committed
90
    }
91 92 93
    /// <summary>
    /// 
    /// </summary>
潘栩锋's avatar
潘栩锋 committed
94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
    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
    }
125 126 127 128
    
    /// <summary>
    /// 没有用!!!淘汰!!!
    /// </summary>
潘栩锋's avatar
潘栩锋 committed
129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148
    public enum GAGE_TYPE
    {
        /// <summary>
        /// 正常,C架,O架,激光
        /// </summary>
        Normal,
        /// <summary>
        /// 吹膜----定点
        /// </summary>
        BlowingFix,
        /// <summary>
        /// 吹膜----扫描
        /// </summary>
        BlowingScan,
        /// <summary>
        /// 同步 
        /// </summary>
        Sync
    }
}