commit for pull

This commit is contained in:
caixiang
2023-01-03 09:24:12 +08:00
parent 69f911c07c
commit c75c89cab9
11 changed files with 135 additions and 99 deletions

View File

@@ -1,5 +1,6 @@
package com.cnbm.qualityPlanning.entity;
import java.util.HashSet;
import java.util.Set;
/**
@@ -20,6 +21,13 @@ public class XMRPoint extends Point {
//xbar 不满足 的 判读方案
private Set<Integer> rsUnsatisfiedRules;
public XMRPoint(Integer position, Double value, Double x, Double rs) {
super(position,value);
this.x = x;
this.rs = rs;
xUnsatisfiedRules = new HashSet<Integer>();
rsUnsatisfiedRules = new HashSet<Integer>();
}
private void setValueToTest(Double value){
setValueForInterpretation(value);
@@ -57,11 +65,7 @@ public class XMRPoint extends Point {
this.rs = rs;
}
public XMRPoint(Integer position, Double value, Double x, Double rs) {
super(position,value);
this.x = x;
this.rs = rs;
}
@Override
public Integer getPosition() {

View File

@@ -1,6 +1,7 @@
package com.cnbm.qualityPlanning.entity;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
@@ -21,7 +22,14 @@ public class XbarRPoint extends Point {
private Set<Integer> rUnsatisfiedRules;
//xbar 不满足 的 判读方案
private Set<Integer> xbarUnsatisfiedRules;
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;
rUnsatisfiedRules = new HashSet<Integer>();
xbarUnsatisfiedRules = new HashSet<Integer>();
}
private void setValueToTest(Double value){
setValueForInterpretation(value);
@@ -68,12 +76,7 @@ public class XbarRPoint extends Point {
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() {

View File

@@ -3,6 +3,7 @@ package com.cnbm.qualityPlanning.entity;
import io.swagger.models.auth.In;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
@@ -20,12 +21,21 @@ public class XbarSPoint extends Point {
public XbarSPoint(Integer position, Double value) {
super(position, value);
}
//s 不满足 的 判读方案
private Set<Integer> sUnsatisfiedRules;
//xbar 不满足 的 判读方案
private Set<Integer> xbarUnsatisfiedRules;
public XbarSPoint(Integer position, Double value, Double xbar, Double s, Double r,List<Double> data) {
super(position,value);
this.xbar = xbar;
this.s = s;
this.r = r;
this.data = data;
sUnsatisfiedRules = new HashSet<Integer>();
xbarUnsatisfiedRules = new HashSet<Integer>();
}
private void setValueToTest(Double value){
setValueForInterpretation(value);
}
@@ -78,13 +88,7 @@ public class XbarSPoint extends Point {
this.r = r;
}
public XbarSPoint(Integer position, Double value, Double xbar, Double s, Double r,List<Double> data) {
super(position,value);
this.xbar = xbar;
this.s = s;
this.r = r;
this.data = data;
}
@Override
public Integer getPosition() {