Class EvcsController

    • Field Detail

      • cm

        protected org.osgi.service.cm.ConfigurationAdmin cm
      • sum

        protected Sum sum
    • Constructor Detail

      • EvcsController

        public EvcsController()
      • EvcsController

        protected EvcsController​(java.time.Clock clock)
    • Method Detail

      • getModbusSlaveTable

        public ModbusSlaveTable getModbusSlaveTable​(AccessMode accessMode)
        Description copied from interface: ModbusSlave
        Gets the Modbus-Slave-Table for this OpenEMS-Component.
        Specified by:
        getModbusSlaveTable in interface ModbusSlave
        Parameters:
        accessMode - filters the Modbus-Records that should be shown
        Returns:
        the Modbus-Slave-Table
      • configUpdate

        public void configUpdate​(java.lang.String targetProperty,
                                 java.lang.Object requiredValue)
        Updating the configuration property to given value.
        Parameters:
        targetProperty - Property that should be changed
        requiredValue - Value that should be set
      • logInfo

        public void logInfo​(org.slf4j.Logger log,
                            java.lang.String message)
        Description copied from class: AbstractOpenemsComponent
        Log an info message including the Component ID.
        Overrides:
        logInfo in class AbstractOpenemsComponent
        Parameters:
        log - the Logger instance
        message - the message
      • logWarn

        protected void logWarn​(org.slf4j.Logger log,
                               java.lang.String message)
        Description copied from class: AbstractOpenemsComponent
        Log a warn message including the Component ID.
        Overrides:
        logWarn in class AbstractOpenemsComponent
        Parameters:
        log - the Logger instance
        message - the message
      • logDebug

        protected void logDebug​(org.slf4j.Logger log,
                                java.lang.String message)
        Description copied from class: AbstractOpenemsComponent
        Log a debug message including the Component ID.
        Overrides:
        logDebug in class AbstractOpenemsComponent
        Parameters:
        log - the Logger instance
        message - the message