mark for pull
This commit is contained in:
parent
8a3a037bda
commit
2d1ef3d743
@ -1,6 +1,8 @@
|
||||
package com.cnbm.processInspection.controller;
|
||||
|
||||
import com.cnbm.basic.dto.ProductFeaturesDTO;
|
||||
import com.cnbm.basic.entity.ProductFeatures;
|
||||
import com.cnbm.basic.service.IProductFeaturesService;
|
||||
import com.cnbm.common.spc.math.StandardDiviation;
|
||||
import com.cnbm.common.spc.util.DataUtils;
|
||||
import com.cnbm.common.vo.R;
|
||||
@ -15,6 +17,7 @@ import com.cnbm.processInspection.graphAnalyzed.mr.MeanRGraph;
|
||||
import com.cnbm.processInspection.graphAnalyzed.ms.MeanStandardDeviationGraph;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
@ -29,11 +32,15 @@ import java.util.List;
|
||||
@RequestMapping("/processInspection")
|
||||
public class ProcessInspectionController {
|
||||
private static final Logger logger = LoggerFactory.getLogger(ProcessInspectionController.class);
|
||||
|
||||
@Autowired
|
||||
IProductFeaturesService productFeaturesService;
|
||||
|
||||
|
||||
@PostMapping("/XbarSGraphTest")
|
||||
public R<XbarSGraphData> xbarSGraphTest() throws Exception {
|
||||
ProductFeaturesDTO productFeaturesDTO = productFeaturesService.get(new Long(1));
|
||||
|
||||
|
||||
ProductFeatures productFeatures = new ProductFeatures();
|
||||
productFeatures.setSl(new Float(5));
|
||||
productFeatures.setUsl(new Float(10));
|
||||
|
@ -29,4 +29,8 @@ public class GraphArg {
|
||||
@ApiModelProperty(value = "判读方案列表")
|
||||
private List<InterpretationListArg> interpretationScheme;
|
||||
|
||||
@ApiModelProperty(value = "样本大小,不填的话用之前配置的")
|
||||
private Integer sampleSize;
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user