Class ChannelRecord

java.lang.Object
io.openems.edge.bridge.mbus.api.ChannelRecord

public class ChannelRecord extends Object
  • Field Details

    • dataType

      public final ChannelRecord.DataType dataType
    • channel

      public final Channel<?> channel
    • dataRecordPosition

      public final int dataRecordPosition
  • Constructor Details

    • ChannelRecord

      public ChannelRecord(Channel<?> channel, ChannelRecord.DataType dataType)
      In this case you will request secondary address values. eg. manufacturer, device id or meter type.
      Parameters:
      channel - the Channel
      dataType - the dataType
    • ChannelRecord

      public ChannelRecord(Channel<?> channel, int dataRecordPosition)
      In this case you will request usage data.
      Parameters:
      channel - the Channel
      dataRecordPosition - the dataRecordPosition