|
@@ -1479,6 +1479,7 @@ int main(int argc, char *argv[]) {
|
|
|
struct json_object *StopDateTime[3];
|
|
|
struct json_object *StartMethod[3];
|
|
|
struct json_object *ConnectorTemp[3];
|
|
|
+ struct json_object *ChillerTemp[3];
|
|
|
struct json_object *PresentChargingVoltage[3];
|
|
|
struct json_object *PresentChargingCurrent[3];
|
|
|
struct json_object *PresentChargingPower[3];
|
|
@@ -1501,6 +1502,7 @@ int main(int argc, char *argv[]) {
|
|
|
struct json_object *DDStopDateTime[4];
|
|
|
struct json_object *DDStartMethod[4];
|
|
|
struct json_object *DDConnectorTemp[4];
|
|
|
+ struct json_object *DDChillerTemp[4];
|
|
|
struct json_object *DDPresentChargingVoltage[4];
|
|
|
struct json_object *DDPresentChargingCurrent[4];
|
|
|
struct json_object *DDPresentChargingPower[4];
|
|
@@ -1765,6 +1767,12 @@ int main(int argc, char *argv[]) {
|
|
|
else{
|
|
|
ConnectorTemp[0] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.CcsChargingData[CcsGunQty].ConnectorTemp-60);
|
|
|
}
|
|
|
+ if(ShmSysConfigAndInfo->SysInfo.CcsChargingData[CcsGunQty].ChillerTemp == 0 || ShmSysConfigAndInfo->SysInfo.CcsChargingData[CcsGunQty].ChillerTemp == 255){
|
|
|
+ ChillerTemp[0] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.CcsChargingData[CcsGunQty].ChillerTemp);
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ ChillerTemp[0] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.CcsChargingData[CcsGunQty].ChillerTemp-60);
|
|
|
+ }
|
|
|
PowerConsumption[0] = json_object_new_double(ShmSysConfigAndInfo->SysInfo.CcsChargingData[CcsGunQty].PowerConsumption);
|
|
|
CcsGunQty++;
|
|
|
}
|
|
@@ -1784,13 +1792,18 @@ int main(int argc, char *argv[]) {
|
|
|
StartDateTime[0] = json_object_new_string((char *)&ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].StartDateTime);
|
|
|
StopDateTime[0] = json_object_new_string((char *)&ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].StopDateTime);
|
|
|
StartMethod[0] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].StartMethod);
|
|
|
- ConnectorTemp[0] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].ConnectorTemp);
|
|
|
if(ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].ConnectorTemp == 0 || ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].ConnectorTemp == 255){
|
|
|
ConnectorTemp[0] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].ConnectorTemp);
|
|
|
}
|
|
|
else{
|
|
|
ConnectorTemp[0] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].ConnectorTemp-60);
|
|
|
}
|
|
|
+ if(ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].ChillerTemp == 0 || ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].ChillerTemp == 255){
|
|
|
+ ChillerTemp[0] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].ChillerTemp);
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ ChillerTemp[0] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].ChillerTemp-60);
|
|
|
+ }
|
|
|
PowerConsumption[0] = json_object_new_double(ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].PowerConsumption);
|
|
|
GbGunQty++;
|
|
|
}
|
|
@@ -1810,13 +1823,18 @@ int main(int argc, char *argv[]) {
|
|
|
StartDateTime[0] = json_object_new_string((char *)&ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].StartDateTime);
|
|
|
StopDateTime[0] = json_object_new_string((char *)&ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].StopDateTime);
|
|
|
StartMethod[0] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].StartMethod);
|
|
|
- ConnectorTemp[0] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].ConnectorTemp);
|
|
|
if(ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].ConnectorTemp == 0 || ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].ConnectorTemp == 255){
|
|
|
ConnectorTemp[0] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].ConnectorTemp);
|
|
|
}
|
|
|
else{
|
|
|
ConnectorTemp[0] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].ConnectorTemp-60);
|
|
|
}
|
|
|
+ if(ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].ChillerTemp == 0 || ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].ChillerTemp == 255){
|
|
|
+ ChillerTemp[0] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].ChillerTemp);
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ ChillerTemp[0] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].ChillerTemp-60);
|
|
|
+ }
|
|
|
PowerConsumption[0] = json_object_new_double(ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].PowerConsumption);
|
|
|
CHAdeMOGunQty++;
|
|
|
}
|
|
@@ -1858,13 +1876,18 @@ int main(int argc, char *argv[]) {
|
|
|
StartDateTime[1] = json_object_new_string((char *)&ShmSysConfigAndInfo->SysInfo.CcsChargingData[CcsGunQty].StartDateTime);
|
|
|
StopDateTime[1] = json_object_new_string((char *)&ShmSysConfigAndInfo->SysInfo.CcsChargingData[CcsGunQty].StopDateTime);
|
|
|
StartMethod[1] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.CcsChargingData[CcsGunQty].StartMethod);
|
|
|
- ConnectorTemp[1] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.CcsChargingData[CcsGunQty].ConnectorTemp);
|
|
|
if(ShmSysConfigAndInfo->SysInfo.CcsChargingData[CcsGunQty].ConnectorTemp == 0 || ShmSysConfigAndInfo->SysInfo.CcsChargingData[CcsGunQty].ConnectorTemp == 255){
|
|
|
ConnectorTemp[1] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.CcsChargingData[CcsGunQty].ConnectorTemp);
|
|
|
}
|
|
|
else{
|
|
|
ConnectorTemp[1] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.CcsChargingData[CcsGunQty].ConnectorTemp-60);
|
|
|
}
|
|
|
+ if(ShmSysConfigAndInfo->SysInfo.CcsChargingData[CcsGunQty].ChillerTemp == 0 || ShmSysConfigAndInfo->SysInfo.CcsChargingData[CcsGunQty].ChillerTemp == 255){
|
|
|
+ ChillerTemp[1] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.CcsChargingData[CcsGunQty].ChillerTemp);
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ ChillerTemp[1] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.CcsChargingData[CcsGunQty].ChillerTemp-60);
|
|
|
+ }
|
|
|
PowerConsumption[1] = json_object_new_double(ShmSysConfigAndInfo->SysInfo.CcsChargingData[CcsGunQty].PowerConsumption);
|
|
|
CcsGunQty++;
|
|
|
}
|
|
@@ -1884,13 +1907,18 @@ int main(int argc, char *argv[]) {
|
|
|
StartDateTime[1] = json_object_new_string((char *)&ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].StartDateTime);
|
|
|
StopDateTime[1] = json_object_new_string((char *)&ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].StopDateTime);
|
|
|
StartMethod[1] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].StartMethod);
|
|
|
- ConnectorTemp[1] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].ConnectorTemp);
|
|
|
if(ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].ConnectorTemp == 0 || ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].ConnectorTemp == 255){
|
|
|
ConnectorTemp[1] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].ConnectorTemp);
|
|
|
}
|
|
|
else{
|
|
|
ConnectorTemp[1] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].ConnectorTemp-60);
|
|
|
}
|
|
|
+ if(ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].ChillerTemp == 0 || ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].ChillerTemp == 255){
|
|
|
+ ChillerTemp[1] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].ChillerTemp);
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ ChillerTemp[1] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].ChillerTemp-60);
|
|
|
+ }
|
|
|
PowerConsumption[1] = json_object_new_double(ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].PowerConsumption);
|
|
|
GbGunQty++;
|
|
|
}
|
|
@@ -1910,13 +1938,18 @@ int main(int argc, char *argv[]) {
|
|
|
StartDateTime[1] = json_object_new_string((char *)&ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].StartDateTime);
|
|
|
StopDateTime[1] = json_object_new_string((char *)&ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].StopDateTime);
|
|
|
StartMethod[1] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].StartMethod);
|
|
|
- ConnectorTemp[1] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].ConnectorTemp);
|
|
|
if(ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].ConnectorTemp == 0 || ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].ConnectorTemp == 255){
|
|
|
ConnectorTemp[1] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].ConnectorTemp);
|
|
|
}
|
|
|
else{
|
|
|
ConnectorTemp[1] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].ConnectorTemp-60);
|
|
|
}
|
|
|
+ if(ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].ChillerTemp == 0 || ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].ChillerTemp == 255){
|
|
|
+ ChillerTemp[1] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].ChillerTemp);
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ ChillerTemp[1] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].ChillerTemp-60);
|
|
|
+ }
|
|
|
PowerConsumption[1] = json_object_new_double(ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].PowerConsumption);
|
|
|
CHAdeMOGunQty++;
|
|
|
}
|
|
@@ -1958,13 +1991,18 @@ int main(int argc, char *argv[]) {
|
|
|
StartDateTime[2] = json_object_new_string((char *)&ShmSysConfigAndInfo->SysInfo.CcsChargingData[CcsGunQty].StartDateTime);
|
|
|
StopDateTime[2] = json_object_new_string((char *)&ShmSysConfigAndInfo->SysInfo.CcsChargingData[CcsGunQty].StopDateTime);
|
|
|
StartMethod[2] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.CcsChargingData[CcsGunQty].StartMethod);
|
|
|
- ConnectorTemp[2] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.CcsChargingData[CcsGunQty].ConnectorTemp);
|
|
|
if(ShmSysConfigAndInfo->SysInfo.CcsChargingData[CcsGunQty].ConnectorTemp == 0 ||ShmSysConfigAndInfo->SysInfo.CcsChargingData[CcsGunQty].ConnectorTemp == 255){
|
|
|
ConnectorTemp[2] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.CcsChargingData[CcsGunQty].ConnectorTemp);
|
|
|
}
|
|
|
else{
|
|
|
ConnectorTemp[2] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.CcsChargingData[CcsGunQty].ConnectorTemp-60);
|
|
|
}
|
|
|
+ if(ShmSysConfigAndInfo->SysInfo.CcsChargingData[CcsGunQty].ChillerTemp == 0 ||ShmSysConfigAndInfo->SysInfo.CcsChargingData[CcsGunQty].ChillerTemp == 255){
|
|
|
+ ChillerTemp[2] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.CcsChargingData[CcsGunQty].ChillerTemp);
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ ChillerTemp[2] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.CcsChargingData[CcsGunQty].ChillerTemp-60);
|
|
|
+ }
|
|
|
PowerConsumption[2] = json_object_new_double(ShmSysConfigAndInfo->SysInfo.CcsChargingData[CcsGunQty].PowerConsumption);
|
|
|
CcsGunQty++;
|
|
|
}
|
|
@@ -1984,13 +2022,18 @@ int main(int argc, char *argv[]) {
|
|
|
StartDateTime[2] = json_object_new_string((char *)&ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].StartDateTime);
|
|
|
StopDateTime[2] = json_object_new_string((char *)&ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].StopDateTime);
|
|
|
StartMethod[2] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].StartMethod);
|
|
|
- ConnectorTemp[2] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].ConnectorTemp);
|
|
|
if(ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].ConnectorTemp == 0 || ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].ConnectorTemp == 255){
|
|
|
ConnectorTemp[2] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].ConnectorTemp);
|
|
|
}
|
|
|
else{
|
|
|
ConnectorTemp[2] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].ConnectorTemp-60);
|
|
|
}
|
|
|
+ if(ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].ChillerTemp == 0 || ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].ChillerTemp == 255){
|
|
|
+ ChillerTemp[2] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].ChillerTemp);
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ ChillerTemp[2] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].ChillerTemp-60);
|
|
|
+ }
|
|
|
PowerConsumption[2] = json_object_new_double(ShmSysConfigAndInfo->SysInfo.GbChargingData[GbGunQty].PowerConsumption);
|
|
|
GbGunQty++;
|
|
|
}
|
|
@@ -2010,13 +2053,18 @@ int main(int argc, char *argv[]) {
|
|
|
StartDateTime[2] = json_object_new_string((char *)&ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].StartDateTime);
|
|
|
StopDateTime[2] = json_object_new_string((char *)&ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].StopDateTime);
|
|
|
StartMethod[2] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].StartMethod);
|
|
|
- ConnectorTemp[2] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].ConnectorTemp);
|
|
|
if(ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].ConnectorTemp == 0 || ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].ConnectorTemp == 255){
|
|
|
ConnectorTemp[2] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].ConnectorTemp);
|
|
|
}
|
|
|
else{
|
|
|
ConnectorTemp[2] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].ConnectorTemp-60);
|
|
|
}
|
|
|
+ if(ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].ChillerTemp == 0 || ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].ChillerTemp == 255){
|
|
|
+ ChillerTemp[2] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].ChillerTemp);
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ ChillerTemp[2] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].ChillerTemp-60);
|
|
|
+ }
|
|
|
PowerConsumption[2] = json_object_new_double(ShmSysConfigAndInfo->SysInfo.ChademoChargingData[CHAdeMOGunQty].PowerConsumption);
|
|
|
CHAdeMOGunQty++;
|
|
|
}
|
|
@@ -2060,13 +2108,18 @@ int main(int argc, char *argv[]) {
|
|
|
DDStartDateTime[i] = json_object_new_string((char *)&ShmSysConfigAndInfo->SysInfo.ConnectorInfo[i].GeneralChargingData.StartDateTime);
|
|
|
DDStopDateTime[i] = json_object_new_string((char *)&ShmSysConfigAndInfo->SysInfo.ConnectorInfo[i].GeneralChargingData.StopDateTime);
|
|
|
DDStartMethod[i] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.ConnectorInfo[i].GeneralChargingData.StartMethod);
|
|
|
- DDConnectorTemp[i] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.ConnectorInfo[i].GeneralChargingData.ConnectorTemp);
|
|
|
if(ShmSysConfigAndInfo->SysInfo.ConnectorInfo[i].GeneralChargingData.ConnectorTemp == 0 || ShmSysConfigAndInfo->SysInfo.ConnectorInfo[i].GeneralChargingData.ConnectorTemp == 255){
|
|
|
ConnectorTemp[i] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.ConnectorInfo[i].GeneralChargingData.ConnectorTemp);
|
|
|
}
|
|
|
else{
|
|
|
ConnectorTemp[i] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.ConnectorInfo[i].GeneralChargingData.ConnectorTemp-60);
|
|
|
}
|
|
|
+ if(ShmSysConfigAndInfo->SysInfo.ConnectorInfo[i].GeneralChargingData.ChillerTemp == 0 || ShmSysConfigAndInfo->SysInfo.ConnectorInfo[i].GeneralChargingData.ChillerTemp == 255){
|
|
|
+ ChillerTemp[i] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.ConnectorInfo[i].GeneralChargingData.ChillerTemp);
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ ChillerTemp[i] = json_object_new_int(ShmSysConfigAndInfo->SysInfo.ConnectorInfo[i].GeneralChargingData.ChillerTemp-60);
|
|
|
+ }
|
|
|
DDPowerConsumption[i] = json_object_new_double(ShmSysConfigAndInfo->SysInfo.ConnectorInfo[i].GeneralChargingData.PowerConsumption);
|
|
|
}
|
|
|
}
|
|
@@ -2267,6 +2320,7 @@ int main(int argc, char *argv[]) {
|
|
|
json_object_object_add(ChargingInfo1,"StopDateTime",StopDateTime[0]);
|
|
|
json_object_object_add(ChargingInfo1,"StartMethod",StartMethod[0]);
|
|
|
json_object_object_add(ChargingInfo1,"ConnectorTemp",ConnectorTemp[0]);
|
|
|
+ json_object_object_add(ChargingInfo1,"ChillerTemp",ChillerTemp[0]);
|
|
|
json_object_object_add(ChargingInfo1,"PresentChargingVoltage",PresentChargingVoltage[0]);
|
|
|
json_object_object_add(ChargingInfo1,"PresentChargingCurrent",PresentChargingCurrent[0]);
|
|
|
json_object_object_add(ChargingInfo1,"PresentChargingPower",PresentChargingPower[0]);
|
|
@@ -2287,6 +2341,7 @@ int main(int argc, char *argv[]) {
|
|
|
json_object_object_add(ChargingInfo2,"StopDateTime",StopDateTime[1]);
|
|
|
json_object_object_add(ChargingInfo2,"StartMethod",StartMethod[1]);
|
|
|
json_object_object_add(ChargingInfo2,"ConnectorTemp",ConnectorTemp[1]);
|
|
|
+ json_object_object_add(ChargingInfo2,"ChillerTemp",ChillerTemp[1]);
|
|
|
json_object_object_add(ChargingInfo2,"PresentChargingVoltage",PresentChargingVoltage[1]);
|
|
|
json_object_object_add(ChargingInfo2,"PresentChargingCurrent",PresentChargingCurrent[1]);
|
|
|
json_object_object_add(ChargingInfo2,"PresentChargingPower",PresentChargingPower[1]);
|
|
@@ -2307,6 +2362,7 @@ int main(int argc, char *argv[]) {
|
|
|
json_object_object_add(ChargingInfo3,"StopDateTime",StopDateTime[2]);
|
|
|
json_object_object_add(ChargingInfo3,"StartMethod",StartMethod[2]);
|
|
|
json_object_object_add(ChargingInfo3,"ConnectorTemp",ConnectorTemp[2]);
|
|
|
+ json_object_object_add(ChargingInfo3,"ChillerTemp",ChillerTemp[2]);
|
|
|
json_object_object_add(ChargingInfo3,"PresentChargingVoltage",PresentChargingVoltage[2]);
|
|
|
json_object_object_add(ChargingInfo3,"PresentChargingCurrent",PresentChargingCurrent[2]);
|
|
|
json_object_object_add(ChargingInfo3,"PresentChargingPower",PresentChargingPower[2]);
|
|
@@ -2334,6 +2390,7 @@ int main(int argc, char *argv[]) {
|
|
|
json_object_object_add(DDChargingInfo1,"StopDateTime",DDStopDateTime[0]);
|
|
|
json_object_object_add(DDChargingInfo1,"StartMethod",DDStartMethod[0]);
|
|
|
json_object_object_add(DDChargingInfo1,"ConnectorTemp",DDConnectorTemp[0]);
|
|
|
+ json_object_object_add(DDChargingInfo1,"ChillerTemp",DDChillerTemp[0]);
|
|
|
json_object_object_add(DDChargingInfo1,"PresentChargingVoltage",DDPresentChargingVoltage[0]);
|
|
|
json_object_object_add(DDChargingInfo1,"PresentChargingCurrent",DDPresentChargingCurrent[0]);
|
|
|
json_object_object_add(DDChargingInfo1,"PresentChargingPower",DDPresentChargingPower[0]);
|
|
@@ -2354,6 +2411,7 @@ int main(int argc, char *argv[]) {
|
|
|
json_object_object_add(DDChargingInfo2,"StopDateTime",DDStopDateTime[1]);
|
|
|
json_object_object_add(DDChargingInfo2,"StartMethod",DDStartMethod[1]);
|
|
|
json_object_object_add(DDChargingInfo2,"ConnectorTemp",DDConnectorTemp[1]);
|
|
|
+ json_object_object_add(DDChargingInfo2,"ChillerTemp",DDChillerTemp[1]);
|
|
|
json_object_object_add(DDChargingInfo2,"PresentChargingVoltage",DDPresentChargingVoltage[1]);
|
|
|
json_object_object_add(DDChargingInfo2,"PresentChargingCurrent",DDPresentChargingCurrent[1]);
|
|
|
json_object_object_add(DDChargingInfo2,"PresentChargingPower",DDPresentChargingPower[1]);
|
|
@@ -2374,6 +2432,7 @@ int main(int argc, char *argv[]) {
|
|
|
json_object_object_add(DDChargingInfo3,"StopDateTime",DDStopDateTime[2]);
|
|
|
json_object_object_add(DDChargingInfo3,"StartMethod",DDStartMethod[2]);
|
|
|
json_object_object_add(DDChargingInfo3,"ConnectorTemp",DDConnectorTemp[2]);
|
|
|
+ json_object_object_add(DDChargingInfo3,"ChillerTemp",DDChillerTemp[2]);
|
|
|
json_object_object_add(DDChargingInfo3,"PresentChargingVoltage",DDPresentChargingVoltage[2]);
|
|
|
json_object_object_add(DDChargingInfo3,"PresentChargingCurrent",DDPresentChargingCurrent[2]);
|
|
|
json_object_object_add(DDChargingInfo3,"PresentChargingPower",DDPresentChargingPower[2]);
|
|
@@ -2394,6 +2453,7 @@ int main(int argc, char *argv[]) {
|
|
|
json_object_object_add(DDChargingInfo4,"StopDateTime",DDStopDateTime[3]);
|
|
|
json_object_object_add(DDChargingInfo4,"StartMethod",DDStartMethod[3]);
|
|
|
json_object_object_add(DDChargingInfo4,"ConnectorTemp",DDConnectorTemp[3]);
|
|
|
+ json_object_object_add(DDChargingInfo4,"ChillerTemp",DDChillerTemp[3]);
|
|
|
json_object_object_add(DDChargingInfo4,"PresentChargingVoltage",DDPresentChargingVoltage[3]);
|
|
|
json_object_object_add(DDChargingInfo4,"PresentChargingCurrent",DDPresentChargingCurrent[3]);
|
|
|
json_object_object_add(DDChargingInfo4,"PresentChargingPower",DDPresentChargingPower[3]);
|