设备监控:模板下载、离线数据导入、解析列表接口开发(只是预留口子)

This commit is contained in:
guofeihu
2024-07-03 20:36:56 +08:00
parent 5385d3163b
commit 815b90f47f
8 changed files with 386 additions and 2 deletions

View File

@@ -0,0 +1,121 @@
package com.njcn.csdevice.pojo.param;
import cn.afterturn.easypoi.excel.annotation.Excel;
import com.njcn.db.bo.BaseEntity;
import lombok.Data;
import java.time.LocalDateTime;
/**
* <p>
* 方案、测试项表
* </p>
*
* @author xuyang
* @since 2024-04-01
*/
@Data
public class WlRecordTemplete extends BaseEntity {
/**
* 测试项名称
*/
@Excel(name = "测试项名称", width = 15)
private String itemName;
/**
* 名称
*/
@Excel(name = "*名称", width = 15)
private String name;
/**
* 装置网关识别码
*/
@Excel(name = "*装置网关识别码", width = 15)
private String ndid;
/**
* 监测点id
*/
@Excel(name = "*监测点编号", width = 15)
private String lineId;
/**
* 统计间隔
*/
@Excel(name = "*统计间隔", width = 15)
private String statisticalInterval;
/**
* PT变比
*/
@Excel(name = "*PT变比", width = 15)
private String pt;
/**
* CT变比
*/
@Excel(name = "*CT变比", width = 15)
private Integer ct;
/**
* 电压等级
*/
@Excel(name = "*电压等级", width = 15)
private String voltageLevel;
/**
* 基准短路容量MVA
*/
@Excel(name = "*基准短路容量(MVA)", width = 15)
private String capacitySscb;
/**
* 最小短路容量MVA
*/
@Excel(name = "*最小短路容量(MVA)", width = 15)
private String capacitySscmin;
/**
* 供电设备容量MVA
*/
@Excel(name = "*供电设备容量(MVA)", width = 15)
private String capacitySt;
/**
* 用户协议容量MVA
*/
@Excel(name = "*用户协议容量(MVA)", width = 15)
private String capacitySi;
/**
* 电压接线方式(星型、角型、V型)
*/
@Excel(name = "*电压接线方式(星型、角型、V型)", width = 15)
private String volConType;
/**
* 电流接线方式(正常、合成IB、合成IC)
*/
@Excel(name = "*电流接线方式(正常、合成IB、合成IC)", width = 15)
private String curConSel;
/**
* 测试起始时间
*/
@Excel(name = "*测试起始时间", width = 15)
private String startTime;
/**
* 测试结束时间
*/
@Excel(name = "*测试结束时间", width = 15)
private LocalDateTime endTime;
/**
* 测试项监测位置
*/
@Excel(name = "测试项监测位置", width = 15)
private String location;
}

View File

@@ -0,0 +1,73 @@
package com.njcn.csdevice.pojo.po;
import com.baomidou.mybatisplus.annotation.TableName;
import com.njcn.db.bo.BaseEntity;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
/**
* <p>
*
* </p>
*
* @author guofeihu
* @since 2024-07-03
*/
@Getter
@Setter
@TableName("portable_offl_log")
public class PortableOfflLog extends BaseEntity {
private static final long serialVersionUID = 1L;
private String logsIndex;
/**
* 文件名称
*/
private String name;
/**
* 文件路径
*/
private String dataPath;
/**
* 0-未解析 1-解析成功 2-解析失败 3-文件不存在
*/
private Integer state;
/**
* 总条数
*/
private Integer allCount;
/**
* 入库条数
*/
private Integer realCount;
/**
* 创建用户
*/
private String createBy;
/**
* 创建时间
*/
private LocalDateTime createTime;
/**
* 更新用户
*/
private String updateBy;
/**
* 更新时间
*/
private LocalDateTime updateTime;
}