新增 南瑞相关接口

This commit is contained in:
Lemon
2023-10-10 16:20:45 +08:00
parent 4babf55fec
commit ff9a10c992
8 changed files with 181 additions and 15 deletions

View File

@@ -1,106 +0,0 @@
package com.jsowell.thirdparty.nanrui.domain;
import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Data;
/**
* 订单信息
*
* @author Lemon
* @Date 2023/9/25 14:33
*/
@Data
public class NROrderInfo {
/**
* 运营商 ID
* 统一社会信用代码
*/
@JSONField(name = "OperatorID")
private String operatorId;
/**
* 充电设备接口编码
*/
@JSONField(name = "ConnectorID")
private String connectorId;
/**
* 充电业务编号
*/
@JSONField(name = "StartChargeSeq")
private String startChargeSeq;
/**
* 用户发起充电类型
* 1:充电运营商平台注册用户
* 2:监管平台注册用户
* 3:其他
*/
@JSONField(name = "UserChargeType")
private String userChargeType;
/**
* 本次充电电量
* 单位 kWh精度 0.001
* 如果不设置峰谷电价,平电量等于本次充电电量,其他分电量为零
*/
@JSONField(name = "Elect")
private String elect;
/**
* 尖阶段电量
* 单位 kWh精度 0.001
*/
@JSONField(name = "CuspElect")
private String cuspElect;
/**
* 峰阶段电量
* 单位 kWh精度 0.001
*/
@JSONField(name = "PeakElect")
private String peakElect;
/**
* 平阶段电量
* 单位 kWh精度 0.001
*/
@JSONField(name = "FlatElect")
private String flatElect;
/**
* 谷阶段电量
* 单位 kWh精度 0.001
*/
@JSONField(name = "ValleyElect")
private String valleyElect;
/**
* 本次充电开始时间
* yyyy-MM-dd HH:mm:ss
*/
@JSONField(name = "StartTime")
private String startTime;
/**
* 本次充电结束时间
* yyyy-MM-dd HH:mm:ss
*
*/
@JSONField(name = "EndTime")
private String endTime;
/**
* 电表总起值
* 单位 kWh精度 0.001
*/
@JSONField(name = "MeterValueStart")
private String meterValueStart;
/**
* 电表总止值
* 单位 kWh精度 0.001
*/
@JSONField(name = "MeterValueEnd")
private String meterValueEnd;
}