| package com.ruoyi.integration.api.model; | 
|   | 
| import lombok.Data; | 
| import lombok.experimental.Accessors; | 
| import org.springframework.data.mongodb.core.mapping.Document; | 
|   | 
| import java.math.BigDecimal; | 
|   | 
| /** | 
|  * 上传实时监测数据 | 
|  **/ | 
|   | 
| @Data | 
| @Document(collection = "upload_real_time_monitoring_data") //指定要对应的文档名(表名) | 
| @Accessors(chain = true) | 
| public class UploadRealTimeMonitoringData { | 
|   | 
|     private String transaction_serial_number; // 交易流水号 | 
|     private String charging_pile_code; // 桩编码 | 
|     private String charging_gun_code; // 抢号 | 
|     private Integer charging_gun_status; // 状态(0:离线,1:故障,2:空闲,3:充电) | 
|     private Integer homing_status; // 枪是否归位(0:否,1:是,2:未知) | 
|     private Integer insertion_status; // 是否插枪(0:否,1:是) | 
|     private BigDecimal output_voltage; // 输出电压,精确到小数点后一位;待机置零 | 
|     private BigDecimal output_current; // 输出电流,精确到小数点后一位;待机置零 | 
|     private Integer gun_line_temperature; // 枪线温度,整形,偏移量-50;待机置零 | 
|     private String gun_line_code; // 枪线编码,没有置零 | 
|     private Integer soc; // SOC待机置零;交流桩置零 | 
|     private Integer battery_temperature; // 电池组最高温度,整形,偏移量-50 ºC;待机置零;交流桩置零 | 
|     private Integer cumulative_charging_time; // 累计充电时间,单位:min;待机置零 | 
|     private Integer time_remaining; // 剩余时间,单位:min;待机置零、交流桩置零 | 
|     private BigDecimal charging_degree; // 充电度数,精确到小数点后四位;待机置零 | 
|     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:门打开) | 
|   | 
|   | 
| } |