mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-19 18:45:03 +08:00
update
This commit is contained in:
@@ -172,11 +172,14 @@ public class BatteryChargeReportService {
|
||||
|
||||
|
||||
public static void main(String[] args) {
|
||||
String taskId = "1e6e42aa613947bf863bc455c2f3357e";
|
||||
String url = "https://wx.btiger.net/jeecg-boot" + "/api/docking/report/" + "web/" + taskId;
|
||||
String result = HttpRequest.get(url).execute().body();
|
||||
String a = "03";
|
||||
System.out.println(String.valueOf(Integer.parseInt(a)));
|
||||
|
||||
System.out.println(result);
|
||||
// String taskId = "1e6e42aa613947bf863bc455c2f3357e";
|
||||
// String url = "https://wx.btiger.net/jeecg-boot" + "/api/docking/report/" + "web/" + taskId;
|
||||
// String result = HttpRequest.get(url).execute().body();
|
||||
//
|
||||
// System.out.println(result);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -232,7 +235,7 @@ public class BatteryChargeReportService {
|
||||
.doorStatus(Constants.zero)
|
||||
.bmsChargeMode(Integer.parseInt(bmsDemandAndChargerOutputData.getBmsChargingModel()))
|
||||
.vin(transactionRecordsData.getVinCode())
|
||||
.batteryType(chargingHandshakeData.getBmsBatteryType())
|
||||
.batteryType(String.valueOf(Integer.parseInt(chargingHandshakeData.getBmsBatteryType())))
|
||||
.nominalEnergy(new BigDecimal(parameterConfigData.getBmsSumEnergy()).toBigInteger().toString())
|
||||
.ratedCapacity(new BigDecimal(parameterConfigData.getBmsSumEnergy()).toBigInteger().toString())
|
||||
.ratedVoltage(chargingHandshakeData.getBmsBatteryVoltage())
|
||||
|
||||
Reference in New Issue
Block a user