mark for pull

This commit is contained in:
caixiang
2022-07-20 15:33:30 +08:00
parent 13020d05c9
commit 2b34011129
20 changed files with 767 additions and 35 deletions

View File

@@ -0,0 +1,46 @@
package com.cnbm.processInspection.graphAnalyzed;
import com.cnbm.processInspection.controlCoefficientConstant.XBarSCoefficients;
/**
* @Desc: ""
* @Author: caixiang
* @DATE: 2022/7/20 14:26
*
* 步骤:
* ① 先读mysql表查询 product_features 表,先读到 sample_size样本量
* ② 再依据 influx.argName == mysql.product_feature.name && 时间段 查询所有的 参数数据
* ③ 拿到参数数据后,分组 整合成List<Point>,
* 计算控制限
* 计算 母体 的 \sigma 、 bar{x} 。。。
* 计算CPK 、CPU 、CPL这些
* ④ 如果配置了判读方案,还要 调用 StatisticalControlledTest Function 检验。
* ⑤
*/
public class MeanStandardDeviationGraph {
private Double sbar;
private Double xbarbar;
private Double as;
private Double bu;
private Double bl;
private Integer sampleSize;
private String argName;
MeanStandardDeviationGraph(Integer sampleSize){
this.sampleSize = sampleSize;
this.as = XBarSCoefficients.getAS(sampleSize);
this.bu = XBarSCoefficients.getBU(sampleSize);
this.bl = XBarSCoefficients.getBU(sampleSize);
}
/**
* name : 初始化数据函数
* desc : 从influxdb 里面读取数据,然后 加工处理成 我需要的
* 步骤:
* ①
* */
public void initialDate(){
}
}