修改 influxdb query函数

This commit is contained in:
caixiang
2022-12-08 15:28:10 +08:00
parent 2d9b0ea1f1
commit b93869c4a1
15 changed files with 69 additions and 48 deletions

View File

@@ -17,16 +17,17 @@ import java.util.List;
@Data
@ApiModel(value = "C控制图 结果类")
public class CGraphData {
@ApiModelProperty(value = "P控制图list数据")
@ApiModelProperty(value = "C控制图list数据")
private List<CPoint> list;
@ApiModelProperty(value = "P控制图 规格线")
private SpecificationLimit specificationLimit;
@ApiModelProperty(value = "P控制图 参数名")
//计数类参数,不需要显示规格线
// @ApiModelProperty(value = "C控制图 规格线")
// private SpecificationLimit specificationLimit;
@ApiModelProperty(value = "C控制图 参数名")
private String argName;
public CGraphData(List<CPoint> list, SpecificationLimit specificationLimit, String argName) {
public CGraphData(List<CPoint> list, String argName) {
this.list = list;
this.specificationLimit = specificationLimit;
// this.specificationLimit = specificationLimit;
this.argName = argName;
}
}

View File

@@ -22,14 +22,14 @@ import java.util.List;
public class NPGraphData {
@ApiModelProperty(value = "NP控制图list数据")
private List<NPPoint> list;
@ApiModelProperty(value = "NP控制图 规格线")
private SpecificationLimit specificationLimit;
// @ApiModelProperty(value = "NP控制图 规格线")
// private SpecificationLimit specificationLimit;
@ApiModelProperty(value = "NP控制图 参数名")
private String argName;
public NPGraphData(List<NPPoint> list, SpecificationLimit specificationLimit, String argName) {
public NPGraphData(List<NPPoint> list, String argName) {
this.list = list;
this.specificationLimit = specificationLimit;
// this.specificationLimit = specificationLimit;
this.argName = argName;
}
}

View File

@@ -19,14 +19,14 @@ import java.util.List;
public class PGraphData {
@ApiModelProperty(value = "P控制图list数据")
private List<PPoint> list;
@ApiModelProperty(value = "P控制图 规格线")
private SpecificationLimit specificationLimit;
// @ApiModelProperty(value = "P控制图 规格线")
// private SpecificationLimit specificationLimit;
@ApiModelProperty(value = "P控制图 参数名")
private String argName;
public PGraphData(List<PPoint> list, SpecificationLimit specificationLimit, String argName) {
public PGraphData(List<PPoint> list, String argName) {
this.list = list;
this.specificationLimit = specificationLimit;
// this.specificationLimit = specificationLimit;
this.argName = argName;
}
}

View File

@@ -19,14 +19,14 @@ import java.util.List;
public class UGraphData {
@ApiModelProperty(value = "U控制图list数据")
private List<UPoint> list;
@ApiModelProperty(value = "U控制图 规格线")
private SpecificationLimit specificationLimit;
// @ApiModelProperty(value = "U控制图 规格线")
// private SpecificationLimit specificationLimit;
@ApiModelProperty(value = "U控制图 参数名")
private String argName;
public UGraphData(List<UPoint> list, SpecificationLimit specificationLimit, String argName) {
public UGraphData(List<UPoint> list, String argName) {
this.list = list;
this.specificationLimit = specificationLimit;
//this.specificationLimit = specificationLimit;
this.argName = argName;
}
}