| | |
| | | import com.alibaba.excel.annotation.write.style.ColumnWidth; |
| | | import com.alibaba.excel.annotation.write.style.ContentRowHeight; |
| | | import com.alibaba.excel.annotation.write.style.HeadRowHeight; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import lombok.Data; |
| | | import org.sxkj.fw.utils.excel.ExcelDictConverter; |
| | | import org.sxkj.fw.utils.excel.ExcelDictItem; |
| | | import org.sxkj.fw.utils.excel.ExcelDictItemLabel; |
| | | |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | import java.time.LocalTime; |
| | | import java.util.Date; |
| | | |
| | | |
| | |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 反无设备ID(关联ja_fw_device.id) |
| | | */ |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("反无设备ID(关联ja_fw_device.id)") |
| | | private Long deviceId; |
| | | |
| | | /** |
| | | * 无人机名称 |
| | | */ |
| | |
| | | * 无人机序列号 |
| | | */ |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("无人机序列号") |
| | | @ExcelProperty("序列号") |
| | | private String droneSerialNo; |
| | | /** |
| | | * 无人机类型(微型机/植保机...) |
| | | */ |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("无人机类型(微型机/植保机...)") |
| | | private String droneType; |
| | | /** |
| | | * 告警类型:实时告警/历史告警 |
| | | */ |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("告警类型:实时告警/历史告警") |
| | | private String alarmType; |
| | | |
| | | /** |
| | | * 告警时间 |
| | | */ |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("告警时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date alarmTime; |
| | | |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("区域名称") |
| | | private String areaName; |
| | | |
| | | /** |
| | | * 触发原因 |
| | | */ |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("触发原因") |
| | | private String triggerReason; |
| | | |
| | | |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("侦测反制设备") |
| | | private String deviceName; |
| | | |
| | | /** |
| | | * 飞行状态:侦测中/反制中 |
| | | * 无人机类型(微型机/植保机...) |
| | | */ |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("飞行状态:侦测中/反制中") |
| | | private String flightStatus; |
| | | /** |
| | | * 当前经度 |
| | | */ |
| | | @ExcelProperty(value = "设备类型") |
| | | private String droneType; |
| | | |
| | | |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("当前经度") |
| | | private Double longitude; |
| | | /** |
| | | * 当前纬度 |
| | | */ |
| | | @ExcelProperty("设备编号") |
| | | private String deviceSn; |
| | | |
| | | |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("当前纬度") |
| | | private Double latitude; |
| | | /** |
| | | * 信号频段(MHz) |
| | | */ |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("信号频段(MHz)") |
| | | private Integer signalFreqMhz; |
| | | /** |
| | | * 飞行高度(m) |
| | | */ |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("飞行高度(m)") |
| | | private Integer flightHeightM; |
| | | /** |
| | | * 飞行速度(m/s) |
| | | */ |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("飞行速度(m/s)") |
| | | private BigDecimal flightSpeedMs; |
| | | /** |
| | | * 停留时长 HH:MM:SS |
| | | */ |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("停留时长 HH:MM:SS") |
| | | private LocalTime stayDuration; |
| | | /** |
| | | * 反制方式:信号干扰/诱导驱离/无 |
| | | */ |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("反制方式:信号干扰/诱导驱离/无") |
| | | private String counterWay; |
| | | /** |
| | | * 区域id ja_fw_area_divide |
| | | */ |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("区域id ja_fw_area_divide") |
| | | private String areaDivideId; |
| | | /** |
| | | * 场景id ja_fw_defense_scene.id |
| | | */ |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("场景id ja_fw_defense_scene.id") |
| | | private String defenseSceneId; |
| | | /** |
| | | * 区域编码 |
| | | */ |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("区域编码") |
| | | private String areaCode; |
| | | /** |
| | | * 删除标志(0存在 1删除) |
| | | */ |
| | | @ColumnWidth(20) |
| | | @ExcelProperty("删除标志(0存在 1删除)") |
| | | private Byte isDeleted; |
| | | @ExcelProperty(value = "设备状态", converter = ExcelDictConverter.class) |
| | | @ExcelDictItemLabel(type = "deviceStatus") |
| | | @ExcelDictItem(type = "deviceStatus") |
| | | private String deviceStatus; |
| | | |
| | | |
| | | } |