|  |  |  | 
|---|
|  |  |  | package com.ruoyi.integration.api.model; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import io.swagger.annotations.ApiModelProperty; | 
|---|
|  |  |  | import lombok.Data; | 
|---|
|  |  |  | import lombok.experimental.Accessors; | 
|---|
|  |  |  | import org.springframework.data.annotation.Id; | 
|---|
|  |  |  | import org.springframework.data.mongodb.core.mapping.Document; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.math.BigDecimal; | 
|---|
|  |  |  | import java.time.LocalDateTime; | 
|---|
|  |  |  | import java.util.Date; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 上传实时监测数据 | 
|---|
|  |  |  | 
|---|
|  |  |  | @Document(collection = "upload_real_time_monitoring_data") //指定要对应的文档名(表名) | 
|---|
|  |  |  | @Accessors(chain = true) | 
|---|
|  |  |  | public class UploadRealTimeMonitoringData extends BaseModel { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Id | 
|---|
|  |  |  | private String transaction_serial_number; // 交易流水号 | 
|---|
|  |  |  | private String charging_pile_code; // 桩编码 | 
|---|
|  |  |  | private String charging_gun_code; // 抢号 | 
|---|
|  |  |  | 
|---|
|  |  |  | private Integer insertion_status; // 是否插枪(0:否,1:是) | 
|---|
|  |  |  | private BigDecimal output_voltage; // 输出电压,精确到小数点后一位;待机置零 | 
|---|
|  |  |  | private BigDecimal output_current; // 输出电流,精确到小数点后一位;待机置零 | 
|---|
|  |  |  | private BigDecimal power; // 功率 | 
|---|
|  |  |  | private Integer gun_line_temperature; // 枪线温度,整形,偏移量-50;待机置零 | 
|---|
|  |  |  | private String gun_line_code; // 枪线编码,没有置零 | 
|---|
|  |  |  | private Integer soc; // SOC待机置零;交流桩置零 | 
|---|
|  |  |  | 
|---|
|  |  |  | private BigDecimal loss_of_charging_degree; // 计损充电度数,精确到小数点后四位;待机置零,未设置计损比例时等于充电度数 | 
|---|
|  |  |  | private BigDecimal paid_amount; // 已充金额,精确到小数点后四位;待机置零(电费+服务费)*计损充电度数 | 
|---|
|  |  |  | private Integer hardware_fault; // 硬件故障(1:急停按钮动作故障;2:无可用整流模块;3:出风口温度过高;4:交流防雷故障;5:交直流模块 DC20 通信中断;6:绝缘检测模块 FC08 通信中断;7:电度表通信中断;8:读卡器通信中断;9:RC10 通信中断;10:风扇调速板故障;11:直流熔断器故障;12:高压接触器故障;13:门打开) | 
|---|
|  |  |  | private String createTime; // 格式化时间格式 | 
|---|
|  |  |  | private BigDecimal electrovalence_all;// @ApiModelProperty("时段电价") | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private BigDecimal service_charge;//@ApiModelProperty("时段服务费单价") | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private BigDecimal period_electric_price;//    @ApiModelProperty("时段电费") | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private BigDecimal period_service_price;//    @ApiModelProperty("时段服务费") | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private BigDecimal period_charging_degree;// @ApiModelProperty("时段充电度数") | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private Integer orderType; //1=充电订单(小程序),2=充电订单(刷卡)) | 
|---|
|  |  |  | private Integer siteId; | 
|---|
|  |  |  | private Integer status; //状态(0=未知,1=等待中/已插枪,2=启动中,3=充电中,4=停止中,5=已结束)" | 
|---|
|  |  |  | private LocalDateTime startTime; //充电开始时间 | 
|---|
|  |  |  | private LocalDateTime endTime; //充电结束时间 | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|