Class ChannelRecord


  • public class ChannelRecord
    extends java.lang.Object
    • Constructor Detail

      • 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
    • Method Detail

      • getChannel

        public Channel<?> getChannel()
      • setChannelId

        public void setChannelId​(Channel<?> channel)
      • getDataRecordPosition

        public int getDataRecordPosition()
      • setDataRecordPosition

        public void setDataRecordPosition​(int dataRecordPosition)