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) int
command1
(package private) int
command2
(package private) int
flag
(package private) int
function
(package private) int
idhighbyte
(package private) int
idlowbyte
(package private) int
idmiddlebyte
-
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 int
getAddressHigh()
int
getAddressLow()
int
getAddressMiddle()
int
getCommand1()
int
getCommand2()
int
getFlag()
int
getFunction()
boolean
isAddress()
boolean
isFunction()
-
-
-
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:
getAddressHigh
in interfaceInsteonSequence.Command
-
getAddressMiddle
public int getAddressMiddle()
- Specified by:
getAddressMiddle
in interfaceInsteonSequence.Command
-
getAddressLow
public int getAddressLow()
- Specified by:
getAddressLow
in interfaceInsteonSequence.Command
-
getFunction
public int getFunction()
-
getFlag
public int getFlag()
-
getCommand1
public int getCommand1()
-
getCommand2
public int getCommand2()
-
isAddress
public boolean isAddress()
- Specified by:
isAddress
in interfaceInsteonSequence.Command
-
isFunction
public boolean isFunction()
- Specified by:
isFunction
in interfaceInsteonSequence.Command
-
-