Class SlowChargeUtils


  • public class SlowChargeUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      SlowChargeUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      protected static void calculateAndApplyPower​(Context context)
      Calculates and applies the charging power for State#SLOW_CHARGE_1 and State#SLOW_CHARGE_2.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SlowChargeUtils

        public SlowChargeUtils()
    • Method Detail

      • calculateAndApplyPower

        protected static void calculateAndApplyPower​(Context context)
                                              throws java.lang.IllegalArgumentException,
                                                     OpenemsError.OpenemsNamedException
        Calculates and applies the charging power for State#SLOW_CHARGE_1 and State#SLOW_CHARGE_2.
        Parameters:
        context - the Context
        Throws:
        java.lang.IllegalArgumentException - on error
        OpenemsError.OpenemsNamedException - on error