Package dev.digiried.wattpilot.commands
Class Command
java.lang.Object
dev.digiried.wattpilot.commands.Command
- Direct Known Subclasses:
SetBoostCommand,SetBoostSoCLimitCommand,SetChargingCurrentCommand,SetChargingModeCommand,SetEnforcedChargingStateCommand,SetSurplusPowerThresholdCommand,SetSurplusSoCThresholdCommand
Base class for all commands that can be sent to the wallbox.
- Author:
- Florian Hotze - Initial contribution
-
Method Summary
Modifier and TypeMethodDescriptiongetKey()Returns the key of the command.abstract CommandValue<?>getValue()Returns the value of the command wrapped in aCommandValue.
-
Method Details
-
getKey
Returns the key of the command. SeePropertyKeysfor a list of all common keys.- Returns:
- the key
-
getValue
Returns the value of the command wrapped in aCommandValue.- Returns:
- the value
-