mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-13 22:15:26 +00:00
added PAPA to SWC Racing Procedure; disallow X-Ray under Uniform
Change-Id: I206f006cc835af5d3f8f6ecaf347e3f36ec6ba84
This commit is contained in:
1 parent
2955bccb1e
commit
85f87ff55e
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -9,7 +9,7 @@ import com.sap.sailing.domain.common.racelog.Flags;
|
||||
public interface SWCRacingProcedure extends ConfigurableStartModeFlagRacingProcedure {
|
||||
|
||||
public final static Flags DEFAULT_START_MODE = Flags.UNIFORM;
|
||||
public final static List<Flags> DEFAULT_START_MODE_FLAGS = Arrays.asList(Flags.BLACK, Flags.UNIFORM);
|
||||
public final static List<Flags> DEFAULT_START_MODE_FLAGS = Arrays.asList(Flags.BLACK, Flags.UNIFORM, Flags.PAPA);
|
||||
|
||||
SWCStartConfiguration getConfiguration();
|
||||
}
|
||||
+1
-1
@@ -51,7 +51,7 @@ public class SWCRacingProcedureImpl extends ConfigurableStartModeFlagRacingProce
|
||||
if (!hasRecall) {
|
||||
return false;
|
||||
} else if (startmodeFlagHasBeenSet()) {
|
||||
return cachedStartmodeFlag != Flags.BLACK;
|
||||
return cachedStartmodeFlag != Flags.BLACK && cachedStartmodeFlag != Flags.UNIFORM;
|
||||
} else {
|
||||
return hasRecall;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user