Package dev.digiried.wattpilot.commands
Class SetChargingModeCommand
java.lang.Object
dev.digiried.wattpilot.commands.Command
dev.digiried.wattpilot.commands.SetChargingModeCommand
Command to set the charging mode of the wallbox.
- Author:
- Florian Hotze - Initial contribution
-
Constructor Summary
ConstructorsConstructorDescriptionSetChargingModeCommand(ChargingMode chargingMode) Create a new charging mode command. -
Method Summary
Modifier and TypeMethodDescriptiongetValue()Returns the value of the command wrapped in aCommandValue.
-
Constructor Details
-
SetChargingModeCommand
Create a new charging mode command.- Parameters:
chargingMode- the charging mode
-
-
Method Details
-
getValue
Description copied from class:CommandReturns the value of the command wrapped in aCommandValue.
-