mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 11:35:12 +08:00
update 电单车
This commit is contained in:
@@ -6,6 +6,8 @@ import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.experimental.SuperBuilder;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 启动充电指令
|
||||
*/
|
||||
@@ -16,7 +18,7 @@ import lombok.experimental.SuperBuilder;
|
||||
@SuperBuilder
|
||||
public class EBikeStartChargingCommand extends StartChargingCommand{
|
||||
/**
|
||||
* 费率模式
|
||||
* 费率模式 =0计时,=1包月,=2计量,=3计次。包月、计次默认充满自停,计时、计量可手动设置时长和电量
|
||||
*/
|
||||
private int rateMode;
|
||||
|
||||
@@ -25,4 +27,9 @@ public class EBikeStartChargingCommand extends StartChargingCommand{
|
||||
*/
|
||||
private int balanceOrValidity;
|
||||
|
||||
/**
|
||||
* 根据金额计算出电量
|
||||
*/
|
||||
private BigDecimal electricity;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user