Class OneWireThermometerImpl

java.lang.Object
io.openems.edge.common.component.AbstractOpenemsComponent
io.openems.edge.onewire.thermometer.OneWireThermometerImpl
All Implemented Interfaces:
OpenemsComponent, Thermometer

public class OneWireThermometerImpl extends AbstractOpenemsComponent implements Thermometer, OpenemsComponent
  • Constructor Details

    • OneWireThermometerImpl

      public OneWireThermometerImpl()
  • Method Details

    • deactivate

      protected void deactivate()
      Description copied from class: AbstractOpenemsComponent
      Handles @Deactivate of implementations. Prints log output.
      Overrides:
      deactivate in class AbstractOpenemsComponent
    • debugLog

      public 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
    • getCommunicationFailedChannel

      public StateChannel getCommunicationFailedChannel()
      Gets the Channel for
      invalid reference
      ThisChannelId#COMMUNICATION_FAILED
      .
      Returns:
      the Channel
    • getCommunicationFailed

      public Value<Boolean> getCommunicationFailed()
      Gets the Communication Failed Fault State. See
      invalid reference
      ThisChannelId#COMMUNICATION_FAILED
      .
      Returns:
      the Channel Value
    • _setCommunicationFailed

      public void _setCommunicationFailed(boolean value)
      Internal method to set the 'nextValue' on
      invalid reference
      ThisChannelId#COMMUNICATION_FAILED
      Channel.
      Parameters:
      value - the next value