Included Diffcalc commands to the API of diffutils, and adapted to latest version.

This commit is contained in:
2019-02-14 14:20:17 +01:00
parent e460afd04f
commit eaec82dd86
12 changed files with 435 additions and 603 deletions

View File

@@ -181,6 +181,21 @@ public class Puck extends DeviceBase {
new Sample(this, i);
}
}
Puck(BasePlate basePlate, int index, Character segment, int number, int address, int angle) {
//super(String.valueOf(index+1));
super(segment + "" + number, new PuckConfig());
this.setParent(basePlate);
this.index = index;
this.segment = segment;
this.number = number;
this.address = address;
this.angle = angle;
for (int i = 0; i < numberOfSamples; i++) {
new Sample(this, i);
}
}
@Override
public PuckConfig getConfig(){