public class X10FireCracker extends Object
Modifier and Type | Field and Description |
---|---|
private String |
portDescriptor_
The port the firecracker is attached to.
|
Constructor and Description |
---|
X10FireCracker()
Constructor *
|
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] arg)
The main program for the X10FireCracker class.
|
void |
sendX10Command(String x10HouseCode,
String x10DeviceNumber,
String x10Command)
Abstracts the actual sending of the X10 Command.
|
private String portDescriptor_
X10FireCracker()
public static void main(String[] arg)
arg
- The command line argumentspublic void sendX10Command(String x10HouseCode, String x10DeviceNumber, String x10Command)
x10Command
- This is either 'on' or 'off'x10HouseCode
- send an uppercase house codex10DeviceNumber
- send the device nuymber as a string... ie. 'String.valueOf( 1 );'WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses