package com.ruoyi.jianguan.model;
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotNull;
|
import javax.validation.constraints.Null;
|
|
/**
|
* 充电设备接口状态
|
* @author zhibing.pu
|
* @Date 2025/1/21 14:53
|
*/
|
@Data
|
public class ConnectorStatusInfo {
|
/**
|
* 充电设备接口编码
|
*/
|
@NotNull
|
@JsonProperty("ConnectorID")
|
private String connectorID;
|
/**
|
* 充电设备接口状态
|
* 0:离网
|
* 1:空闲
|
* 2:占用(未充电)
|
* 3:占用(充电中)
|
* 4:占用(预约锁定)
|
* 255:故障
|
*/
|
@NotNull
|
@JsonProperty("Status")
|
private Integer status;
|
/**
|
* 车位状态
|
* 0:未知
|
* 10:空闲
|
* 50:占用
|
*/
|
@Null
|
@JsonProperty("ParkStatus")
|
private Integer parkStatus;
|
/**
|
* 地锁状态
|
* 0:未知
|
* 10:已解锁
|
* 50:已上锁
|
*/
|
@Null
|
@JsonProperty("LookStatus")
|
private Integer lookStatus;
|
|
@JsonProperty("ConnectorStatusInfo")
|
private ConnectorStatusInfo connectorStatusInfo;
|
|
|
@JsonProperty("OperatorID")
|
private String OperatorID;
|
@JsonProperty("EquipmentOwnerID")
|
private String EquipmentOwnerID;
|
@JsonProperty("StationID")
|
private String StationID;
|
@JsonProperty("EquipmentID")
|
private String EquipmentID;
|
/**
|
* 1:车辆充电设备接口
|
* 2:换电站内的电池箱充
|
* 电设备接口
|
*/
|
@JsonProperty("EquipmentClassification")
|
private Integer EquipmentClassification;
|
/**
|
* 本次状态变化的时间,
|
* 格式“yyyy-MM-dd HH:mm:ss
|
*/
|
@JsonProperty("UpdateTime")
|
private String UpdateTime;
|
}
|