Class AbstractPredictiveDelayCharge

    • Constructor Detail

      • AbstractPredictiveDelayCharge

        protected AbstractPredictiveDelayCharge()
    • Method Detail

      • activate

        protected void activate​(org.osgi.service.component.ComponentContext context,
                                java.lang.String id,
                                java.lang.String alias)
      • activate

        protected void activate​(org.osgi.service.component.ComponentContext context,
                                java.lang.String id,
                                java.lang.String alias,
                                boolean enabled,
                                java.lang.String meterId,
                                int noOfBufferHours,
                                boolean debugMode)
        Abstract activator.
        Parameters:
        context - the Bundle context
        id - the Component-ID
        alias - the Component Alias
        enabled - is the Component enabled?
        meterId - the Meter-ID
        noOfBufferHours - the number of buffer hours to make sure the battery still charges full, even on prediction errors
      • getComponentManager

        protected abstract ComponentManager getComponentManager()