mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-02 02:13:55 +00:00
Some modifications for tests
This commit is contained in:
1 parent
fc6119efd0
commit
c4800896ed
1 file changed
+5
-3
+5
-3
@@ -489,9 +489,11 @@ public class SailMasterConnectorImpl extends SailMasterTransceiverImpl implement
|
||||
|| fixSections[fixDetailIndex].trim().length() == 0 ? null : new MeterDistance(
|
||||
Double.valueOf(fixSections[fixDetailIndex]));
|
||||
fixDetailIndex++;
|
||||
fixes.add(new FixImpl(boatID, trackerType, ageOfDataInMilliseconds, position, speed, nextMarkIndex,
|
||||
rank,
|
||||
averageSpeedOverGround, velocityMadeGood, distanceToLeader, distanceToNextMark));
|
||||
//TODO Remove if after testing
|
||||
if (boatID.startsWith("S") || boatID.startsWith("M") || boatID.startsWith("F") /*|| boatID.equals("GER 66") || boatID.equals("GER 72") || boatID.equals("CAN 11") || boatID.equals("CHN 221")*/) {
|
||||
fixes.add(new FixImpl(boatID, trackerType, ageOfDataInMilliseconds, position, speed, nextMarkIndex,
|
||||
rank, averageSpeedOverGround, velocityMadeGood, distanceToLeader, distanceToNextMark));
|
||||
}
|
||||
}
|
||||
}
|
||||
for (SailMasterListener listener : listeners) {
|
||||
|
||||
Reference in new issue
Block a user