Package org.openmuc.j60870.ie
Class IeBinaryCounterReading
- java.lang.Object
-
- org.openmuc.j60870.ie.InformationElement
-
- org.openmuc.j60870.ie.IeBinaryCounterReading
-
public class IeBinaryCounterReading extends InformationElement
Represents a binary counter reading (BCR) information element.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IeBinaryCounterReading.Flag
-
Constructor Summary
Constructors Constructor Description IeBinaryCounterReading(int counterReading, int sequenceNumber)
IeBinaryCounterReading(int counterReading, int sequenceNumber, java.util.Set<IeBinaryCounterReading.Flag> flags)
IeBinaryCounterReading(int counterReading, int sequenceNumber, IeBinaryCounterReading.Flag firstFlag, IeBinaryCounterReading.Flag... flag)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCounterReading()
java.util.Set<IeBinaryCounterReading.Flag>
getFlags()
int
getSequenceNumber()
java.lang.String
toString()
-
-
-
Constructor Detail
-
IeBinaryCounterReading
public IeBinaryCounterReading(int counterReading, int sequenceNumber, java.util.Set<IeBinaryCounterReading.Flag> flags)
-
IeBinaryCounterReading
public IeBinaryCounterReading(int counterReading, int sequenceNumber)
-
IeBinaryCounterReading
public IeBinaryCounterReading(int counterReading, int sequenceNumber, IeBinaryCounterReading.Flag firstFlag, IeBinaryCounterReading.Flag... flag)
-
-
Method Detail
-
getCounterReading
public int getCounterReading()
-
getSequenceNumber
public int getSequenceNumber()
-
getFlags
public java.util.Set<IeBinaryCounterReading.Flag> getFlags()
-
toString
public java.lang.String toString()
- Specified by:
toString
in classInformationElement
-
-