Class DefaultChargingService

  • All Implemented Interfaces:
    de.jnkconsulting.e3dc.easyrscp.api.service.ChargingService

    
    public final class DefaultChargingService
     implements ChargingService
                        

    Service implementation to read and control the charging behavior of the home power plant.

    Since:

    2.0

    2.2

    • Constructor Detail

      • DefaultChargingService

        DefaultChargingService(ConnectionPool connectionPool, FrameConverter<ChargingConfiguration> convertFrameToChargingConfiguration, FrameConverter<WriteChargingLimitsResult> convertFrameToWriteChargingLimitsResult, FrameCreator<Void> createRequestChargingConfigurationFrame, FrameCreator<ChargingLimits> createSetPowerSettingsFrame, FrameConverter<ManualChargeState> convertFrameToManualChargeState, FrameCreator<Void> createRequestManualChargeState, FrameConverter<Boolean> convertFrameToStartManualChargeResponseState, FrameCreator<Integer> createRequestStartManualCharge)
        Parameters:
        connectionPool - ConnectionPool to use
        convertFrameToChargingConfiguration - Converter to create a ChargingConfiguration object from a frame.
        convertFrameToWriteChargingLimitsResult - Converter to create a WriteChargingLimitsResult object from a frame.
        createRequestChargingConfigurationFrame - Creator for frames to query the configuration of the charging system from the home power plant.
        createSetPowerSettingsFrame - Creator for frames to query the configuration of the charging system from the home power plant.
        convertFrameToManualChargeState - Converter to create a ManualChargeState object from a frame.
        createRequestManualChargeState - Creator for frames to query the manual charge statefrom the home power station.
        convertFrameToStartManualChargeResponseState - Converter to create a boolean result from an answer frame of a request manualm charge start request.
        createRequestStartManualCharge - Creator for frames to request the start of a manual battery charge.