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

@@ -76,6 +76,11 @@ public class Locomotive extends Car implements Constants,Device{
return t("Unknown action: {}",params.get(ACTION));
}
@Override
public int address() {
return address;
}
public static Tag cockpit(Object locoOrTrain) {
int id = 0;
int speed = 0;