Package com.baidu.navisdk.adapter.struct
Class BNTruckInfo.Builder
- java.lang.Object
-
- com.baidu.navisdk.adapter.struct.BNTruckInfo.Builder
-
- Enclosing class:
- BNTruckInfo
public static class BNTruckInfo.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BNTruckInfo.Builder
axlesNumber(int axlesNumber)
轴数(必填)BNTruckInfo.Builder
axlesWeight(float axlesWeight)
轴重 0~100吨 单位吨BNTruckInfo
build()
BNTruckInfo.Builder
emissionLimit(int emissionLimit)
排放标准(必填)VehicleConstant.EmissionStandard
BNTruckInfo.Builder
height(float height)
车高 0~10米 单位m(必填)BNTruckInfo.Builder
length(float length)
车长 0~25米 单位m(必填)BNTruckInfo.Builder
loadWeight(float loadWeight)
核定载重 0~100吨 单位吨(必填)BNTruckInfo.Builder
oilCost(java.lang.String oilCost)
油耗(计算省钱路线) 0~150LBNTruckInfo.Builder
plate(java.lang.String plate)
车牌号(必填)BNTruckInfo.Builder
plateType(int plateType)
BNTruckInfo.Builder
powerType(int powerType)
BNTruckInfo.Builder
truckType(int truckType)
货车类型(必填)VehicleConstant.PlateType
BNTruckInfo.Builder
truckUsage(int truckUsage)
BNTruckInfo.Builder
weight(float weight)
车重 0~100吨 单位吨(必填)BNTruckInfo.Builder
width(float width)
车宽 0~5米 单位m(必填)
-
-
-
Method Detail
-
plate
public BNTruckInfo.Builder plate(java.lang.String plate)
车牌号(必填)
-
truckType
public BNTruckInfo.Builder truckType(int truckType)
货车类型(必填)VehicleConstant.PlateType
-
truckUsage
public BNTruckInfo.Builder truckUsage(int truckUsage)
-
emissionLimit
public BNTruckInfo.Builder emissionLimit(int emissionLimit)
排放标准(必填)VehicleConstant.EmissionStandard
-
powerType
public BNTruckInfo.Builder powerType(int powerType)
-
plateType
public BNTruckInfo.Builder plateType(int plateType)
-
weight
public BNTruckInfo.Builder weight(float weight)
车重 0~100吨 单位吨(必填)
-
length
public BNTruckInfo.Builder length(float length)
车长 0~25米 单位m(必填)
-
width
public BNTruckInfo.Builder width(float width)
车宽 0~5米 单位m(必填)
-
height
public BNTruckInfo.Builder height(float height)
车高 0~10米 单位m(必填)
-
axlesNumber
public BNTruckInfo.Builder axlesNumber(int axlesNumber)
轴数(必填)
-
axlesWeight
public BNTruckInfo.Builder axlesWeight(float axlesWeight)
轴重 0~100吨 单位吨
-
oilCost
public BNTruckInfo.Builder oilCost(java.lang.String oilCost)
油耗(计算省钱路线) 0~150L
-
loadWeight
public BNTruckInfo.Builder loadWeight(float loadWeight)
核定载重 0~100吨 单位吨(必填)
-
build
public BNTruckInfo build()
-
-