added device table

This commit is contained in:
Stephan Richter
2020-11-29 20:23:12 +01:00
parent 1df8bfb822
commit e61891da43
8 changed files with 51 additions and 1 deletions

View File

@@ -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();

View File

@@ -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()");