Package jmri.jmrix.powerline
Class InsteonSequence.Function
- java.lang.Object
-
- jmri.jmrix.powerline.InsteonSequence.Function
-
- All Implemented Interfaces:
InsteonSequence.Command
- Enclosing class:
- InsteonSequence
public static class InsteonSequence.Function extends java.lang.Object implements InsteonSequence.Command
Represent a single "do function" Insteon command
-
-
Field Summary
Fields Modifier and Type Field Description (package private) intcommand1(package private) intcommand2(package private) intflag(package private) intfunction(package private) intidhighbyte(package private) intidlowbyte(package private) intidmiddlebyte
-
Constructor Summary
Constructors Constructor Description Function(int idhighbyte, int idmiddlebyte, int idlowbyte, int function, int flag, int command1, int command2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAddressHigh()intgetAddressLow()intgetAddressMiddle()intgetCommand1()intgetCommand2()intgetFlag()intgetFunction()booleanisAddress()booleanisFunction()
-
-
-
Field Detail
-
idhighbyte
int idhighbyte
-
idmiddlebyte
int idmiddlebyte
-
idlowbyte
int idlowbyte
-
function
int function
-
flag
int flag
-
command1
int command1
-
command2
int command2
-
-
Constructor Detail
-
Function
public Function(int idhighbyte, int idmiddlebyte, int idlowbyte, int function, int flag, int command1, int command2)
-
-
Method Detail
-
getAddressHigh
public int getAddressHigh()
- Specified by:
getAddressHighin interfaceInsteonSequence.Command
-
getAddressMiddle
public int getAddressMiddle()
- Specified by:
getAddressMiddlein interfaceInsteonSequence.Command
-
getAddressLow
public int getAddressLow()
- Specified by:
getAddressLowin interfaceInsteonSequence.Command
-
getFunction
public int getFunction()
-
getFlag
public int getFlag()
-
getCommand1
public int getCommand1()
-
getCommand2
public int getCommand2()
-
isAddress
public boolean isAddress()
- Specified by:
isAddressin interfaceInsteonSequence.Command
-
isFunction
public boolean isFunction()
- Specified by:
isFunctionin interfaceInsteonSequence.Command
-
-