only:rename

This commit is contained in:
Andrey 2023-09-16 00:00:33 -04:00
parent eaef8dfb09
commit ce67997d22
2 changed files with 9 additions and 9 deletions

View File

@ -29,7 +29,7 @@ public class TriggerWheelTSLogic {
TriggerWheelInfo.readWheels(folder, wheelInfo -> { TriggerWheelInfo.readWheels(folder, wheelInfo -> {
System.out.println("onWheel " + wheelInfo.getTriggerName()); System.out.println("onWheel " + wheelInfo.getTriggerName());
if (!wheelInfo.isHardcodedOperationMode()) { if (!wheelInfo.isKnownOperationMode()) {
appendOrIfNotEmpty(triggerTypesWithoutKnownLocation); appendOrIfNotEmpty(triggerTypesWithoutKnownLocation);
triggerTypesWithoutKnownLocation.append("trigger_type == ").append(wheelInfo.getId()); triggerTypesWithoutKnownLocation.append("trigger_type == ").append(wheelInfo.getId());
} }

View File

@ -20,7 +20,7 @@ public class TriggerWheelInfo {
private final List<TriggerSignal> signals; private final List<TriggerSignal> signals;
private final boolean isCrankBased; private final boolean isCrankBased;
private final boolean hasSecondChannel; private final boolean hasSecondChannel;
private final boolean hardcodedOperationMode; private final boolean knownOperationMode;
private final TriggerGaps gaps; private final TriggerGaps gaps;
private final String syncEdge; private final String syncEdge;
@ -28,7 +28,7 @@ public class TriggerWheelInfo {
boolean isCrankBased, boolean isCrankBased,
boolean isSecondWheelCam, boolean isSecondWheelCam,
boolean hasSecondChannel, boolean hasSecondChannel,
boolean hardcodedOperationMode, boolean knownOperationMode,
TriggerGaps gaps, String syncEdge) { TriggerGaps gaps, String syncEdge) {
this.id = id; this.id = id;
this.isSecondWheelCam = isSecondWheelCam; this.isSecondWheelCam = isSecondWheelCam;
@ -37,7 +37,7 @@ public class TriggerWheelInfo {
this.signals = signals; this.signals = signals;
this.isCrankBased = isCrankBased; this.isCrankBased = isCrankBased;
this.hasSecondChannel = hasSecondChannel; this.hasSecondChannel = hasSecondChannel;
this.hardcodedOperationMode = hardcodedOperationMode; this.knownOperationMode = knownOperationMode;
this.gaps = gaps; this.gaps = gaps;
this.syncEdge = syncEdge; this.syncEdge = syncEdge;
} }
@ -58,7 +58,7 @@ public class TriggerWheelInfo {
boolean isCrankBased = false; boolean isCrankBased = false;
boolean isSecondWheelCam = false; boolean isSecondWheelCam = false;
boolean hasSecondChannel = false; boolean hasSecondChannel = false;
boolean hardcodedOperationMode = false; boolean knownOperationMode = false;
TriggerWheelInfo.TriggerGaps gaps = null; TriggerWheelInfo.TriggerGaps gaps = null;
String syncEdge = null; String syncEdge = null;
@ -99,7 +99,7 @@ public class TriggerWheelInfo {
hasSecondChannel = Boolean.parseBoolean(value); hasSecondChannel = Boolean.parseBoolean(value);
break; break;
case TRIGGER_KNOWN_OPERATION_MODE: case TRIGGER_KNOWN_OPERATION_MODE:
hardcodedOperationMode = Boolean.parseBoolean(value); knownOperationMode = Boolean.parseBoolean(value);
break; break;
case TRIGGER_WITH_SYNC: case TRIGGER_WITH_SYNC:
//isSynchronizationNeeded = Integer.parseInt(value) > 0; //isSynchronizationNeeded = Integer.parseInt(value) > 0;
@ -119,7 +119,7 @@ public class TriggerWheelInfo {
isCrankBased, isCrankBased,
isSecondWheelCam, isSecondWheelCam,
hasSecondChannel, hasSecondChannel,
hardcodedOperationMode, knownOperationMode,
gaps, gaps,
syncEdge syncEdge
); );
@ -228,8 +228,8 @@ public class TriggerWheelInfo {
return hasSecondChannel; return hasSecondChannel;
} }
public boolean isHardcodedOperationMode() { public boolean isKnownOperationMode() {
return hardcodedOperationMode; return knownOperationMode;
} }
public TriggerGaps getGaps() { public TriggerGaps getGaps() {