Package io.openems.edge.evcs.cluster
Class CalculateEvcsClusterStatus
java.lang.Object
io.openems.edge.evcs.cluster.CalculateEvcsClusterStatus
Helper class to find the Status of multiple EVCS.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addValue
(ChargeState status) Adds a Channel-Value.Finds the effective Status for the EvcsCluster.
-
Constructor Details
-
CalculateEvcsClusterStatus
public CalculateEvcsClusterStatus()
-
-
Method Details
-
addValue
Adds a Channel-Value.- Parameters:
status
- Charge state
-
calculate
Finds the effective Status for the EvcsCluster.- Returns:
- current evcs cluster state
-