FlyData_FeedbackHeat.cs 2.25 KB
Newer Older
1 2
using FLY.FeedbackRenZiJia.Server.Model;
using FLY.Thick.Blowing.IService;
3
using System;
潘栩锋's avatar
潘栩锋 committed
4 5 6 7 8
using System.Collections.Generic;

namespace FLY.FeedbackRenZiJia.Common
{

潘栩锋's avatar
潘栩锋 committed
9
    public class FlyData_FeedbackHeat
潘栩锋's avatar
潘栩锋 committed
10
    {
11
        public Lc_ThickHeat thickHeat;
潘栩锋's avatar
潘栩锋 committed
12 13

        /// <summary>
14
        /// 稳定状态
潘栩锋's avatar
潘栩锋 committed
15
        /// </summary>
16
        public STABILITY Stability = STABILITY.IDLE;
潘栩锋's avatar
潘栩锋 committed
17 18

        /// <summary>
19
        /// 厚度均值
潘栩锋's avatar
潘栩锋 committed
20
        /// </summary>
21
        public double ThickAvg;
潘栩锋's avatar
潘栩锋 committed
22 23

        /// <summary>
24
        /// 大小 ChannelCnt, 均值为0
潘栩锋's avatar
潘栩锋 committed
25
        /// </summary>
26
        public double[] ThickPercents;
潘栩锋's avatar
潘栩锋 committed
27

潘栩锋's avatar
潘栩锋 committed
28
        /// <summary>
29
        /// 大小 ChannelCnt, 均值为0
潘栩锋's avatar
潘栩锋 committed
30
        /// </summary>
31
        public double[] HeatPercents;
潘栩锋's avatar
潘栩锋 committed
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
    }


    /// <summary>
    /// 稳定性
    /// </summary>
    public enum STABILITY
    {
        /// <summary>
        /// 待定,不知道!!
        /// </summary>
        IDLE = 0,
        /// <summary>
        /// 加热点,还没到达测厚仪。  其它状态都是加热已经起效了,顶多不稳定而已。
        /// </summary>
        ERROR_NO_ARRIVE = -1,
        /// <summary>
        /// 旋转次数太少,位置不能确定
        /// </summary>
        ERROR_POSITION_NOTSURE = -2,
        /// <summary>
        /// 一副数据,Sigma > 15% : 不稳定,变化太大,超出控制范围 
        /// </summary>
        ERROR_SIGMA_OVERSIZE = -3,
        /// <summary>
        /// 连续两幅图旋转时间变化 > 10%:不稳定,旋转速度波动大,测量不准确
        /// </summary>
        ERROR_ROTATE_CHANGED = -4,
        /// <summary>
        /// 连续两幅图厚度均值变化 > 10%: 不稳定,厚度波动大
        /// </summary>
        ERROR_THICK_CHANGED = -5,
64 65 66 67 68
        /// <summary>
        /// 膜距离,旋转角度被改变,无法判断
        /// </summary>
        ERROR_PARAM_CHANGED = -7,
        
潘栩锋's avatar
潘栩锋 committed
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91


        /// <summary>
        /// 不稳定,不相关
        /// </summary>
        ERROR_CORREL = -6,

        /// <summary>
        /// 加热与厚度差,相关性很高
        /// </summary>
        OK_HEAT_AND_THICK_CORREL = 3,
        /// <summary>
        /// 加热为0,加热与厚度差,相关性很高
        /// </summary>
        OK_CORREL = 2,
    }






}