Package org.openmuc.j60870.ie
Class IeDoubleCommand
- java.lang.Object
-
- org.openmuc.j60870.ie.InformationElement
-
- org.openmuc.j60870.ie.IeDoubleCommand
-
public class IeDoubleCommand extends InformationElement
Represents a double command (DCO) information element.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIeDoubleCommand.DoubleCommandState
-
Field Summary
Fields Modifier and Type Field Description protected intvalue
-
Constructor Summary
Constructors Constructor Description IeDoubleCommand(IeDoubleCommand.DoubleCommandState commandState, int qualifier, boolean select)Create the Double Command Information Element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IeDoubleCommand.DoubleCommandStategetCommandState()intgetQualifier()booleanisSelect()Returns true if the command selects and false if the command executes.java.lang.StringtoString()
-
-
-
Constructor Detail
-
IeDoubleCommand
public IeDoubleCommand(IeDoubleCommand.DoubleCommandState commandState, int qualifier, boolean select)
Create the Double Command Information Element.- Parameters:
commandState- the command statequalifier- the qualifierselect- true if select, false if execute
-
-
Method Detail
-
getCommandState
public IeDoubleCommand.DoubleCommandState getCommandState()
-
toString
public java.lang.String toString()
-
isSelect
public boolean isSelect()
Returns true if the command selects and false if the command executes.- Returns:
- true if the command selects and false if the command executes.
-
getQualifier
public int getQualifier()
-
-