PCE: Update EV charger interface and add full charging current resolution
parent
c525b33d44
commit
4bcfe7c029
|
|
@ -223,7 +223,7 @@ void IntegrationPluginPcElectric::executeAction(ThingActionInfo *info)
|
|||
|
||||
} else if (info->action().actionTypeId() == ev11MaxChargingCurrentActionTypeId) {
|
||||
|
||||
uint desiredChargingCurrent = info->action().paramValue(ev11MaxChargingCurrentActionMaxChargingCurrentParamTypeId).toUInt();
|
||||
double desiredChargingCurrent = info->action().paramValue(ev11MaxChargingCurrentActionMaxChargingCurrentParamTypeId).toDouble();
|
||||
qCDebug(dcPcElectric()) << "Set max charging current to" << desiredChargingCurrent << "A";
|
||||
|
||||
// Update buffer
|
||||
|
|
|
|||
|
|
@ -126,11 +126,12 @@
|
|||
"displayName": "Maximum charging current",
|
||||
"displayNameEvent": "Maximum charging current changed",
|
||||
"displayNameAction": "Set maximum charging current",
|
||||
"type": "uint",
|
||||
"type": "double",
|
||||
"unit": "Ampere",
|
||||
"defaultValue": 6,
|
||||
"minValue": 6,
|
||||
"maxValue": 16,
|
||||
"stepSize": 0.01,
|
||||
"writable": true
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue