only:helping build

This commit is contained in:
rusefillc 2023-07-29 14:17:41 -04:00
parent 4be0d15a64
commit 0c2dcb1788
1 changed files with 7 additions and 2 deletions

View File

@ -28,7 +28,7 @@ public class TriggerWheelInfo {
boolean isSecondWheelCam,
boolean hasSecondChannel,
boolean hardcodedOperationMode,
TriggerGaps gaps) {
TriggerGaps gaps, String syncEdge) {
this.id = id;
this.isSecondWheelCam = isSecondWheelCam;
this.tdcPosition = tdcPosition;
@ -58,6 +58,8 @@ public class TriggerWheelInfo {
boolean hasSecondChannel = false;
boolean hardcodedOperationMode = false;
TriggerWheelInfo.TriggerGaps gaps = null;
String syncEdge = null;
while (true) {
line = reader.readLine();
if (line == null || line.trim().startsWith("#"))
@ -100,6 +102,8 @@ public class TriggerWheelInfo {
case TRIGGER_WITH_SYNC:
//isSynchronizationNeeded = Integer.parseInt(value) > 0;
break;
case TRIGGER_SYNC_EDGE:
syncEdge = value;
default:
throw new IllegalStateException("Unexpected key/value: " + line);
}
@ -113,7 +117,8 @@ public class TriggerWheelInfo {
isSecondWheelCam,
hasSecondChannel,
hardcodedOperationMode,
gaps
gaps,
syncEdge
);
}