feat: 增加旧版首页相关接口
parent
ab841e501b
commit
913227e50f
@ -0,0 +1,35 @@
|
||||
package com.xydl.cac.old;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Leo_Feng
|
||||
* @date 2021-09-17
|
||||
*/
|
||||
@Data
|
||||
public class ArrVo implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 观测字段
|
||||
*/
|
||||
@ApiModelProperty(value="观测字段", name="equipment")
|
||||
private String equipment;
|
||||
|
||||
/**
|
||||
* 值集合
|
||||
*/
|
||||
@ApiModelProperty(value="值集合", name="currentVals")
|
||||
private List<String> currentVals;
|
||||
|
||||
/**
|
||||
* 时间集合
|
||||
*/
|
||||
@ApiModelProperty(value="时间集合", name="dTimes")
|
||||
private List<String> dTimes;
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
package com.xydl.cac.old;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
@Api(tags = "旧接口")
|
||||
@RestController
|
||||
@RequestMapping("BlqController")
|
||||
public class ArresterController {
|
||||
|
||||
@Resource
|
||||
OldService service;
|
||||
|
||||
/**
|
||||
* 查询避雷器表格数据
|
||||
*
|
||||
* @param eqmid
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "查询避雷器表格数据")
|
||||
@GetMapping(value = "/queryTableData/{eqmid}")
|
||||
public AjaxResult queryTableData(@PathVariable Integer eqmid) {
|
||||
return AjaxResult.success(service.queryTableDataList2(eqmid));
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询避雷器趋势图数据
|
||||
*
|
||||
* @param eqmid
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "查询避雷器趋势图数据")
|
||||
@GetMapping(value = "/queryLineData/{eqmid}")
|
||||
public AjaxResult queryLineData(@PathVariable Integer eqmid) {
|
||||
return AjaxResult.success(service.queryLineDataList2(eqmid));
|
||||
}
|
||||
}
|
@ -0,0 +1,190 @@
|
||||
package com.xydl.cac.old;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Bobi_huo
|
||||
* @date 2020-12-25 18:31
|
||||
*/
|
||||
@Data
|
||||
public class ArresterVo implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* @Fields 设备id
|
||||
*/
|
||||
@ApiModelProperty(value="设备id", name="eqmId")
|
||||
private Integer eqmId;
|
||||
|
||||
/**
|
||||
* @Fields 创建时间
|
||||
*/
|
||||
@ApiModelProperty(value="创建时间", name="dTime")
|
||||
private String dTime;
|
||||
|
||||
/**
|
||||
* @Fields A相系统电压
|
||||
*/
|
||||
@ApiModelProperty(value="A相系统电压", name="ptA")
|
||||
private String ptA;
|
||||
|
||||
/**
|
||||
* @Fields A相全电流
|
||||
*/
|
||||
@ApiModelProperty(value="A相全电流", name="lcA")
|
||||
private String lcA;
|
||||
|
||||
/**
|
||||
* @Fields A相阻性电流
|
||||
*/
|
||||
@ApiModelProperty(value="A相阻性电流", name="rcA")
|
||||
private String rcA;
|
||||
|
||||
/**
|
||||
* @Fields B相系统电压
|
||||
*/
|
||||
@ApiModelProperty(value="B相系统电压", name="ptB")
|
||||
private String ptB;
|
||||
|
||||
/**
|
||||
* @Fields B相全电流
|
||||
*/
|
||||
@ApiModelProperty(value="B相全电流", name="lcB")
|
||||
private String lcB;
|
||||
|
||||
/**
|
||||
* @Fields B相阻性电流
|
||||
*/
|
||||
@ApiModelProperty(value="B相阻性电流", name="rcB")
|
||||
private String rcB;
|
||||
|
||||
/**
|
||||
* @Fields C相系统电压
|
||||
*/
|
||||
@ApiModelProperty(value="C相系统电压", name="ptC")
|
||||
private String ptC;
|
||||
|
||||
/**
|
||||
* @Fields C相全电流
|
||||
*/
|
||||
@ApiModelProperty(value="C相全电流", name="lcC")
|
||||
private String lcC;
|
||||
|
||||
/**
|
||||
* @Fields C相阻性电流
|
||||
*/
|
||||
@ApiModelProperty(value="C相阻性电流", name="rcC")
|
||||
private String rcC;
|
||||
|
||||
/**
|
||||
* @Fields A相最近落雷时间
|
||||
*/
|
||||
@ApiModelProperty(value="A相最近落雷时间", name="lastLigtmA")
|
||||
private String lastLigtmA;
|
||||
|
||||
/**
|
||||
* @Fields A相累计落雷次数
|
||||
*/
|
||||
@ApiModelProperty(value="A相累计落雷次数", name="ligcntA")
|
||||
private String ligcntA;
|
||||
|
||||
/**
|
||||
* @Fields A相容性电流
|
||||
*/
|
||||
@ApiModelProperty(value="A相容性电流", name="cacUrA")
|
||||
private String cacUrA;
|
||||
|
||||
/**
|
||||
* @Fields A相阻容比
|
||||
*/
|
||||
@ApiModelProperty(value="A相阻容比", name="riScarteA")
|
||||
private String riScarteA;
|
||||
|
||||
/**
|
||||
* @Fields A相IED与监测设备通讯异常
|
||||
*/
|
||||
@ApiModelProperty(value="A相IED与监测设备通讯异常", name="modeVconfA")
|
||||
private String modeVconfA;
|
||||
|
||||
/**
|
||||
* @Fields A相设备运行异常
|
||||
*/
|
||||
@ApiModelProperty(value="A相设备运行异常", name="supDevRunA")
|
||||
private String supDevRunA;
|
||||
|
||||
/**
|
||||
* @Fields B相最近落雷时间
|
||||
*/
|
||||
@ApiModelProperty(value="B相最近落雷时间", name="lastLigtmB")
|
||||
private String lastLigtmB;
|
||||
|
||||
/**
|
||||
* @Fields B相累计落雷次数
|
||||
*/
|
||||
@ApiModelProperty(value="B相累计落雷次数", name="ligcntB")
|
||||
private String ligcntB;
|
||||
|
||||
/**
|
||||
* @Fields B相容性电流
|
||||
*/
|
||||
@ApiModelProperty(value="B相容性电流", name="cacUrB")
|
||||
private String cacUrB;
|
||||
|
||||
/**
|
||||
* @Fields B相阻容比
|
||||
*/
|
||||
@ApiModelProperty(value="B相阻容比", name="riScarteB")
|
||||
private String riScarteB;
|
||||
|
||||
/**
|
||||
* @Fields B相IED与监测设备通讯异常
|
||||
*/
|
||||
@ApiModelProperty(value="B相IED与监测设备通讯异常", name="modeVconfB")
|
||||
private String modeVconfB;
|
||||
|
||||
/**
|
||||
* @Fields B相设备运行异常
|
||||
*/
|
||||
@ApiModelProperty(value="B相设备运行异常", name="supDevRunB")
|
||||
private String supDevRunB;
|
||||
|
||||
/**
|
||||
* @Fields C相最近落雷时间
|
||||
*/
|
||||
@ApiModelProperty(value="C相最近落雷时间", name="lastLigtmC")
|
||||
private String lastLigtmC;
|
||||
|
||||
/**
|
||||
* @Fields C相累计落雷次数
|
||||
*/
|
||||
@ApiModelProperty(value="C相累计落雷次数", name="ligcntC")
|
||||
private String ligcntC;
|
||||
|
||||
/**
|
||||
* @Fields C相容性电流
|
||||
*/
|
||||
@ApiModelProperty(value="C相容性电流", name="cacUrC")
|
||||
private String cacUrC;
|
||||
|
||||
/**
|
||||
* @Fields C相阻容比
|
||||
*/
|
||||
@ApiModelProperty(value="C相阻容比", name="riScarteC")
|
||||
private String riScarteC;
|
||||
|
||||
/**
|
||||
* @Fields C相IED与监测设备通讯异常
|
||||
*/
|
||||
@ApiModelProperty(value="C相IED与监测设备通讯异常", name="modeVconfC")
|
||||
private String modeVconfC;
|
||||
|
||||
/**
|
||||
* @Fields C相设备运行异常
|
||||
*/
|
||||
@ApiModelProperty(value="C相设备运行异常", name="supDevRunC")
|
||||
private String supDevRunC;
|
||||
}
|
@ -0,0 +1,112 @@
|
||||
package com.xydl.cac.old;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Bobi_huo
|
||||
* @date 2020-12-22 13:50
|
||||
*/
|
||||
@Data
|
||||
public class CableWarningDto extends Query implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* @Fields id
|
||||
*/
|
||||
@ApiModelProperty(value="主键", name="id")
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* @Fields 设备id
|
||||
*/
|
||||
@ApiModelProperty(value="设备id", name="eqmId")
|
||||
private String eqmId;
|
||||
|
||||
/**
|
||||
* @Fields 类型id
|
||||
*/
|
||||
@ApiModelProperty(value="类型id", name="lxid")
|
||||
private String lxid;
|
||||
|
||||
/**
|
||||
* @Fields 间隔id
|
||||
*/
|
||||
@ApiModelProperty(value="间隔id", name="jgid")
|
||||
private String jgid;
|
||||
|
||||
/**
|
||||
* @Fields 监测设备类型id
|
||||
*/
|
||||
@ApiModelProperty(value="监测设备类型id", name="mtid")
|
||||
private String mtid;
|
||||
|
||||
/**
|
||||
* @Fields 告警时间
|
||||
*/
|
||||
@ApiModelProperty(value="告警时间", name="warnTime")
|
||||
private String warnTime;
|
||||
|
||||
/**
|
||||
* @Fields 告警值
|
||||
*/
|
||||
@ApiModelProperty(value="告警值", name="warningValue")
|
||||
private String warningValue;
|
||||
|
||||
/**
|
||||
* 告警阈值
|
||||
*/
|
||||
@ApiModelProperty(value="告警阈值", name="threadval")
|
||||
private String threadval;
|
||||
|
||||
/**
|
||||
* 告警信息/设备名称/设备安装位置
|
||||
*/
|
||||
@ApiModelProperty(value="告警信息/设备名称/设备安装位置", name="warnDesc")
|
||||
private String warnDesc;
|
||||
|
||||
/**
|
||||
* 告警级别 0:高 1:中 2:低
|
||||
*/
|
||||
@ApiModelProperty(value="告警级别 0:高 1:中 2:低", name="warnLevel")
|
||||
private String warnLevel;
|
||||
|
||||
/**
|
||||
* 处理状态 0:已处理 1:未处理
|
||||
*/
|
||||
@ApiModelProperty(value="处理状态 0:已处理 1:未处理", name="state")
|
||||
private String state;
|
||||
|
||||
/**
|
||||
* 处理结果描述
|
||||
*/
|
||||
@ApiModelProperty(value="处理结果描述", name="process")
|
||||
private String process;
|
||||
|
||||
/**
|
||||
* 处理人id
|
||||
*/
|
||||
@ApiModelProperty(value="处理人id", name="processUser")
|
||||
private String processUser;
|
||||
|
||||
/**
|
||||
* 处理时间
|
||||
*/
|
||||
@ApiModelProperty(value="处理时间", name="processTime")
|
||||
private String processTime;
|
||||
|
||||
/**
|
||||
* 开始时间
|
||||
*/
|
||||
@ApiModelProperty(value="开始时间", name="startTime")
|
||||
private String startTime;
|
||||
|
||||
/**
|
||||
* 结束时间
|
||||
*/
|
||||
@ApiModelProperty(value="结束时间", name="endTime")
|
||||
private String endTime;
|
||||
}
|
@ -0,0 +1,94 @@
|
||||
package com.xydl.cac.old;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Bobi_huo
|
||||
* @date 2020-12-22 13:50
|
||||
*/
|
||||
@Data
|
||||
public class CableWarningVo implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* @Fields id
|
||||
*/
|
||||
@ApiModelProperty(value="主键", name="id")
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* @Fields 设备id
|
||||
*/
|
||||
@ApiModelProperty(value="设备id", name="eqmId")
|
||||
private String eqmId;
|
||||
|
||||
/**
|
||||
* 设备名称
|
||||
*/
|
||||
@ApiModelProperty(value="设备名称", name="deviceName")
|
||||
private String deviceName;
|
||||
|
||||
/**
|
||||
* 告警次数
|
||||
*/
|
||||
@ApiModelProperty(value="告警次数", name="warningCount")
|
||||
private String warningCount;
|
||||
|
||||
/**
|
||||
* @Fields 告警时间
|
||||
*/
|
||||
@ApiModelProperty(value="告警时间", name="warnTime")
|
||||
private String warnTime;
|
||||
|
||||
/**
|
||||
* @Fields 告警值
|
||||
*/
|
||||
@ApiModelProperty(value="告警值", name="warningValue")
|
||||
private String warningValue;
|
||||
|
||||
/**
|
||||
* 告警阈值
|
||||
*/
|
||||
@ApiModelProperty(value="告警阈值", name="threadval")
|
||||
private String threadval;
|
||||
|
||||
/**
|
||||
* 告警信息/设备名称/设备安装位置
|
||||
*/
|
||||
@ApiModelProperty(value="告警信息/设备名称/设备安装位置", name="warnDesc")
|
||||
private String warnDesc;
|
||||
|
||||
/**
|
||||
* 告警级别 0:高 1:中 2:低
|
||||
*/
|
||||
@ApiModelProperty(value="告警级别 0:高 1:中 2:低", name="warnLevel")
|
||||
private String warnLevel;
|
||||
|
||||
/**
|
||||
* 处理状态 0:已处理 1:未处理
|
||||
*/
|
||||
@ApiModelProperty(value="处理状态 0:已处理 1:未处理", name="state")
|
||||
private String state;
|
||||
|
||||
/**
|
||||
* 处理结果描述
|
||||
*/
|
||||
@ApiModelProperty(value="处理结果描述", name="process")
|
||||
private String process;
|
||||
|
||||
/**
|
||||
* 处理人id
|
||||
*/
|
||||
@ApiModelProperty(value="处理人id", name="processUser")
|
||||
private String processUser;
|
||||
|
||||
/**
|
||||
* 处理时间
|
||||
*/
|
||||
@ApiModelProperty(value="处理时间", name="processTime")
|
||||
private String processTime;
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
package com.xydl.cac.old;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
@Api(tags = "旧接口")
|
||||
@RestController
|
||||
@RequestMapping("ironCoreJoinClampController")
|
||||
public class IronCoreJoinClampController {
|
||||
|
||||
@Resource
|
||||
OldService service;
|
||||
|
||||
/**
|
||||
* 查询铁芯/夹件表格数据
|
||||
*
|
||||
* @param ironCoreId
|
||||
* @param clampId
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "查询铁芯/夹件表格数据")
|
||||
@GetMapping(value = "/queryTableData/{ironCoreId}/{clampId}")
|
||||
public AjaxResult queryTableData(@PathVariable("ironCoreId") Integer ironCoreId,
|
||||
@PathVariable("clampId") Integer clampId) {
|
||||
IronCoreJoinClampDto dto = new IronCoreJoinClampDto();
|
||||
dto.setIronCoreId(ironCoreId);
|
||||
dto.setClampId(clampId);
|
||||
// 铁芯/夹件表格取5条进行展示
|
||||
return AjaxResult.success(service.queryTableDataList(dto));
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询铁芯/夹件趋势图数据
|
||||
* @param ironCoreId
|
||||
* @param clampId
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "查询铁芯/夹件趋势图数据")
|
||||
@GetMapping(value = "/queryLineData/{ironCoreId}/{clampId}")
|
||||
public AjaxResult queryLineData(@PathVariable("ironCoreId") Integer ironCoreId,
|
||||
@PathVariable("clampId") Integer clampId) {
|
||||
IronCoreJoinClampDto dto = new IronCoreJoinClampDto();
|
||||
dto.setIronCoreId(ironCoreId);
|
||||
dto.setClampId(clampId);
|
||||
return AjaxResult.success(service.queryLineDataList(dto));
|
||||
}
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
package com.xydl.cac.old;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class IronCoreJoinClampDto {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* @Fields 铁芯设备id
|
||||
*/
|
||||
@ApiModelProperty(value="铁芯设备id", name="ironCoreId")
|
||||
private Integer ironCoreId;
|
||||
|
||||
/**
|
||||
* @Fields 夹件设备id
|
||||
*/
|
||||
@ApiModelProperty(value="夹件设备id", name="clampId")
|
||||
private Integer clampId;
|
||||
|
||||
/**
|
||||
* @Fields 创建时间
|
||||
*/
|
||||
@ApiModelProperty(value="创建时间", name="dTime")
|
||||
private String dTime;
|
||||
|
||||
/**
|
||||
* @Fields 铁芯A相泄露电流
|
||||
*/
|
||||
@ApiModelProperty(value="铁芯A相泄露电流", name="ironCoreValue")
|
||||
private String ironCoreValue;
|
||||
|
||||
/**
|
||||
* @Fields 夹件A相泄露电流
|
||||
*/
|
||||
@ApiModelProperty(value="夹件A相泄露电流", name="clampValue")
|
||||
private String clampValue;
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
package com.xydl.cac.old;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Leo_Feng
|
||||
* @date 2021-09-17
|
||||
*/
|
||||
@Data
|
||||
public class IronVo implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 气体
|
||||
*/
|
||||
@ApiModelProperty(value="观测字段", name="equipment")
|
||||
private String equipment;
|
||||
|
||||
/**
|
||||
* 值集合
|
||||
*/
|
||||
@ApiModelProperty(value="值集合", name="currentVals")
|
||||
private List<String> currentVals;
|
||||
|
||||
/**
|
||||
* 时间集合
|
||||
*/
|
||||
@ApiModelProperty(value="时间集合", name="dTimes")
|
||||
private List<String> dTimes;
|
||||
}
|
@ -0,0 +1,52 @@
|
||||
package com.xydl.cac.old;
|
||||
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
@Api(tags = "旧接口")
|
||||
@RestController
|
||||
@RequestMapping("oilChromaController")
|
||||
public class OilChromaController {
|
||||
|
||||
@Resource
|
||||
OldService service;
|
||||
|
||||
/**
|
||||
* 查询油色谱表格数据
|
||||
*
|
||||
* @param eqmid
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "查询油色谱表格数据")
|
||||
@GetMapping(value = "/queryTableData/{eqmid}")
|
||||
public AjaxResult queryTableData(@PathVariable Integer eqmid) {
|
||||
List<OilChromaVo> oilChromaVoList = service.queryTableDataList(eqmid);
|
||||
// 油色谱表格只取一条进行展示
|
||||
if (oilChromaVoList.size() != 0) {
|
||||
return AjaxResult.success(oilChromaVoList.get(0));
|
||||
} else {
|
||||
return AjaxResult.success("操作成功", null);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询油色谱趋势图数据
|
||||
*
|
||||
* @param eqmid
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "查询油色谱趋势图数据")
|
||||
@GetMapping(value = "/queryLineData/{eqmid}")
|
||||
public AjaxResult queryLineData(@PathVariable Integer eqmid) {
|
||||
return AjaxResult.success(service.queryLineDataList(eqmid));
|
||||
}
|
||||
}
|
@ -0,0 +1,114 @@
|
||||
package com.xydl.cac.old;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Bobi_huo
|
||||
* @date 2020-12-24 11:12
|
||||
*/
|
||||
@Data
|
||||
@ApiModel("油色谱")
|
||||
public class OilChromaVo implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* @Fields 主键
|
||||
*/
|
||||
@ApiModelProperty(value="主键", name="eqmId")
|
||||
private String eqmId;
|
||||
|
||||
/**
|
||||
* @Fields 甲烷含量
|
||||
*/
|
||||
@ApiModelProperty(value="甲烷含量", name="ch4ppm")
|
||||
private String ch4ppm;
|
||||
|
||||
/**
|
||||
* @Fields 乙烯含量
|
||||
*/
|
||||
@ApiModelProperty(value="乙烯含量", name="c2h4ppm")
|
||||
private String c2h4ppm;
|
||||
|
||||
/**
|
||||
* @Fields 乙烷含量
|
||||
*/
|
||||
@ApiModelProperty(value="乙烷含量", name="c2h6ppm")
|
||||
private String c2h6ppm;
|
||||
|
||||
/**
|
||||
* @Fields 乙炔含量
|
||||
*/
|
||||
@ApiModelProperty(value="乙炔含量", name="c2h2ppm")
|
||||
private String c2h2ppm;
|
||||
|
||||
/**
|
||||
* @Fields 氢气含量
|
||||
*/
|
||||
@ApiModelProperty(value="氢气含量", name="h2ppm")
|
||||
private String h2ppm;
|
||||
|
||||
/**
|
||||
* @Fields 一氧化碳含量
|
||||
*/
|
||||
@ApiModelProperty(value="一氧化碳含量", name="coppm")
|
||||
private String coppm;
|
||||
|
||||
/**
|
||||
* @Fields 二氧化碳含量
|
||||
*/
|
||||
@ApiModelProperty(value="二氧化碳含量", name="co2ppm")
|
||||
private String co2ppm;
|
||||
|
||||
/**
|
||||
* @Fields 氧气含量
|
||||
*/
|
||||
@ApiModelProperty(value="氧气含量", name="o2ppm")
|
||||
private String o2ppm;
|
||||
|
||||
/**
|
||||
* @Fields 氮气含量
|
||||
*/
|
||||
@ApiModelProperty(value="氮气含量", name="n2ppm")
|
||||
private String n2ppm;
|
||||
|
||||
/**
|
||||
* @Fields 水含量
|
||||
*/
|
||||
@ApiModelProperty(value="水含量", name="h2oppm")
|
||||
private String h2oppm;
|
||||
|
||||
/**
|
||||
* @Fields 载气压力
|
||||
*/
|
||||
@ApiModelProperty(value="载气压力", name="gaspress")
|
||||
private String gaspress;
|
||||
|
||||
/**
|
||||
* @Fields 瓦斯继电器中故障气
|
||||
*/
|
||||
@ApiModelProperty(value="瓦斯继电器中故障气", name="flatgas")
|
||||
private String flatgas;
|
||||
|
||||
/**
|
||||
* @Fields 总烃
|
||||
*/
|
||||
@ApiModelProperty(value="总烃", name="totalhydrocarbon")
|
||||
private String totalhydrocarbon;
|
||||
|
||||
/**
|
||||
* @Fields 总可燃气体
|
||||
*/
|
||||
@ApiModelProperty(value="总可燃气体", name="cmbugas")
|
||||
private String cmbugas;
|
||||
|
||||
/**
|
||||
* @Fields 创建时间
|
||||
*/
|
||||
@ApiModelProperty(value="创建时间", name="dTime")
|
||||
private String dTime;
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
package com.xydl.cac.old;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Bobi_huo
|
||||
* @date 2020-12-24 11:12
|
||||
*/
|
||||
@Data
|
||||
public class OilVo implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 气体
|
||||
*/
|
||||
@ApiModelProperty(value="观测字段", name="gas")
|
||||
private String gas;
|
||||
|
||||
/**
|
||||
* 值集合
|
||||
*/
|
||||
@ApiModelProperty(value="值集合", name="currentVals")
|
||||
private List<String> currentVals;
|
||||
|
||||
/**
|
||||
* 时间集合
|
||||
*/
|
||||
@ApiModelProperty(value="时间集合", name="dTimes")
|
||||
private List<String> dTimes;
|
||||
}
|
@ -0,0 +1,58 @@
|
||||
package com.xydl.cac.old;
|
||||
|
||||
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
public class Query implements Serializable {
|
||||
|
||||
public String page = "1";
|
||||
public String limit = "10";
|
||||
public String orderByField = "";
|
||||
public String isAsc = "";
|
||||
|
||||
/**
|
||||
* 请求参数
|
||||
*/
|
||||
private String params;
|
||||
|
||||
public Integer getPage() {
|
||||
return Integer.parseInt( page );
|
||||
}
|
||||
|
||||
public void setPage(String page) {
|
||||
this.page = page;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return Integer.parseInt( limit );
|
||||
}
|
||||
|
||||
public void setLimit(String limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public String getOrderByField() {
|
||||
return orderByField;
|
||||
}
|
||||
|
||||
public void setOrderByField(String orderByField) {
|
||||
this.orderByField = orderByField;
|
||||
}
|
||||
|
||||
public String getIsAsc() {
|
||||
return isAsc;
|
||||
}
|
||||
|
||||
public void setIsAsc(String isAsc) {
|
||||
this.isAsc = isAsc;
|
||||
}
|
||||
|
||||
|
||||
public void setParams(String params) {
|
||||
this.params = params;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
package com.xydl.cac.old;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
@Api(tags = "旧接口")
|
||||
@RestController
|
||||
@RequestMapping("SF6Controller")
|
||||
public class SF6Controller{
|
||||
|
||||
@Resource
|
||||
OldService service;
|
||||
|
||||
/**
|
||||
* 查询母线侧隔离开关50511表格数据
|
||||
*
|
||||
* @param eqmid
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "查询GIS-SF6表格数据")
|
||||
@GetMapping(value = "/queryTableData/{eqmid}")
|
||||
public AjaxResult queryTableData(@PathVariable Integer eqmid) {
|
||||
return AjaxResult.success(service.queryTableDataList3(eqmid));
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询母线侧隔离开关50511趋势图数据
|
||||
*
|
||||
* @param eqmid
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "查询GIS-SF6趋势图数据")
|
||||
@GetMapping(value = "/queryLineData/{eqmid}")
|
||||
public AjaxResult queryLineData(@PathVariable Integer eqmid) {
|
||||
return AjaxResult.success(service.queryLineDataList3(eqmid));
|
||||
}
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
package com.xydl.cac.old;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author
|
||||
* @date
|
||||
*/
|
||||
@Data
|
||||
public class SF6LineVo implements Serializable {
|
||||
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 观测字段
|
||||
*/
|
||||
@ApiModelProperty(value = "观测字段", name = "equipment")
|
||||
private String equipment;
|
||||
|
||||
/**
|
||||
* 值集合
|
||||
*/
|
||||
@ApiModelProperty(value = "值集合", name = "currentVals")
|
||||
private List<String> currentVals;
|
||||
|
||||
/**
|
||||
* 时间集合
|
||||
*/
|
||||
@ApiModelProperty(value = "时间集合", name = "dTimes")
|
||||
private List<String> dTimes;
|
||||
}
|
@ -0,0 +1,118 @@
|
||||
package com.xydl.cac.old;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Bobi_huo
|
||||
* @date 2020-12-25 20:13
|
||||
*/
|
||||
@Data
|
||||
public class SF6Vo implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* @Fields 设备id
|
||||
*/
|
||||
@ApiModelProperty(value="设备id", name="eqmId")
|
||||
private Integer eqmId;
|
||||
|
||||
/**
|
||||
* @Fields 创建时间
|
||||
*/
|
||||
@ApiModelProperty(value="创建时间", name="dTime")
|
||||
private String dTime;
|
||||
|
||||
/**
|
||||
* @Fields A相温度
|
||||
*/
|
||||
@ApiModelProperty(value="A相温度", name="tempA")
|
||||
private String tempA;
|
||||
|
||||
/**
|
||||
* @Fields A相压力
|
||||
*/
|
||||
@ApiModelProperty(value="A相压力", name="pressureA")
|
||||
private String pressureA;
|
||||
|
||||
/**
|
||||
* @Fields A相密度
|
||||
*/
|
||||
@ApiModelProperty(value="A相密度", name="mdA")
|
||||
private String mdA;
|
||||
|
||||
/**
|
||||
* @Fields A相微水
|
||||
*/
|
||||
@ApiModelProperty(value="A相微水", name="pmA")
|
||||
private String pmA;
|
||||
|
||||
/**
|
||||
* @Fields A相露点
|
||||
*/
|
||||
@ApiModelProperty(value="A相露点", name="dDtA")
|
||||
private String dDtA;
|
||||
|
||||
/**
|
||||
* @Fields B相温度
|
||||
*/
|
||||
@ApiModelProperty(value="B相温度", name="tempB")
|
||||
private String tempB;
|
||||
|
||||
/**
|
||||
* @Fields B相压力
|
||||
*/
|
||||
@ApiModelProperty(value="B相压力", name="pressureB")
|
||||
private String pressureB;
|
||||
|
||||
/**
|
||||
* @Fields B相密度
|
||||
*/
|
||||
@ApiModelProperty(value="B相密度", name="mdB")
|
||||
private String mdB;
|
||||
|
||||
/**
|
||||
* @Fields B相微水
|
||||
*/
|
||||
@ApiModelProperty(value="B相微水", name="pmB")
|
||||
private String pmB;
|
||||
|
||||
/**
|
||||
* @Fields B相露点
|
||||
*/
|
||||
@ApiModelProperty(value="B相露点", name="dDtB")
|
||||
private String dDtB;
|
||||
|
||||
/**
|
||||
* @Fields C相温度
|
||||
*/
|
||||
@ApiModelProperty(value="C相温度", name="tempC")
|
||||
private String tempC;
|
||||
|
||||
/**
|
||||
* @Fields C相压力
|
||||
*/
|
||||
@ApiModelProperty(value="C相压力", name="pressureC")
|
||||
private String pressureC;
|
||||
|
||||
/**
|
||||
* @Fields C相密度
|
||||
*/
|
||||
@ApiModelProperty(value="C相密度", name="mdC")
|
||||
private String mdC;
|
||||
|
||||
/**
|
||||
* @Fields C相微水
|
||||
*/
|
||||
@ApiModelProperty(value="C相微水", name="pmC")
|
||||
private String pmC;
|
||||
|
||||
/**
|
||||
* @Fields C相露点
|
||||
*/
|
||||
@ApiModelProperty(value="C相露点", name="dDtC")
|
||||
private String dDtC;
|
||||
}
|
Loading…
Reference in New Issue