Package dev.digiried.wattpilot.commands
Class SetSurplusPowerThresholdCommand
java.lang.Object
dev.digiried.wattpilot.commands.Command
dev.digiried.wattpilot.commands.SetSurplusPowerThresholdCommand
Command to set the PV surplus power threshold of the wallbox for
ChargingMode.ECO and
ChargingMode.NEXT_TRIP.- Author:
- Florian Hotze - Initial contribution
-
Constructor Summary
ConstructorsConstructorDescriptionSetSurplusPowerThresholdCommand(float threshold) Create a new PV surplus power threshold command. -
Method Summary
Modifier and TypeMethodDescriptionCommandValue<?>getValue()Returns the value of the command wrapped in aCommandValue.
-
Constructor Details
-
SetSurplusPowerThresholdCommand
public SetSurplusPowerThresholdCommand(float threshold) Create a new PV surplus power threshold command.- Parameters:
threshold- the PV surplus power threshold in watts (W) between 1400 W and 22000 W
-
-
Method Details
-
getValue
Description copied from class:CommandReturns the value of the command wrapped in aCommandValue.
-