Class CalculateEvcsClusterStatus


  • public class CalculateEvcsClusterStatus
    extends java.lang.Object
    Helper class to find the Status of multiple EVCS.
    • Constructor Detail

      • CalculateEvcsClusterStatus

        public CalculateEvcsClusterStatus()
    • 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