新增 MR MS 控制图
This commit is contained in:
@@ -0,0 +1,107 @@
|
||||
package com.cnbm.qualityPlanning.entity;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* @Desc: "整合,处理好 后的一行数据 (sampleSize 后的数据) "
|
||||
* @Author: caixiang
|
||||
* @DATE: 2022/7/21 9:43
|
||||
*/
|
||||
public class XbarRPoint extends Point {
|
||||
List<Double> data = new ArrayList<>();
|
||||
private Double xbar;
|
||||
private Double r;
|
||||
//position 是这个数据在数组中的位置 ;; value 是待被判读方案 分析的value(从 xbar、s、r 中选一)
|
||||
public XbarRPoint(Integer position, Double value) {
|
||||
super(position, value);
|
||||
}
|
||||
//r 不满足 的 判读方案
|
||||
private Set<Integer> rUnsatisfiedRules;
|
||||
//xbar 不满足 的 判读方案
|
||||
private Set<Integer> xbarUnsatisfiedRules;
|
||||
|
||||
|
||||
private void setValueToTest(Double value){
|
||||
setValueForInterpretation(value);
|
||||
}
|
||||
|
||||
public Set<Integer> getrUnsatisfiedRules() {
|
||||
return rUnsatisfiedRules;
|
||||
}
|
||||
|
||||
public void setrUnsatisfiedRules(Set<Integer> rUnsatisfiedRules) {
|
||||
this.rUnsatisfiedRules = rUnsatisfiedRules;
|
||||
}
|
||||
|
||||
public Set<Integer> getXbarUnsatisfiedRules() {
|
||||
return xbarUnsatisfiedRules;
|
||||
}
|
||||
|
||||
public void setXbarUnsatisfiedRules(Set<Integer> xbarUnsatisfiedRules) {
|
||||
this.xbarUnsatisfiedRules = xbarUnsatisfiedRules;
|
||||
}
|
||||
|
||||
public List<Double> getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(List<Double> data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public Double getXbar() {
|
||||
return xbar;
|
||||
}
|
||||
|
||||
public void setXbar(Double xbar) {
|
||||
this.xbar = xbar;
|
||||
}
|
||||
|
||||
|
||||
public Double getR() {
|
||||
return r;
|
||||
}
|
||||
|
||||
public void setR(Double r) {
|
||||
this.r = r;
|
||||
}
|
||||
|
||||
public XbarRPoint(Integer position, Double value, Double xbar, Double r, List<Double> data) {
|
||||
super(position,value);
|
||||
this.xbar = xbar;
|
||||
this.r = r;
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer getPosition() {
|
||||
return super.getPosition();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Double getValueForInterpretation() {
|
||||
return super.getValueForInterpretation();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Set<Integer> getUnsatisfiedRules() {
|
||||
return super.getUnsatisfiedRules();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setPosition(Integer position) {
|
||||
super.setPosition(position);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setValueForInterpretation(Double valueForInterpretation) {
|
||||
super.setValueForInterpretation(valueForInterpretation);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setUnsatisfiedRules(Set<Integer> unsatisfiedRules) {
|
||||
super.setUnsatisfiedRules(unsatisfiedRules);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user