added device table
This commit is contained in:
@@ -44,6 +44,10 @@ public class Relay extends Tile implements Device{
|
||||
private static final String LABEL_B = "label_b";
|
||||
private static final String NAME = "name";
|
||||
|
||||
public int address() {
|
||||
return address;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object click() throws IOException {
|
||||
Object o = super.click();
|
||||
|
||||
@@ -41,6 +41,10 @@ public abstract class Turnout extends Tile implements Device{
|
||||
LEFT,STRAIGHT,RIGHT,UNDEF;
|
||||
}
|
||||
|
||||
public int address() {
|
||||
return address;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object click() throws IOException {
|
||||
LOG.debug(getClass().getSimpleName()+".click()");
|
||||
|
||||
Reference in New Issue
Block a user