using FLY.Thick.Blowing.IService;
using System;
using System.Collections.Generic;
namespace FLY.FeedbackRenZiJia.Common
{
public class FlyData_FeedbackHeat
{
///
/// 开始测量时间!!!
///
public DateTime Time { get; set; }
///
/// 结束测量时间
///
public DateTime EndTime { get; set; }
///
/// 方向
///
public Misc.DIRECTION Direction;
///
/// 复位区号
///
public int OrgBoltNo = 1;
///
/// 旋转架旋转角度
///
public double RAngle = 350;
///
/// 膜距离
///
public double FilmLength = 24;
///
/// 旋转时间
///
public TimeSpan RotatePeriod;
///
/// 旋转次数
///
public int RotateCnt;
///
/// 厚度数据, 大小 NBolts
///
public int[] Thicks;
///
/// 分区表
///
public List Boltmap;
///
/// 开始改变加热时间
///
public DateTime HTime;
///
/// TODO 删除 加热数据编号,每次加热改变,编号++,这样可以不用比较加热是否相同
///
public int HNo = -1;
///
/// 加热数据,100%, 大小 ChannelCnt
///
public int[] Heats;
///
/// 稳定状态
///
public STABILITY Stability = STABILITY.IDLE;
}
///
/// 稳定性
///
public enum STABILITY
{
///
/// 待定,不知道!!
///
IDLE = 0,
///
/// 加热点,还没到达测厚仪。 其它状态都是加热已经起效了,顶多不稳定而已。
///
ERROR_NO_ARRIVE = -1,
///
/// 旋转次数太少,位置不能确定
///
ERROR_POSITION_NOTSURE = -2,
///
/// 一副数据,Sigma > 15% : 不稳定,变化太大,超出控制范围
///
ERROR_SIGMA_OVERSIZE = -3,
///
/// 连续两幅图旋转时间变化 > 10%:不稳定,旋转速度波动大,测量不准确
///
ERROR_ROTATE_CHANGED = -4,
///
/// 连续两幅图厚度均值变化 > 10%: 不稳定,厚度波动大
///
ERROR_THICK_CHANGED = -5,
///
/// 不稳定,不相关
///
ERROR_CORREL = -6,
///
/// 加热与厚度差,相关性很高
///
OK_HEAT_AND_THICK_CORREL = 3,
///
/// 加热为0,加热与厚度差,相关性很高
///
OK_CORREL = 2,
}
}