Class ChannelProcessor

java.lang.Object
org.openremote.agent.protocol.velbus.device.FeatureProcessor
org.openremote.agent.protocol.velbus.device.ChannelProcessor
Direct Known Subclasses:
InputProcessor, OutputChannelProcessor, ProgramsProcessor

public abstract class ChannelProcessor extends FeatureProcessor
Abstract processor for channel related operations
  • Field Details

    • CHANNEL_REGEX

      protected static final Pattern CHANNEL_REGEX
  • Constructor Details

    • ChannelProcessor

      protected ChannelProcessor()
  • Method Details

    • getMaxChannelNumber

      protected static int getMaxChannelNumber(VelbusDeviceType velbusDeviceType)
    • getAddressForChannel

      protected static int getAddressForChannel(VelbusDevice device, int channelNumber)
    • isChannelEnabled

      protected static boolean isChannelEnabled(VelbusDevice device, int channelNumber)
    • getStartChannelNumber

      protected static int getStartChannelNumber(VelbusDevice velbusDevice, int address)
    • getChannelNumberAndPropertySuffix

      protected Optional<org.openremote.model.util.Pair<Integer,String>> getChannelNumberAndPropertySuffix(VelbusDevice device, Pattern channelRegex, String property)