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)