wuww
2025-05-08 59c5cf61a2ba9b6083e2beb9f4a3035bcba76f93
src/main/java/com/se/nsl/controller/TestController.java
@@ -53,8 +53,8 @@
    @Resource
    SimuPoService simuPoService;
    @Resource
    Hdf5Service hdf5Service;
    //@Resource
    //Hdf5Service hdf5Service;
    @Resource
    ResultService resultService;
@@ -64,6 +64,9 @@
    @Resource
    PropertiesConfig config;
    @Resource
    ResolveService resolveService;
    @ApiOperation(value = "01.insertRegion <")
    @GetMapping("/insertRegion")
@@ -175,7 +178,7 @@
    @ApiOperation(value = "04.testPngList <")
    @GetMapping("/testPngList")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "path", value = "路径", dataType = "String", paramType = "query", example = "D:\\other\\simu\\out\\fs24cubic"),
            @ApiImplicitParam(name = "path", value = "路径", dataType = "String", paramType = "query", example = "fs24cubic"),
            @ApiImplicitParam(name = "size", value = "尺寸", dataType = "Integer", paramType = "query", example = "1024")
    })
    public R<Object> testPngList(String path, Integer size) {
@@ -311,6 +314,11 @@
    @ApiOperation(value = "10.当前时间 *")
    @GetMapping("/getTime")
    public Object getTime() {
        String rs = resolveService.createRainfallCsv("D:\\360\\zt.csv", "正态分布", 100, 10, 1);
        rs = resolveService.createRainfallCsv("D:\\360\\pj.csv", "平均分布", 100, 10, 1);
        rs = resolveService.createRainfallCsv("D:\\360\\bdpj.csv", "波动平均分布", 100, 10, 1);
        rs = resolveService.createRainfallCsv("D:\\360\\cxss.csv", "持续上升", 100, 10, 1);
        return (Object) System.currentTimeMillis();
    }