Class KebaKeContact

    • Field Detail

      • config

        protected io.openems.edge.evcs.keba.kecontact.Config config
    • Constructor Detail

      • KebaKeContact

        public KebaKeContact()
        Constructor.
    • Method Detail

      • handleEvent

        public void handleEvent​(org.osgi.service.event.Event event)
        Specified by:
        handleEvent in interface org.osgi.service.event.EventHandler
      • send

        protected boolean send​(java.lang.String s)
        Send UDP message to KEBA KeContact. Returns true if sent successfully
        Parameters:
        s - Message to send
        Returns:
        true if sent
      • triggerQuery

        protected void triggerQuery()
        Triggers an immediate execution of query reports.
      • debugLog

        public java.lang.String debugLog()
        Description copied from interface: OpenemsComponent
        Gets some output that is suitable for a continuous Debug log. Returns 'null' by default which causes no output.
        Specified by:
        debugLog in interface OpenemsComponent
        Returns:
        the debug log output
      • logInfoInDebugmode

        protected void logInfoInDebugmode​(org.slf4j.Logger log,
                                          java.lang.String string)
        Logs are displayed if the debug mode is configured
        Parameters:
        log - Logger
        string - Text to display
      • getReadWorker

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