IHeatBufService.cs 3.22 KB
Newer Older
1 2
using FLY.FeedbackRenZiJia.Common;
using FObjBase;
3
using FObjBase.Reflect;
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace FLY.FeedbackRenZiJia.IService
{
    public interface IHeatBufService: INotifyPropertyChanged
    {
        #region 参数

        /// <summary>
        /// 加热生效曲线 [2,5,8,5,2]
        /// </summary>
19
        int[] HeatEffectCurve { get; set; }
20 21 22 23 24 25 26 27 28 29 30 31
        
        /// <summary>
        /// 厚度稳定范围 %, 偏差在范围内,都是稳定的 
        /// </summary>
        int StableRange { get; set; }

        /// <summary>
        /// 对位模式, 加热与厚度相关性阀值, 相关性 >=0.7
        /// </summary>
        double ThresholdR { get; set; }

        /// <summary>
32
        /// 对位模式 加热%差 的极差 >= 20% 才能触发  单位%
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
        /// </summary>
        int ThresholdMaxMin { get; set; }

        /// <summary>
        /// %
        /// 最大sigma, 只有当前的sigma  在 最大sigma 与 最小 sigma 内,才能控制
        /// </summary>
        int ThresholdSigmaMax { get; set; }

        #endregion

        #region 状态
        /// <summary>
        /// 延时
        /// </summary>
        TimeSpan Delay { get; }

        #region 对位 
        /// <summary>
52
        /// 对位查找范围 默认 ±120°, 最大值 180°,最小值 50°
53
        /// </summary>
54
        int SearchAngleRange { get; set; }
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
        /// <summary>
        /// 计算的最佳复位区号
        /// </summary>
        int BestOrgBoltNo { get; }

        /// <summary>
        /// 计算的最佳复位区号 对应的 加热/厚度 
        /// </summary>
        double BestKp { get; }

        /// <summary>
        /// 计算的最佳复位区号 对应的 加热与厚度相关性
        /// </summary>
        double MaxR { get; }
        
        /// <summary>
71 72 73 74 75 76
        /// 计算的最佳复位区号 对应的 加热%变化极差 单位%
        /// </summary>
        int MaxMin { get; }

        /// <summary>
        /// MaxR 对应的 数据幅 Id0
77
        /// </summary>
78 79 80 81 82 83 84 85 86 87 88
        long MaxR_Id0 { get; }

        /// <summary>
        /// MaxR 对应的 数据幅 Id1
        /// </summary>
        long MaxR_Id1 { get; }

        /// <summary>
        /// MaxR 对应的 数据幅 时间
        /// </summary>
        DateTime MaxR_Time { get; }
89 90 91 92 93 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 125 126 127 128 129 130 131 132

        #endregion

        #region 稳定性
        /// <summary>
        /// 当前检测出来的厚度数据 稳定状态
        /// </summary>
        STABILITY Stability { get; }

        /// <summary>
        /// 当前检测出来的厚度数据 的稳定性 
        /// </summary>
        double CurrR { get; }

        /// <summary>
        /// 当前检测出来的厚度数据 2Sigma
        /// </summary>
        double Curr2Sigma { get; }

        /// <summary>
        /// 当前检测出来的厚度数据,时间
        /// </summary>
        DateTime CurrTime { get; }

        #endregion



        #region 每个分区状态
        bool[] BoltIsStable { get; }
        #endregion

        #endregion


        #region 功能
        /// <summary>
        /// 参数应用
        /// </summary>
        void Apply();




133 134
        #endregion
    }
135
}