public static class RouteSearchV2.NewEnergy
extends java.lang.Object
构造器和说明 |
---|
NewEnergy() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
buildParam() |
float |
getArrivingPercent()
获取到达充电站(或终点)时允许的最小电量
|
RouteSearchV2.CustomCostMode |
getCustomCostMode()
获取costmodelswitch+相关参数
|
java.lang.String |
getKey()
获取标识厂商信息
|
float |
getLeavingPercent()
获取离开充电站前允许的剩余电量
|
float |
getLoad()
获取车重(单位kg)
|
float |
getMaxVehicleCharge()
设置电动汽车的最大电量负荷(浮点型)
|
float |
getVehicleCharge()
获取当前电量(浮点型)
|
void |
setArrivingPercent(float arrivingPercent)
设置到达充电站(或终点)时允许的最小电量
|
void |
setCustomCostMode(RouteSearchV2.CustomCostMode customCostMode)
设置costmodelswitch+相关参数
|
void |
setKey(java.lang.String key)
设置标识厂商信息
|
void |
setLeavingPercent(float leavingPercent)
设置离开充电站前允许的剩余电量
|
void |
setLoad(float load)
设置车重(单位kg)
|
void |
setMaxVehicleCharge(float maxVehicleCharge)
设置电动汽车的最大电量负荷(浮点型)
|
void |
setVehicleCharge(float vehicleCharge)
设置当前电量(浮点型)
|
public java.lang.String getKey()
public void setKey(java.lang.String key)
key
- 标识厂商信息public RouteSearchV2.CustomCostMode getCustomCostMode()
public void setCustomCostMode(RouteSearchV2.CustomCostMode customCostMode)
customCostMode
- costmodelswitch+相关参数public float getMaxVehicleCharge()
public void setMaxVehicleCharge(float maxVehicleCharge)
maxVehicleCharge
- 电动汽车的最大电量负荷(浮点型)public float getVehicleCharge()
public void setVehicleCharge(float vehicleCharge)
vehicleCharge
- 当前电量(浮点型)public float getLoad()
public void setLoad(float load)
load
- 车重(单位kg)public float getLeavingPercent()
public void setLeavingPercent(float leavingPercent)
leavingPercent
- 离开充电站前允许的剩余电量public float getArrivingPercent()
public void setArrivingPercent(float arrivingPercent)
arrivingPercent
- public java.lang.String buildParam()