Package io.openems.edge.evcs.cluster
Class CalculateEvcsClusterStatus
- java.lang.Object
-
- io.openems.edge.evcs.cluster.CalculateEvcsClusterStatus
-
public class CalculateEvcsClusterStatus extends java.lang.Object
Helper class to find the Status of multiple EVCS.
-
-
Constructor Summary
Constructors Constructor Description CalculateEvcsClusterStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addValue(ChargeState status)
Adds a Channel-Value.EvcsClusterStatus
calculate()
Finds the effective Status for the EvcsCluster.
-
-
-
Method Detail
-
addValue
public void addValue(ChargeState status)
Adds a Channel-Value.- Parameters:
status
- Charge state
-
calculate
public EvcsClusterStatus calculate()
Finds the effective Status for the EvcsCluster.- Returns:
- current evcs cluster state
-
-