only:rename
This commit is contained in:
parent
0a459fa9f5
commit
eaef8dfb09
|
@ -4,7 +4,7 @@
|
|||
#define TRIGGER_CYCLE_DURATION "cycleDuration"
|
||||
#define TRIGGER_IS_SECOND_WHEEL_CAM "isSecondWheelCam"
|
||||
#define TRIGGER_HAS_SECOND_CHANNEL "hasSecondChannel"
|
||||
#define TRIGGER_HARDCODED_OPERATION_MODE "knownOperationMode"
|
||||
#define TRIGGER_KNOWN_OPERATION_MODE "knownOperationMode"
|
||||
#define TRIGGER_COMMENT "#"
|
||||
#define TRIGGER_GAPS_COUNT "gapsCount"
|
||||
#define TRIGGER_GAP_FROM "gapFrom"
|
||||
|
|
|
@ -12,7 +12,7 @@ public class TriggerMeta {
|
|||
public static final String TRIGGER_GAP_FROM = "gapFrom";
|
||||
public static final String TRIGGER_GAP_TO = "gapTo";
|
||||
public static final String TRIGGER_GAPS_COUNT = "gapsCount";
|
||||
public static final String TRIGGER_HARDCODED_OPERATION_MODE = "knownOperationMode";
|
||||
public static final String TRIGGER_KNOWN_OPERATION_MODE = "knownOperationMode";
|
||||
public static final String TRIGGER_HAS_SECOND_CHANNEL = "hasSecondChannel";
|
||||
public static final String TRIGGER_IS_CRANK_KEY = "crankBased";
|
||||
public static final String TRIGGER_IS_SECOND_WHEEL_CAM = "isSecondWheelCam";
|
||||
|
|
|
@ -98,7 +98,7 @@ public class TriggerWheelInfo {
|
|||
case TRIGGER_HAS_SECOND_CHANNEL:
|
||||
hasSecondChannel = Boolean.parseBoolean(value);
|
||||
break;
|
||||
case TRIGGER_HARDCODED_OPERATION_MODE:
|
||||
case TRIGGER_KNOWN_OPERATION_MODE:
|
||||
hardcodedOperationMode = Boolean.parseBoolean(value);
|
||||
break;
|
||||
case TRIGGER_WITH_SYNC:
|
||||
|
|
|
@ -83,7 +83,7 @@ extern TriggerDecoderBase initState;
|
|||
|
||||
fprintf(fp, "TRIGGERTYPE %d %d %s %.2f\n", tt, shape->getLength(), getTrigger_type_e(tt), shape->tdcPosition);
|
||||
|
||||
fprintf(fp, "%s=%s\n", TRIGGER_HARDCODED_OPERATION_MODE, shape->knownOperationMode ? "true" : "false");
|
||||
fprintf(fp, "%s=%s\n", TRIGGER_KNOWN_OPERATION_MODE, shape->knownOperationMode ? "true" : "false");
|
||||
operation_mode_e mode = shape->getWheelOperationMode();
|
||||
bool isOneOfCrankShapes = mode == FOUR_STROKE_CRANK_SENSOR ||
|
||||
mode == FOUR_STROKE_THREE_TIMES_CRANK_SENSOR ||
|
||||
|
|
Loading…
Reference in New Issue