mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-03 10:53:49 +00:00
Merge branch 'master' into prod
Conflicts: java/pom.xml
This commit is contained in:
commit
856999939f
76 files changed
+1395
-458
No files matched your search
+1
-1
@@ -74,7 +74,7 @@ import difflib.PatchFailedException;
|
||||
public class DomainFactoryImpl implements DomainFactory {
|
||||
private static final Logger logger = Logger.getLogger(DomainFactoryImpl.class.getName());
|
||||
|
||||
private final long millisecondsOverWhichToAverageSpeed = 15000;
|
||||
private final long millisecondsOverWhichToAverageSpeed = 40000; // makes for a 20s half-side interval
|
||||
|
||||
// TODO clarify how millisecondsOverWhichToAverageWind could be updated and propagated live
|
||||
private final long millisecondsOverWhichToAverageWind = 30000;
|
||||
|
||||
+9
@@ -51,4 +51,13 @@ public class TracTracTrackedLegImpl implements TrackedLeg {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<Competitor, Integer> getRanks(TimePoint timePoint) {
|
||||
Map<Competitor, Integer> result = new HashMap<Competitor, Integer>();
|
||||
for (Competitor c : getTrackedRace().getRace().getCompetitors()) {
|
||||
result.put(c, getTrackedLeg(c).getRank(timePoint));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
}
|
||||
+3
-2
@@ -9,6 +9,7 @@ import com.sap.sailing.domain.base.Position;
|
||||
import com.sap.sailing.domain.base.Speed;
|
||||
import com.sap.sailing.domain.base.SpeedWithBearing;
|
||||
import com.sap.sailing.domain.base.TimePoint;
|
||||
import com.sap.sailing.domain.base.impl.DegreeBearingImpl;
|
||||
import com.sap.sailing.domain.base.impl.KilometersPerHourSpeedImpl;
|
||||
import com.sap.sailing.domain.base.impl.KnotSpeedImpl;
|
||||
import com.sap.sailing.domain.base.impl.KnotSpeedWithBearingImpl;
|
||||
@@ -126,8 +127,8 @@ public class TracTracTrackedLegOfCompetitor implements TrackedLegOfCompetitor {
|
||||
|
||||
@Override
|
||||
public Speed getVelocityMadeGood(TimePoint timePoint) throws NoWindException {
|
||||
// TODO Auto-generated method stub; problem: live VMG is not delivered by new ResultAPI
|
||||
return null;
|
||||
return new KnotSpeedWithBearingImpl(getLiveResults(timePoint).getVmgAverage30s(),
|
||||
new DegreeBearingImpl(getLiveResults(timePoint).getHeading()));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
package com.sap.sailing.domain.tracking;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import com.sap.sailing.domain.base.Competitor;
|
||||
import com.sap.sailing.domain.base.Leg;
|
||||
import com.sap.sailing.domain.base.TimePoint;
|
||||
@@ -19,4 +21,15 @@ public interface TrackedLeg {
|
||||
*/
|
||||
boolean isUpOrDownwindLeg(TimePoint at) throws NoWindException;
|
||||
|
||||
/**
|
||||
* Computes the ranks of all competitors in this leg in one sweep. There are two advantages of this operation over
|
||||
* the more fine-grained {@link TrackedLegOfCompetitor#getRank(TimePoint)}:
|
||||
* <ol>
|
||||
* <li>all ranks are available in one call</li>
|
||||
* <li>no incoming events can influence ranks between separate calls to
|
||||
* {@link TrackedLegOfCompetitor#getRank(TimePoint)}</li>
|
||||
* </ol>
|
||||
*/
|
||||
Map<Competitor, Integer> getRanks(TimePoint timePoint);
|
||||
|
||||
}
|
||||
+22
-6
@@ -1,7 +1,9 @@
|
||||
package com.sap.sailing.domain.tracking.impl;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.SortedSet;
|
||||
import java.util.TreeSet;
|
||||
|
||||
import com.sap.sailing.domain.base.Bearing;
|
||||
@@ -25,7 +27,7 @@ public class TrackedLegImpl implements TrackedLeg, RaceChangeListener<Competitor
|
||||
private final Leg leg;
|
||||
private final Map<Competitor, TrackedLegOfCompetitor> trackedLegsOfCompetitors;
|
||||
private TrackedRaceImpl trackedRace;
|
||||
private final Map<TimePoint, TreeSet<TrackedLegOfCompetitor>> competitorTracksOrderedByRank;
|
||||
private final Map<TimePoint, SortedSet<TrackedLegOfCompetitor>> competitorTracksOrderedByRank;
|
||||
|
||||
public TrackedLegImpl(DynamicTrackedRaceImpl trackedRace, Leg leg, Iterable<Competitor> competitors) {
|
||||
super();
|
||||
@@ -36,7 +38,7 @@ public class TrackedLegImpl implements TrackedLeg, RaceChangeListener<Competitor
|
||||
trackedLegsOfCompetitors.put(competitor, new TrackedLegOfCompetitorImpl(this, competitor));
|
||||
}
|
||||
trackedRace.addListener(this);
|
||||
competitorTracksOrderedByRank = new HashMap<TimePoint, TreeSet<TrackedLegOfCompetitor>>();
|
||||
competitorTracksOrderedByRank = new HashMap<TimePoint, SortedSet<TrackedLegOfCompetitor>>();
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -60,7 +62,7 @@ public class TrackedLegImpl implements TrackedLeg, RaceChangeListener<Competitor
|
||||
}
|
||||
|
||||
protected Competitor getLeader(TimePoint timePoint) {
|
||||
TreeSet<TrackedLegOfCompetitor> byRank = getCompetitorTracksOrderedByRank(timePoint);
|
||||
SortedSet<TrackedLegOfCompetitor> byRank = getCompetitorTracksOrderedByRank(timePoint);
|
||||
return byRank.first().getCompetitor();
|
||||
}
|
||||
|
||||
@@ -74,19 +76,29 @@ public class TrackedLegImpl implements TrackedLeg, RaceChangeListener<Competitor
|
||||
* Note that this does not reflect overall race standings. For that, the ordering would have to
|
||||
* consider the order of the boats not currently in this leg, too.
|
||||
*/
|
||||
protected TreeSet<TrackedLegOfCompetitor> getCompetitorTracksOrderedByRank(TimePoint timePoint) {
|
||||
protected SortedSet<TrackedLegOfCompetitor> getCompetitorTracksOrderedByRank(TimePoint timePoint) {
|
||||
synchronized (competitorTracksOrderedByRank) {
|
||||
TreeSet<TrackedLegOfCompetitor> treeSet = competitorTracksOrderedByRank.get(timePoint);
|
||||
SortedSet<TrackedLegOfCompetitor> treeSet = competitorTracksOrderedByRank.get(timePoint);
|
||||
if (treeSet == null) {
|
||||
treeSet = new TreeSet<TrackedLegOfCompetitor>(new WindwardToGoComparator(this, timePoint));
|
||||
for (TrackedLegOfCompetitor competitorLeg : getTrackedLegsOfCompetitors()) {
|
||||
treeSet.add(competitorLeg);
|
||||
}
|
||||
competitorTracksOrderedByRank.put(timePoint, treeSet);
|
||||
competitorTracksOrderedByRank.put(timePoint, Collections.unmodifiableSortedSet(treeSet));
|
||||
}
|
||||
return treeSet;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<Competitor, Integer> getRanks(TimePoint timePoint) {
|
||||
SortedSet<TrackedLegOfCompetitor> orderedTrackedLegsOfCompetitors = getCompetitorTracksOrderedByRank(timePoint);
|
||||
Map<Competitor, Integer> result = new HashMap<Competitor, Integer>();
|
||||
for (TrackedLegOfCompetitor tloc : orderedTrackedLegsOfCompetitors) {
|
||||
result.put(tloc.getCompetitor(), orderedTrackedLegsOfCompetitors.headSet(tloc).size()+1);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isUpOrDownwindLeg(TimePoint at) throws NoWindException {
|
||||
@@ -116,6 +128,10 @@ public class TrackedLegImpl implements TrackedLeg, RaceChangeListener<Competitor
|
||||
getLeg().getFrom().getBuoys().iterator().next()).getEstimatedPosition(at, false);
|
||||
Position approximateLegEndPosition = getTrackedRace().getTrack(
|
||||
getLeg().getTo().getBuoys().iterator().next()).getEstimatedPosition(at, false);
|
||||
if (approximateLegStartPosition == null || approximateLegEndPosition == null) {
|
||||
throw new RuntimeException("No mark positions received yet for leg "+getLeg()+
|
||||
". Can't determine wind direction since position is not known.");
|
||||
}
|
||||
Wind wind = getWind(
|
||||
approximateLegStartPosition.translateGreatCircle(approximateLegStartPosition.getBearingGreatCircle(approximateLegEndPosition),
|
||||
approximateLegStartPosition.getDistance(approximateLegEndPosition).scale(0.5)), at);
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
package com.sap.sailing.domain.tracking.impl;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.TreeSet;
|
||||
import java.util.SortedSet;
|
||||
|
||||
import com.sap.sailing.domain.base.Bearing;
|
||||
import com.sap.sailing.domain.base.Buoy;
|
||||
@@ -244,7 +244,7 @@ public class TrackedLegOfCompetitorImpl implements TrackedLegOfCompetitor {
|
||||
|
||||
@Override
|
||||
public int getRank(TimePoint timePoint) {
|
||||
TreeSet<TrackedLegOfCompetitor> competitorTracksByRank = getTrackedLeg().getCompetitorTracksOrderedByRank(timePoint);
|
||||
SortedSet<TrackedLegOfCompetitor> competitorTracksByRank = getTrackedLeg().getCompetitorTracksOrderedByRank(timePoint);
|
||||
return competitorTracksByRank.headSet(this).size()+1;
|
||||
}
|
||||
|
||||
|
||||
+7
-2
@@ -127,7 +127,7 @@ public class UDPExpeditionReceiver implements Runnable {
|
||||
// by subtracting the last diff from now
|
||||
defaultForMessageTimePoint = new MillisecondsTimePoint(now - diff);
|
||||
} else {
|
||||
defaultForMessageTimePoint = MillisecondsTimePoint.now();
|
||||
defaultForMessageTimePoint = null;
|
||||
}
|
||||
for (int i = 0; i < variablesAndValuesInterleaved.length; i++) {
|
||||
int variableID = Integer.valueOf(variablesAndValuesInterleaved[i++]);
|
||||
@@ -136,7 +136,12 @@ public class UDPExpeditionReceiver implements Runnable {
|
||||
}
|
||||
int checksum = Integer.valueOf(m.group(m.groupCount()), 16);
|
||||
valid = valid && checksumOk(checksum, packetAsString);
|
||||
ExpeditionMessageImpl result = new ExpeditionMessageImpl(boatID, values, valid, defaultForMessageTimePoint);
|
||||
ExpeditionMessageImpl result;
|
||||
if (defaultForMessageTimePoint == null) {
|
||||
result = new ExpeditionMessageImpl(boatID, values, valid);
|
||||
} else {
|
||||
result = new ExpeditionMessageImpl(boatID, values, valid, defaultForMessageTimePoint);
|
||||
}
|
||||
if (result.hasValue(ExpeditionMessage.ID_GPS_TIME)) {
|
||||
// an original GPS time stamp; then remember the difference between now and the time stamp
|
||||
timeStampOfLastMessageReceived.put(boatID, now-result.getTimePoint().asMillis());
|
||||
|
||||
@@ -21,9 +21,9 @@
|
||||
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Declipse.ignoreApp=true -Dosgi.noShutdown=true -Dorg.osgi.service.http.port=8888"/>
|
||||
<stringAttribute key="pde.version" value="3.3"/>
|
||||
<booleanAttribute key="show_selected_only" value="false"/>
|
||||
<stringAttribute key="target_bundles" value="org.eclipse.equinox.http.servlet@default:default,org.eclipse.equinox.common@2:true,org.apache.ant@default:default,org.eclipse.equinox.registry@default:default,org.eclipse.equinox.util@default:default,org.eclipse.osgi.services@default:default,javax.servlet@default:default,org.eclipse.core.jobs@default:default,org.mortbay.jetty.util@default:default,org.apache.commons.logging@default:default,org.eclipse.equinox.http.registry@default:default,org.junit4@default:default,org.junit*4.8.1.v4_8_1_v20100427-1100@default:default,org.eclipse.equinox.http.jetty@default:default,org.mortbay.jetty.server@default:default,org.hamcrest.core@default:default,org.eclipse.core.runtime.compatibility.registry@default:false,org.eclipse.osgi.util@default:default,org.junit*3.8.2.v3_8_2_v20100427-1100@default:default,javax.servlet.jsp@default:default,org.apache.commons.el@default:default,org.eclipse.osgi@-1:true,org.apache.jasper@default:default"/>
|
||||
<stringAttribute key="target_bundles" value="javax.servlet.jsp@default:default,javax.servlet@default:default,org.apache.ant@default:default,org.apache.commons.el@default:default,org.apache.commons.logging@default:default,org.apache.jasper@default:default,org.eclipse.core.jobs@default:default,org.eclipse.core.runtime.compatibility.registry@default:false,org.eclipse.equinox.common@2:true,org.eclipse.equinox.http.jetty@default:default,org.eclipse.equinox.http.registry@default:default,org.eclipse.equinox.http.servlet@default:default,org.eclipse.equinox.registry@default:default,org.eclipse.equinox.util@default:default,org.eclipse.osgi.services@default:default,org.eclipse.osgi.util@default:default,org.eclipse.osgi@-1:true,org.hamcrest.core@default:default,org.junit*3.8.2.v3_8_2_v20100427-1100@default:default,org.junit4@default:default,org.mortbay.jetty.server@default:default,org.mortbay.jetty.util@default:default"/>
|
||||
<booleanAttribute key="tracing" value="false"/>
|
||||
<booleanAttribute key="useCustomFeatures" value="false"/>
|
||||
<booleanAttribute key="useDefaultConfigArea" value="true"/>
|
||||
<stringAttribute key="workspace_bundles" value="com.googlecode.java-diff-utils.test@default:default,com.sap.sailing.expeditionconnector.test@default:default,com.googlecode.java-diff-utils@default:default,com.mongodb.driver@default:default,com.sap.sailing.declination@default:default,com.sap.sailing.mongodb@default:default,com.sap.sailing.server@default:default,com.sap.sailing.declination.test@default:default,com.sap.sailing.domain.tractracadapter@default:default,com.sap.sailing.domain@default:default,com.sap.sailing.expeditionconnector@default:default,com.sap.sailing.domain.test@default:default,com.tractrac.resultapi@default:default,com.sap.sailing.mongodb.test@default:default,org.json.simple@default:default,com.tractrac.clientmodule@default:default"/>
|
||||
<stringAttribute key="workspace_bundles" value="com.googlecode.java-diff-utils.test@default:default,com.googlecode.java-diff-utils@default:default,com.mongodb.driver@default:default,com.sap.sailing.declination.test@default:default,com.sap.sailing.declination@default:default,com.sap.sailing.domain.test@default:default,com.sap.sailing.domain.tractracadapter@default:default,com.sap.sailing.domain@default:default,com.sap.sailing.expeditionconnector.test@default:default,com.sap.sailing.expeditionconnector@default:default,com.sap.sailing.mongodb.test@default:default,com.sap.sailing.mongodb@default:default,com.sap.sailing.server.test@default:default,com.sap.sailing.server@default:default,com.tractrac.clientmodule@default:default,com.tractrac.resultapi@default:default,org.json.simple@default:default"/>
|
||||
</launchConfiguration>
|
||||
@@ -19,7 +19,7 @@
|
||||
</listAttribute>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -consoleLog -console"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Declipse.ignoreApp=true -Dosgi.noShutdown=true -Dorg.osgi.service.http.port=8886"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Declipse.ignoreApp=true -Dosgi.noShutdown=true -Dorg.osgi.service.http.port=8886 -Dmongo.port=10200"/>
|
||||
<stringAttribute key="pde.version" value="3.3"/>
|
||||
<booleanAttribute key="show_selected_only" value="false"/>
|
||||
<stringAttribute key="target_bundles" value="javax.servlet.jsp@default:default,javax.servlet@default:default,org.apache.ant@default:default,org.apache.commons.el@default:default,org.apache.commons.logging@default:default,org.apache.jasper@default:default,org.eclipse.core.jobs@default:default,org.eclipse.core.runtime.compatibility.registry@default:false,org.eclipse.equinox.common@2:true,org.eclipse.equinox.http.jetty@default:default,org.eclipse.equinox.http.registry@default:default,org.eclipse.equinox.http.servlet@default:default,org.eclipse.equinox.registry@default:default,org.eclipse.equinox.util@default:default,org.eclipse.osgi.services@default:default,org.eclipse.osgi.util@default:default,org.eclipse.osgi@-1:true,org.hamcrest.core@default:default,org.mortbay.jetty.server@default:default,org.mortbay.jetty.util@default:default"/>
|
||||
|
||||
@@ -2,6 +2,7 @@ package com.sap.sailing.server;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.Iterator;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.servlet.ServletException;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
@@ -108,7 +109,7 @@ public class ModeratorApp extends Servlet {
|
||||
JSONObject jsonFix = new JSONObject();
|
||||
jsonFix.put("timepoint", fix.getTimePoint().asMillis());
|
||||
jsonFix.put("latdeg", fix.getPosition().getLatDeg());
|
||||
jsonFix.put("lngdev", fix.getPosition().getLngDeg());
|
||||
jsonFix.put("lngdeg", fix.getPosition().getLngDeg());
|
||||
jsonFix.put("truebearingdeg", fix.getSpeed().getBearing().getDegrees());
|
||||
jsonFix.put("knotspeed", fix.getSpeed().getKnots());
|
||||
jsonFixes.add(jsonFix);
|
||||
@@ -232,6 +233,7 @@ public class ModeratorApp extends Servlet {
|
||||
jsonLeg.put("upordownwindleg", "false");
|
||||
}
|
||||
JSONArray jsonCompetitors = new JSONArray();
|
||||
Map<Competitor, Integer> ranks = leg.getRanks(timePoint);
|
||||
for (Competitor competitor : event.getCompetitors()) {
|
||||
JSONObject jsonCompetitorInLeg = new JSONObject();
|
||||
TrackedLegOfCompetitor trackedLegOfCompetitor = leg.getTrackedLeg(competitor);
|
||||
@@ -278,7 +280,7 @@ public class ModeratorApp extends Servlet {
|
||||
// well, we don't know the wind direction... then no average VMG will be shown...
|
||||
}
|
||||
try {
|
||||
jsonCompetitorInLeg.put("rank", trackedLegOfCompetitor.getRank(timePoint));
|
||||
jsonCompetitorInLeg.put("rank", ranks.get(competitor));
|
||||
} catch (RuntimeException re) {
|
||||
if (re.getCause() != null && re.getCause() instanceof NoWindException) {
|
||||
// well, we don't know the wind direction, so we can't compute a ranking
|
||||
@@ -362,8 +364,12 @@ public class ModeratorApp extends Servlet {
|
||||
JSONObject jsonRace = new JSONObject();
|
||||
jsonRace.put("name", race.getName());
|
||||
jsonRace.put("boatclass", race.getBoatClass()==null?"":race.getBoatClass().getName());
|
||||
TimePoint start = getService().getDomainFactory().getTrackedEvent(event).getTrackedRace(race).getStart();
|
||||
TrackedRace trackedRace = getService().getDomainFactory().getOrCreateTrackedEvent(event).getTrackedRace(race);
|
||||
TimePoint start = trackedRace.getStart();
|
||||
jsonRace.put("start", start==null?Long.MAX_VALUE:start.asMillis());
|
||||
if (trackedRace.getFinish() != null) {
|
||||
jsonRace.put("finish", trackedRace.getFinish().asMillis());
|
||||
}
|
||||
JSONArray jsonLegs = new JSONArray();
|
||||
for (Leg leg : race.getCourse().getLegs()) {
|
||||
JSONObject jsonLeg = new JSONObject();
|
||||
@@ -371,13 +377,6 @@ public class ModeratorApp extends Servlet {
|
||||
jsonLeg.put("end", leg.getTo().getName());
|
||||
jsonLegs.add(jsonLeg);
|
||||
}
|
||||
TrackedRace trackedRace = getService().getDomainFactory().getOrCreateTrackedEvent(event).getTrackedRace(race);
|
||||
if (trackedRace.getStart() != null) {
|
||||
jsonRace.put("start", trackedRace.getStart().asMillis());
|
||||
}
|
||||
if (trackedRace.getFinish() != null) {
|
||||
jsonRace.put("finish", trackedRace.getFinish().asMillis());
|
||||
}
|
||||
jsonRace.put("legs", jsonLegs);
|
||||
jsonRaces.add(jsonRace);
|
||||
}
|
||||
|
||||
@@ -2,7 +2,11 @@
|
||||
<classpath>
|
||||
<classpathentry exported="true" kind="lib" path="lib/TracClientLib.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="lib/TracClientSail.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="lib/TracResultAPI.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="lib/TracResultAPI.jar">
|
||||
<attributes>
|
||||
<attribute name="javadoc_location" value="file:/C:/data/SAP/sailing/workspace/java/com.tractrac.resultapi/javadoc/"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
|
||||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
|
||||
Regular → Executable
+2
-2
@@ -2,13 +2,13 @@
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
All Classes (TracTrac Result API)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-06-02">
|
||||
<META NAME="date" CONTENT="2011-06-15">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||
|
||||
|
||||
Regular → Executable
+2
-2
@@ -2,13 +2,13 @@
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
All Classes (TracTrac Result API)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-06-02">
|
||||
<META NAME="date" CONTENT="2011-06-15">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||
|
||||
|
||||
Regular → Executable
+2
-2
@@ -2,13 +2,13 @@
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
LiveResult (TracTrac Result API)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-06-02">
|
||||
<META NAME="date" CONTENT="2011-06-15">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||
|
||||
|
||||
Regular → Executable
+88
-2
@@ -2,13 +2,13 @@
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
LiveResultItem (TracTrac Result API)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-06-02">
|
||||
<META NAME="date" CONTENT="2011-06-15">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||
|
||||
@@ -264,6 +264,22 @@ Class representing a competitor at any given point in time, including informatio
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> double</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#getVmg()">getVmg</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Get VMG in knots measured at a point</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> double</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#getVmgAverage30s()">getVmgAverage30s</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Get the in knots VMG averaged over 30 seconds</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> boolean</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#isHasFinished()">isHasFinished</A></B>()</CODE>
|
||||
|
||||
@@ -399,6 +415,22 @@ Class representing a competitor at any given point in time, including informatio
|
||||
<BR>
|
||||
Set the UUID of the competitor</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#setVmg(double)">setVmg</A></B>(double vmg)</CODE>
|
||||
|
||||
<BR>
|
||||
Set VMG in knots measured at a point</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#setVmgAverage30s(double)">setVmgAverage30s</A></B>(double vmgAverage30s)</CODE>
|
||||
|
||||
<BR>
|
||||
Set the VMG in knots averaged over 30 seconds</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
@@ -883,6 +915,60 @@ public void <B>setLongitude</B>(double longitude)</PRE>
|
||||
<DT><B>Parameters:</B><DD><CODE>longitude</CODE> - set the longitude of the competitor in (degrees).(decimal degrees)</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getVmg()"><!-- --></A><H3>
|
||||
getVmg</H3>
|
||||
<PRE>
|
||||
public double <B>getVmg</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Get VMG in knots measured at a point
|
||||
<P>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>the vmg</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setVmg(double)"><!-- --></A><H3>
|
||||
setVmg</H3>
|
||||
<PRE>
|
||||
public void <B>setVmg</B>(double vmg)</PRE>
|
||||
<DL>
|
||||
<DD>Set VMG in knots measured at a point
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>vmg</CODE> - the vmg to set</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getVmgAverage30s()"><!-- --></A><H3>
|
||||
getVmgAverage30s</H3>
|
||||
<PRE>
|
||||
public double <B>getVmgAverage30s</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Get the in knots VMG averaged over 30 seconds
|
||||
<P>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>the vmgAverage30s</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setVmgAverage30s(double)"><!-- --></A><H3>
|
||||
setVmgAverage30s</H3>
|
||||
<PRE>
|
||||
public void <B>setVmgAverage30s</B>(double vmgAverage30s)</PRE>
|
||||
<DL>
|
||||
<DD>Set the VMG in knots averaged over 30 seconds
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>vmgAverage30s</CODE> - the vmgAverage30s to set</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<HR>
|
||||
|
||||
|
||||
Regular → Executable
+132
-10
@@ -2,13 +2,13 @@
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
MarkResult (TracTrac Result API)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-06-02">
|
||||
<META NAME="date" CONTENT="2011-06-15">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||
|
||||
@@ -76,9 +76,9 @@ function windowTitle()
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
@@ -108,7 +108,48 @@ The resultlist for a specific mark for a specific class.
|
||||
<HR>
|
||||
|
||||
<P>
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
|
||||
<A NAME="field_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Field Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE>static int</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/MarkResult.html#LEGTYPE_DOWNWIND">LEGTYPE_DOWNWIND</A></B></CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE>static int</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/MarkResult.html#LEGTYPE_REACHING">LEGTYPE_REACHING</A></B></CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE>static int</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/MarkResult.html#LEGTYPE_UNKNOWN">LEGTYPE_UNKNOWN</A></B></CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE>static int</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/MarkResult.html#LEGTYPE_UPWIND">LEGTYPE_UPWIND</A></B></CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
|
||||
<A NAME="constructor_summary"><!-- --></A>
|
||||
@@ -118,10 +159,11 @@ The resultlist for a specific mark for a specific class.
|
||||
<B>Constructor Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/MarkResult.html#MarkResult(java.util.List, com.maptrack.client.data.EventClass, com.tractrac.ResultAPI.MarkResult, com.maptrack.client.data.ControlPoint)">MarkResult</A></B>(java.util.List<com.maptrack.client.data.CompetitorMarkPassInfo> markPassInfo,
|
||||
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/MarkResult.html#MarkResult(java.util.List, com.maptrack.client.data.EventClass, com.tractrac.ResultAPI.MarkResult, com.maptrack.client.data.ControlPoint, double)">MarkResult</A></B>(java.util.List<com.maptrack.client.data.CompetitorMarkPassInfo> markPassInfo,
|
||||
com.maptrack.client.data.EventClass eventClass,
|
||||
<A HREF="../../../com/tractrac/ResultAPI/MarkResult.html" title="class in com.tractrac.ResultAPI">MarkResult</A> previousMark,
|
||||
com.maptrack.client.data.ControlPoint cp)</CODE>
|
||||
com.maptrack.client.data.ControlPoint cp,
|
||||
double legDirection)</CODE>
|
||||
|
||||
<BR>
|
||||
Constructor for the MarkResult.</TD>
|
||||
@@ -162,6 +204,14 @@ The resultlist for a specific mark for a specific class.
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> int</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/MarkResult.html#getLegType()">getLegType</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Get the type of leg: LEGTYPE_UPWIND, LEGTYPE_DOWNWIND, LEGTYPE_REACHING or LEGTYPE_UNKNOWN.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> java.lang.String</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/MarkResult.html#getMarkName()">getMarkName</A></B>()</CODE>
|
||||
|
||||
@@ -205,6 +255,55 @@ The resultlist for a specific mark for a specific class.
|
||||
|
||||
<P>
|
||||
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
|
||||
<A NAME="field_detail"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Field Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="LEGTYPE_UNKNOWN"><!-- --></A><H3>
|
||||
LEGTYPE_UNKNOWN</H3>
|
||||
<PRE>
|
||||
public static final int <B>LEGTYPE_UNKNOWN</B></PRE>
|
||||
<DL>
|
||||
<DL>
|
||||
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.tractrac.ResultAPI.MarkResult.LEGTYPE_UNKNOWN">Constant Field Values</A></DL>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="LEGTYPE_UPWIND"><!-- --></A><H3>
|
||||
LEGTYPE_UPWIND</H3>
|
||||
<PRE>
|
||||
public static final int <B>LEGTYPE_UPWIND</B></PRE>
|
||||
<DL>
|
||||
<DL>
|
||||
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.tractrac.ResultAPI.MarkResult.LEGTYPE_UPWIND">Constant Field Values</A></DL>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="LEGTYPE_DOWNWIND"><!-- --></A><H3>
|
||||
LEGTYPE_DOWNWIND</H3>
|
||||
<PRE>
|
||||
public static final int <B>LEGTYPE_DOWNWIND</B></PRE>
|
||||
<DL>
|
||||
<DL>
|
||||
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.tractrac.ResultAPI.MarkResult.LEGTYPE_DOWNWIND">Constant Field Values</A></DL>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="LEGTYPE_REACHING"><!-- --></A><H3>
|
||||
LEGTYPE_REACHING</H3>
|
||||
<PRE>
|
||||
public static final int <B>LEGTYPE_REACHING</B></PRE>
|
||||
<DL>
|
||||
<DL>
|
||||
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.tractrac.ResultAPI.MarkResult.LEGTYPE_REACHING">Constant Field Values</A></DL>
|
||||
</DL>
|
||||
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
|
||||
<A NAME="constructor_detail"><!-- --></A>
|
||||
@@ -215,13 +314,14 @@ The resultlist for a specific mark for a specific class.
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="MarkResult(java.util.List, com.maptrack.client.data.EventClass, com.tractrac.ResultAPI.MarkResult, com.maptrack.client.data.ControlPoint)"><!-- --></A><H3>
|
||||
<A NAME="MarkResult(java.util.List, com.maptrack.client.data.EventClass, com.tractrac.ResultAPI.MarkResult, com.maptrack.client.data.ControlPoint, double)"><!-- --></A><H3>
|
||||
MarkResult</H3>
|
||||
<PRE>
|
||||
public <B>MarkResult</B>(java.util.List<com.maptrack.client.data.CompetitorMarkPassInfo> markPassInfo,
|
||||
com.maptrack.client.data.EventClass eventClass,
|
||||
<A HREF="../../../com/tractrac/ResultAPI/MarkResult.html" title="class in com.tractrac.ResultAPI">MarkResult</A> previousMark,
|
||||
com.maptrack.client.data.ControlPoint cp)</PRE>
|
||||
com.maptrack.client.data.ControlPoint cp,
|
||||
double legDirection)</PRE>
|
||||
<DL>
|
||||
<DD>Constructor for the MarkResult.
|
||||
<br><br><b>NOTE: Constructor is normally not used by API customers.</b>
|
||||
@@ -336,6 +436,28 @@ public java.lang.String <B>getMarkShortName</B>()</PRE>
|
||||
<DT><B>Returns:</B><DD>the short name of the mark the list is generated for</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getLegType()"><!-- --></A><H3>
|
||||
getLegType</H3>
|
||||
<PRE>
|
||||
public int <B>getLegType</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Get the type of leg: LEGTYPE_UPWIND, LEGTYPE_DOWNWIND, LEGTYPE_REACHING or LEGTYPE_UNKNOWN.
|
||||
<p>
|
||||
Note that legtype isn't entered as part of the course defination, but calculated using the following logic:
|
||||
<ul>
|
||||
<li>First leg is considered an upwind leg</li>
|
||||
<li>Leg +/- 22.5 degrees compared to first leg are also considered upwind</li>
|
||||
<li>Legs 180 +/- 22.5 degress compared to the first leg are considered downwind</li>
|
||||
<li>All other legs are considered reaching</li>
|
||||
</p>
|
||||
<P>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>the legType as an int</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<HR>
|
||||
|
||||
@@ -387,9 +509,9 @@ public java.lang.String <B>getMarkShortName</B>()</PRE>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
|
||||
Regular → Executable
+5
-5
@@ -2,13 +2,13 @@
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
MarkResultItem (TracTrac Result API)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-06-02">
|
||||
<META NAME="date" CONTENT="2011-06-15">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||
|
||||
@@ -720,7 +720,7 @@ public double <B>getSOG</B>()</PRE>
|
||||
<P>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>the speed over ground (SOG) as measured by distance / time. NaN is returned for the start mark.</DL>
|
||||
<DT><B>Returns:</B><DD>the speed over ground (SOG) in knots as measured by distance / time. NaN is returned for the start mark.</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
@@ -747,7 +747,7 @@ public double <B>getVMG</B>()</PRE>
|
||||
<P>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>the VMG (velocity made good) measured as distance between marks / time used on leg. NaN is returned for the start mark.</DL>
|
||||
<DT><B>Returns:</B><DD>the VMG (velocity made good) in knots measured as distance between marks / time used on leg. NaN is returned for the start mark.</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
@@ -774,7 +774,7 @@ public double <B>getTopspeed</B>()</PRE>
|
||||
<P>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>the topspeed measured over 10 seconds. NaN is returned for the start mark.</DL>
|
||||
<DT><B>Returns:</B><DD>the topspeed measured over 10 seconds in km/h. NaN is returned for the start mark.</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
Regular → Executable
+8
-6
@@ -2,13 +2,13 @@
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
PerLegResult (TracTrac Result API)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-06-02">
|
||||
<META NAME="date" CONTENT="2011-06-15">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||
|
||||
@@ -118,9 +118,10 @@ A result for one class for all marks
|
||||
<B>Constructor Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/PerLegResult.html#PerLegResult(com.maptrack.client.gui.IProgressDataGetter, com.maptrack.client.data.ClientEventRaceData, com.maptrack.client.data.EventClass)">PerLegResult</A></B>(com.maptrack.client.gui.IProgressDataGetter pdg,
|
||||
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/PerLegResult.html#PerLegResult(com.maptrack.client.gui.IProgressDataGetter, com.maptrack.client.data.ClientEventRaceData, com.maptrack.client.data.EventClass, com.maptrack.clientsail.data.BoatRaceData)">PerLegResult</A></B>(com.maptrack.client.gui.IProgressDataGetter pdg,
|
||||
com.maptrack.client.data.ClientEventRaceData erd,
|
||||
com.maptrack.client.data.EventClass eventClass)</CODE>
|
||||
com.maptrack.client.data.EventClass eventClass,
|
||||
com.maptrack.clientsail.data.BoatRaceData brd)</CODE>
|
||||
|
||||
<BR>
|
||||
The constructer for the PerLegResult.</TD>
|
||||
@@ -198,12 +199,13 @@ A result for one class for all marks
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="PerLegResult(com.maptrack.client.gui.IProgressDataGetter, com.maptrack.client.data.ClientEventRaceData, com.maptrack.client.data.EventClass)"><!-- --></A><H3>
|
||||
<A NAME="PerLegResult(com.maptrack.client.gui.IProgressDataGetter, com.maptrack.client.data.ClientEventRaceData, com.maptrack.client.data.EventClass, com.maptrack.clientsail.data.BoatRaceData)"><!-- --></A><H3>
|
||||
PerLegResult</H3>
|
||||
<PRE>
|
||||
public <B>PerLegResult</B>(com.maptrack.client.gui.IProgressDataGetter pdg,
|
||||
com.maptrack.client.data.ClientEventRaceData erd,
|
||||
com.maptrack.client.data.EventClass eventClass)</PRE>
|
||||
com.maptrack.client.data.EventClass eventClass,
|
||||
com.maptrack.clientsail.data.BoatRaceData brd)</PRE>
|
||||
<DL>
|
||||
<DD>The constructer for the PerLegResult.
|
||||
<br><b>Note: Normally not called by API users</b>
|
||||
|
||||
Regular → Executable
+3
-3
@@ -2,13 +2,13 @@
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
ResultGenerator (TracTrac Result API)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-06-02">
|
||||
<META NAME="date" CONTENT="2011-06-15">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||
|
||||
@@ -286,7 +286,7 @@ public void <B>recalcuateWithWind</B>(long timems,
|
||||
</ul>
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>timems</CODE> - Time in milliseconds to calculate results for<DD><CODE>windDirectionDegrees</CODE> - The wind direction in degrees from 0 to 359</DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>timems</CODE> - Time in milliseconds to calculate results for<DD><CODE>windDirectionDegrees</CODE> - The wind direction (where the wind is coming from) in degrees from 0 to 359.</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
|
||||
Regular → Executable
+2
-2
@@ -2,13 +2,13 @@
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
Uses of Class com.tractrac.ResultAPI.LiveResult (TracTrac Result API)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-06-02">
|
||||
<META NAME="date" CONTENT="2011-06-15">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||
|
||||
|
||||
Regular → Executable
+2
-2
@@ -2,13 +2,13 @@
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
Uses of Class com.tractrac.ResultAPI.LiveResultItem (TracTrac Result API)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-06-02">
|
||||
<META NAME="date" CONTENT="2011-06-15">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||
|
||||
|
||||
Regular → Executable
+5
-4
@@ -2,13 +2,13 @@
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
Uses of Class com.tractrac.ResultAPI.MarkResult (TracTrac Result API)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-06-02">
|
||||
<META NAME="date" CONTENT="2011-06-15">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||
|
||||
@@ -130,10 +130,11 @@ Uses of <A HREF="../../../../com/tractrac/ResultAPI/MarkResult.html" title="clas
|
||||
<TH ALIGN="left" COLSPAN="2">Constructors in <A HREF="../../../../com/tractrac/ResultAPI/package-summary.html">com.tractrac.ResultAPI</A> with parameters of type <A HREF="../../../../com/tractrac/ResultAPI/MarkResult.html" title="class in com.tractrac.ResultAPI">MarkResult</A></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../../../../com/tractrac/ResultAPI/MarkResult.html#MarkResult(java.util.List, com.maptrack.client.data.EventClass, com.tractrac.ResultAPI.MarkResult, com.maptrack.client.data.ControlPoint)">MarkResult</A></B>(java.util.List<com.maptrack.client.data.CompetitorMarkPassInfo> markPassInfo,
|
||||
<TD><CODE><B><A HREF="../../../../com/tractrac/ResultAPI/MarkResult.html#MarkResult(java.util.List, com.maptrack.client.data.EventClass, com.tractrac.ResultAPI.MarkResult, com.maptrack.client.data.ControlPoint, double)">MarkResult</A></B>(java.util.List<com.maptrack.client.data.CompetitorMarkPassInfo> markPassInfo,
|
||||
com.maptrack.client.data.EventClass eventClass,
|
||||
<A HREF="../../../../com/tractrac/ResultAPI/MarkResult.html" title="class in com.tractrac.ResultAPI">MarkResult</A> previousMark,
|
||||
com.maptrack.client.data.ControlPoint cp)</CODE>
|
||||
com.maptrack.client.data.ControlPoint cp,
|
||||
double legDirection)</CODE>
|
||||
|
||||
<BR>
|
||||
Constructor for the MarkResult.</TD>
|
||||
|
||||
Regular → Executable
+2
-2
@@ -2,13 +2,13 @@
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
Uses of Class com.tractrac.ResultAPI.MarkResultItem (TracTrac Result API)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-06-02">
|
||||
<META NAME="date" CONTENT="2011-06-15">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||
|
||||
|
||||
Regular → Executable
+2
-2
@@ -2,13 +2,13 @@
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
Uses of Class com.tractrac.ResultAPI.PerLegResult (TracTrac Result API)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-06-02">
|
||||
<META NAME="date" CONTENT="2011-06-15">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||
|
||||
|
||||
Regular → Executable
+2
-2
@@ -2,13 +2,13 @@
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
Uses of Class com.tractrac.ResultAPI.ResultGenerator (TracTrac Result API)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-06-02">
|
||||
<META NAME="date" CONTENT="2011-06-15">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||
|
||||
|
||||
Regular → Executable
+2
-2
@@ -2,13 +2,13 @@
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
com.tractrac.ResultAPI (TracTrac Result API)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-06-02">
|
||||
<META NAME="date" CONTENT="2011-06-15">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||
|
||||
|
||||
Regular → Executable
+2
-2
@@ -2,13 +2,13 @@
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
com.tractrac.ResultAPI (TracTrac Result API)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-06-02">
|
||||
<META NAME="date" CONTENT="2011-06-15">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||
|
||||
|
||||
Regular → Executable
+2
-2
@@ -2,13 +2,13 @@
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
com.tractrac.ResultAPI Class Hierarchy (TracTrac Result API)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-06-02">
|
||||
<META NAME="date" CONTENT="2011-06-15">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||
|
||||
|
||||
Regular → Executable
+2
-2
@@ -2,13 +2,13 @@
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
Uses of Package com.tractrac.ResultAPI (TracTrac Result API)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-06-02">
|
||||
<META NAME="date" CONTENT="2011-06-15">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||
|
||||
|
||||
Regular → Executable
+48
-2
@@ -2,13 +2,13 @@
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
Constant Field Values (TracTrac Result API)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-06-02">
|
||||
<META NAME="date" CONTENT="2011-06-15">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||
|
||||
@@ -85,8 +85,54 @@ Constant Field Values</H1>
|
||||
</CENTER>
|
||||
<HR SIZE="4" NOSHADE>
|
||||
<B>Contents</B><UL>
|
||||
<LI><A HREF="#com.tractrac">com.tractrac.*</A>
|
||||
</UL>
|
||||
|
||||
<A NAME="com.tractrac"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left"><FONT SIZE="+2">
|
||||
com.tractrac.*</FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="3">com.tractrac.ResultAPI.<A HREF="com/tractrac/ResultAPI/MarkResult.html" title="class in com.tractrac.ResultAPI">MarkResult</A></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<A NAME="com.tractrac.ResultAPI.MarkResult.LEGTYPE_DOWNWIND"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
|
||||
<CODE>public static final int</CODE></FONT></TD>
|
||||
<TD ALIGN="left"><CODE><A HREF="com/tractrac/ResultAPI/MarkResult.html#LEGTYPE_DOWNWIND">LEGTYPE_DOWNWIND</A></CODE></TD>
|
||||
<TD ALIGN="right"><CODE>2</CODE></TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<A NAME="com.tractrac.ResultAPI.MarkResult.LEGTYPE_REACHING"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
|
||||
<CODE>public static final int</CODE></FONT></TD>
|
||||
<TD ALIGN="left"><CODE><A HREF="com/tractrac/ResultAPI/MarkResult.html#LEGTYPE_REACHING">LEGTYPE_REACHING</A></CODE></TD>
|
||||
<TD ALIGN="right"><CODE>3</CODE></TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<A NAME="com.tractrac.ResultAPI.MarkResult.LEGTYPE_UNKNOWN"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
|
||||
<CODE>public static final int</CODE></FONT></TD>
|
||||
<TD ALIGN="left"><CODE><A HREF="com/tractrac/ResultAPI/MarkResult.html#LEGTYPE_UNKNOWN">LEGTYPE_UNKNOWN</A></CODE></TD>
|
||||
<TD ALIGN="right"><CODE>0</CODE></TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<A NAME="com.tractrac.ResultAPI.MarkResult.LEGTYPE_UPWIND"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
|
||||
<CODE>public static final int</CODE></FONT></TD>
|
||||
<TD ALIGN="left"><CODE><A HREF="com/tractrac/ResultAPI/MarkResult.html#LEGTYPE_UPWIND">LEGTYPE_UPWIND</A></CODE></TD>
|
||||
<TD ALIGN="right"><CODE>1</CODE></TD>
|
||||
</TR>
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<P>
|
||||
<HR>
|
||||
|
||||
|
||||
|
||||
Regular → Executable
+2
-2
@@ -2,13 +2,13 @@
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
Deprecated List (TracTrac Result API)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-06-02">
|
||||
<META NAME="date" CONTENT="2011-06-15">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||
|
||||
|
||||
Regular → Executable
+2
-2
@@ -2,13 +2,13 @@
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
API Help (TracTrac Result API)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-06-02">
|
||||
<META NAME="date" CONTENT="2011-06-15">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||
|
||||
|
||||
Regular → Executable
+2
-2
@@ -2,13 +2,13 @@
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
C-Index (TracTrac Result API)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-06-02">
|
||||
<META NAME="date" CONTENT="2011-06-15">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
|
||||
Regular → Executable
+11
-2
@@ -2,13 +2,13 @@
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
G-Index (TracTrac Result API)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-06-02">
|
||||
<META NAME="date" CONTENT="2011-06-15">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
@@ -151,6 +151,9 @@ Method in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/MarkRe
|
||||
<DT><A HREF="../com/tractrac/ResultAPI/MarkResultItem.html#getLegtime()"><B>getLegtime()</B></A> -
|
||||
Method in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/MarkResultItem.html" title="class in com.tractrac.ResultAPI">MarkResultItem</A>
|
||||
<DD>Get the time used on last leg
|
||||
<DT><A HREF="../com/tractrac/ResultAPI/MarkResult.html#getLegType()"><B>getLegType()</B></A> -
|
||||
Method in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/MarkResult.html" title="class in com.tractrac.ResultAPI">MarkResult</A>
|
||||
<DD>Get the type of leg: LEGTYPE_UPWIND, LEGTYPE_DOWNWIND, LEGTYPE_REACHING or LEGTYPE_UNKNOWN.
|
||||
<DT><A HREF="../com/tractrac/ResultAPI/ResultGenerator.html#getLiveResults()"><B>getLiveResults()</B></A> -
|
||||
Method in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/ResultGenerator.html" title="class in com.tractrac.ResultAPI">ResultGenerator</A>
|
||||
<DD>Generates a live result list for the last time recalculate was run.
|
||||
@@ -223,9 +226,15 @@ Method in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/LiveRe
|
||||
<DT><A HREF="../com/tractrac/ResultAPI/MarkResultItem.html#getUuid()"><B>getUuid()</B></A> -
|
||||
Method in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/MarkResultItem.html" title="class in com.tractrac.ResultAPI">MarkResultItem</A>
|
||||
<DD>Get the UUID of the competitor
|
||||
<DT><A HREF="../com/tractrac/ResultAPI/LiveResultItem.html#getVmg()"><B>getVmg()</B></A> -
|
||||
Method in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/LiveResultItem.html" title="class in com.tractrac.ResultAPI">LiveResultItem</A>
|
||||
<DD>Get VMG in knots measured at a point
|
||||
<DT><A HREF="../com/tractrac/ResultAPI/MarkResultItem.html#getVMG()"><B>getVMG()</B></A> -
|
||||
Method in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/MarkResultItem.html" title="class in com.tractrac.ResultAPI">MarkResultItem</A>
|
||||
<DD>Get the VMG for the last leg
|
||||
<DT><A HREF="../com/tractrac/ResultAPI/LiveResultItem.html#getVmgAverage30s()"><B>getVmgAverage30s()</B></A> -
|
||||
Method in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/LiveResultItem.html" title="class in com.tractrac.ResultAPI">LiveResultItem</A>
|
||||
<DD>Get the in knots VMG averaged over 30 seconds
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
|
||||
Regular → Executable
+2
-2
@@ -2,13 +2,13 @@
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
I-Index (TracTrac Result API)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-06-02">
|
||||
<META NAME="date" CONTENT="2011-06-15">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
|
||||
Regular → Executable
+14
-2
@@ -2,13 +2,13 @@
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
L-Index (TracTrac Result API)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-06-02">
|
||||
<META NAME="date" CONTENT="2011-06-15">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
@@ -82,6 +82,18 @@ function windowTitle()
|
||||
<A NAME="_L_"><!-- --></A><H2>
|
||||
<B>L</B></H2>
|
||||
<DL>
|
||||
<DT><A HREF="../com/tractrac/ResultAPI/MarkResult.html#LEGTYPE_DOWNWIND"><B>LEGTYPE_DOWNWIND</B></A> -
|
||||
Static variable in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/MarkResult.html" title="class in com.tractrac.ResultAPI">MarkResult</A>
|
||||
<DD>
|
||||
<DT><A HREF="../com/tractrac/ResultAPI/MarkResult.html#LEGTYPE_REACHING"><B>LEGTYPE_REACHING</B></A> -
|
||||
Static variable in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/MarkResult.html" title="class in com.tractrac.ResultAPI">MarkResult</A>
|
||||
<DD>
|
||||
<DT><A HREF="../com/tractrac/ResultAPI/MarkResult.html#LEGTYPE_UNKNOWN"><B>LEGTYPE_UNKNOWN</B></A> -
|
||||
Static variable in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/MarkResult.html" title="class in com.tractrac.ResultAPI">MarkResult</A>
|
||||
<DD>
|
||||
<DT><A HREF="../com/tractrac/ResultAPI/MarkResult.html#LEGTYPE_UPWIND"><B>LEGTYPE_UPWIND</B></A> -
|
||||
Static variable in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/MarkResult.html" title="class in com.tractrac.ResultAPI">MarkResult</A>
|
||||
<DD>
|
||||
<DT><A HREF="../com/tractrac/ResultAPI/LiveResult.html" title="class in com.tractrac.ResultAPI"><B>LiveResult</B></A> - Class in <A HREF="../com/tractrac/ResultAPI/package-summary.html">com.tractrac.ResultAPI</A><DD>A class representing a live result for sailing
|
||||
|
||||
The result compares boats on all legs.<DT><A HREF="../com/tractrac/ResultAPI/LiveResult.html#LiveResult(com.maptrack.clientsail.data.ResultListBoat, com.maptrack.client.data.EventClass)"><B>LiveResult(ResultListBoat, EventClass)</B></A> -
|
||||
|
||||
Regular → Executable
+3
-3
@@ -2,13 +2,13 @@
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
M-Index (TracTrac Result API)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-06-02">
|
||||
<META NAME="date" CONTENT="2011-06-15">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
@@ -82,7 +82,7 @@ function windowTitle()
|
||||
<A NAME="_M_"><!-- --></A><H2>
|
||||
<B>M</B></H2>
|
||||
<DL>
|
||||
<DT><A HREF="../com/tractrac/ResultAPI/MarkResult.html" title="class in com.tractrac.ResultAPI"><B>MarkResult</B></A> - Class in <A HREF="../com/tractrac/ResultAPI/package-summary.html">com.tractrac.ResultAPI</A><DD>The resultlist for a specific mark for a specific class.<DT><A HREF="../com/tractrac/ResultAPI/MarkResult.html#MarkResult(java.util.List, com.maptrack.client.data.EventClass, com.tractrac.ResultAPI.MarkResult, com.maptrack.client.data.ControlPoint)"><B>MarkResult(List<CompetitorMarkPassInfo>, EventClass, MarkResult, ControlPoint)</B></A> -
|
||||
<DT><A HREF="../com/tractrac/ResultAPI/MarkResult.html" title="class in com.tractrac.ResultAPI"><B>MarkResult</B></A> - Class in <A HREF="../com/tractrac/ResultAPI/package-summary.html">com.tractrac.ResultAPI</A><DD>The resultlist for a specific mark for a specific class.<DT><A HREF="../com/tractrac/ResultAPI/MarkResult.html#MarkResult(java.util.List, com.maptrack.client.data.EventClass, com.tractrac.ResultAPI.MarkResult, com.maptrack.client.data.ControlPoint, double)"><B>MarkResult(List<CompetitorMarkPassInfo>, EventClass, MarkResult, ControlPoint, double)</B></A> -
|
||||
Constructor for class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/MarkResult.html" title="class in com.tractrac.ResultAPI">MarkResult</A>
|
||||
<DD>Constructor for the MarkResult.
|
||||
<DT><A HREF="../com/tractrac/ResultAPI/MarkResultItem.html" title="class in com.tractrac.ResultAPI"><B>MarkResultItem</B></A> - Class in <A HREF="../com/tractrac/ResultAPI/package-summary.html">com.tractrac.ResultAPI</A><DD>Contains all information about a mark-rounding per competitor per mark.<DT><A HREF="../com/tractrac/ResultAPI/MarkResultItem.html#MarkResultItem()"><B>MarkResultItem()</B></A> -
|
||||
|
||||
Regular → Executable
+3
-3
@@ -2,13 +2,13 @@
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
P-Index (TracTrac Result API)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-06-02">
|
||||
<META NAME="date" CONTENT="2011-06-15">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
@@ -82,7 +82,7 @@ function windowTitle()
|
||||
<A NAME="_P_"><!-- --></A><H2>
|
||||
<B>P</B></H2>
|
||||
<DL>
|
||||
<DT><A HREF="../com/tractrac/ResultAPI/PerLegResult.html" title="class in com.tractrac.ResultAPI"><B>PerLegResult</B></A> - Class in <A HREF="../com/tractrac/ResultAPI/package-summary.html">com.tractrac.ResultAPI</A><DD>A result for one class for all marks<DT><A HREF="../com/tractrac/ResultAPI/PerLegResult.html#PerLegResult(com.maptrack.client.gui.IProgressDataGetter, com.maptrack.client.data.ClientEventRaceData, com.maptrack.client.data.EventClass)"><B>PerLegResult(IProgressDataGetter, ClientEventRaceData, EventClass)</B></A> -
|
||||
<DT><A HREF="../com/tractrac/ResultAPI/PerLegResult.html" title="class in com.tractrac.ResultAPI"><B>PerLegResult</B></A> - Class in <A HREF="../com/tractrac/ResultAPI/package-summary.html">com.tractrac.ResultAPI</A><DD>A result for one class for all marks<DT><A HREF="../com/tractrac/ResultAPI/PerLegResult.html#PerLegResult(com.maptrack.client.gui.IProgressDataGetter, com.maptrack.client.data.ClientEventRaceData, com.maptrack.client.data.EventClass, com.maptrack.clientsail.data.BoatRaceData)"><B>PerLegResult(IProgressDataGetter, ClientEventRaceData, EventClass, BoatRaceData)</B></A> -
|
||||
Constructor for class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/PerLegResult.html" title="class in com.tractrac.ResultAPI">PerLegResult</A>
|
||||
<DD>The constructer for the PerLegResult.
|
||||
</DL>
|
||||
|
||||
Regular → Executable
+2
-2
@@ -2,13 +2,13 @@
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
R-Index (TracTrac Result API)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-06-02">
|
||||
<META NAME="date" CONTENT="2011-06-15">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
|
||||
Regular → Executable
+8
-2
@@ -2,13 +2,13 @@
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
S-Index (TracTrac Result API)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-06-02">
|
||||
<META NAME="date" CONTENT="2011-06-15">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
@@ -173,9 +173,15 @@ Method in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/LiveRe
|
||||
<DT><A HREF="../com/tractrac/ResultAPI/MarkResultItem.html#setUuid(java.util.UUID)"><B>setUuid(UUID)</B></A> -
|
||||
Method in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/MarkResultItem.html" title="class in com.tractrac.ResultAPI">MarkResultItem</A>
|
||||
<DD>Set the UUID of the competitor
|
||||
<DT><A HREF="../com/tractrac/ResultAPI/LiveResultItem.html#setVmg(double)"><B>setVmg(double)</B></A> -
|
||||
Method in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/LiveResultItem.html" title="class in com.tractrac.ResultAPI">LiveResultItem</A>
|
||||
<DD>Set VMG in knots measured at a point
|
||||
<DT><A HREF="../com/tractrac/ResultAPI/MarkResultItem.html#setVMG(double)"><B>setVMG(double)</B></A> -
|
||||
Method in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/MarkResultItem.html" title="class in com.tractrac.ResultAPI">MarkResultItem</A>
|
||||
<DD>Set the VMG of the last leg
|
||||
<DT><A HREF="../com/tractrac/ResultAPI/LiveResultItem.html#setVmgAverage30s(double)"><B>setVmgAverage30s(double)</B></A> -
|
||||
Method in class com.tractrac.ResultAPI.<A HREF="../com/tractrac/ResultAPI/LiveResultItem.html" title="class in com.tractrac.ResultAPI">LiveResultItem</A>
|
||||
<DD>Set the VMG in knots averaged over 30 seconds
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
|
||||
Regular → Executable
+2
-2
@@ -2,13 +2,13 @@
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
V-Index (TracTrac Result API)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-06-02">
|
||||
<META NAME="date" CONTENT="2011-06-15">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
|
||||
Regular → Executable
+1
-1
@@ -2,7 +2,7 @@
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc on Thu Jun 02 10:36:51 CEST 2011-->
|
||||
<!-- Generated by javadoc on Wed Jun 15 11:41:57 CEST 2011-->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
TracTrac Result API
|
||||
|
||||
Regular → Executable
+2
-2
@@ -2,13 +2,13 @@
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
|
||||
<!-- Generated by javadoc (build 1.6.0_24) on Wed Jun 15 11:41:57 CEST 2011 -->
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>
|
||||
Class Hierarchy (TracTrac Result API)
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-06-02">
|
||||
<META NAME="date" CONTENT="2011-06-15">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||
|
||||
|
||||
Regular → Executable
File mode changed.
Regular → Executable
File mode changed.
|
Before Width: | Height: | Size: 57 B After Width: | Height: | Size: 57 B |
Regular → Executable
File mode changed.
Regular → Executable
BIN
Binary file not shown.
Regular → Executable
BIN
Binary file not shown.
Regular → Executable
BIN
Binary file not shown.
Regular → Executable
BIN
Binary file not shown.
Regular → Executable
BIN
Binary file not shown.
Regular → Executable
BIN
Binary file not shown.
Regular → Executable
BIN
Binary file not shown.
Regular → Executable
+9
-1
@@ -44,7 +44,7 @@ public class ResultAPITester {
|
||||
Calendar cal = new GregorianCalendar(111, 3, 01, 00, 20, 00);
|
||||
long StartTimeRace = cal.getTimeInMillis();
|
||||
// Set the speed up of the demonstration
|
||||
int speedup = 10;
|
||||
int speedup = 40;
|
||||
|
||||
// Instance the resultgenerator using a URL for a specific race
|
||||
ResultGenerator generator = new ResultGenerator(new URL("http://germanmaster.traclive.dk/events/event_20110308_SAPWorldCh/clientparams.php?event=event_20110308_SAPWorldCh&race=5ffe619e-4962-11e0-8236-406186cbf87c&ci=&minimize=&LiveDelaySecs="));
|
||||
@@ -112,6 +112,8 @@ public class ResultAPITester {
|
||||
System.out.println("\t\t\tLatitude: " + item.getLatitude());
|
||||
System.out.println("\t\t\tLongitude: " + item.getLongitude());
|
||||
System.out.println("\t\t\tSpeed: " + item.getSpeed());
|
||||
System.out.println("\t\t\tVMG: " + item.getVmg());
|
||||
System.out.println("\t\t\tVMG, averaged: " + item.getVmgAverage30s());
|
||||
System.out.println("\t\t\tFinished: " + item.isHasFinished());
|
||||
}
|
||||
}
|
||||
@@ -126,6 +128,12 @@ public class ResultAPITester {
|
||||
// Get a result list per mark
|
||||
for (MarkResult markResult : plr.values()) {
|
||||
System.out.println("\tMark: " + markResult.getMarkName() + " - " + (m+1) + "/" + plr.getMarkCount());
|
||||
System.out.print("\tLegtype: ");
|
||||
if (markResult.getLegType() == MarkResult.LEGTYPE_UPWIND) System.out.println("Upwind");
|
||||
if (markResult.getLegType() == MarkResult.LEGTYPE_DOWNWIND) System.out.println("Downwind");
|
||||
if (markResult.getLegType() == MarkResult.LEGTYPE_REACHING) System.out.println("Reaching");
|
||||
if (markResult.getLegType() == MarkResult.LEGTYPE_UNKNOWN) System.out.println("Unknown");
|
||||
|
||||
m++;
|
||||
// Get a result item per competitor
|
||||
for (MarkResultItem item : markResult.values()) {
|
||||
|
||||
+158
-159
@@ -1,159 +1,158 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
|
||||
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.sap.sailing</groupId>
|
||||
<artifactId>root</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<modules>
|
||||
<module>com.sap.sailing.domain</module>
|
||||
<module>com.sap.sailing.domain.test</module>
|
||||
<module>com.sap.sailing.domain.tractracadapter</module>
|
||||
<module>com.sap.sailing.declination</module>
|
||||
<module>com.sap.sailing.declination.test</module>
|
||||
<module>com.sap.sailing.expeditionconnector</module>
|
||||
<module>com.sap.sailing.expeditionconnector.test</module>
|
||||
<module>com.sap.sailing.server</module>
|
||||
<module>com.sap.sailing.server.test</module>
|
||||
<module>com.sap.sailing.mongodb</module>
|
||||
<module>com.sap.sailing.mongodb.test</module>
|
||||
<module>com.tractrac.clientmodule</module>
|
||||
<module>com.tractrac.resultapi</module>
|
||||
<module>org.json.simple</module>
|
||||
<module>com.mongodb.driver</module>
|
||||
<module>com.googlecode.java-diff-utils</module>
|
||||
<module>com.googlecode.java-diff-utils.test</module>
|
||||
</modules>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
<directory>bin</directory>
|
||||
<outputDirectory>bin</outputDirectory>
|
||||
<testOutputDirectory>bin</testOutputDirectory>
|
||||
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<inherited>true</inherited>
|
||||
<groupId>org.sonatype.tycho</groupId>
|
||||
<artifactId>maven-osgi-test-plugin</artifactId>
|
||||
<version>0.10.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>2.6</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.sonatype.tycho</groupId>
|
||||
<artifactId>tycho-maven-plugin</artifactId>
|
||||
<version>0.10.0</version>
|
||||
<extensions>true</extensions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.sonatype.tycho</groupId>
|
||||
<artifactId>target-platform-configuration</artifactId>
|
||||
<version>0.10.0</version>
|
||||
<configuration>
|
||||
<resolver>p2</resolver>
|
||||
<environments>
|
||||
<environment>
|
||||
<os>linux</os>
|
||||
<ws>gtk</ws>
|
||||
<arch>x86</arch>
|
||||
</environment>
|
||||
<environment>
|
||||
<os>linux</os>
|
||||
<ws>gtk</ws>
|
||||
<arch>x86_64</arch>
|
||||
</environment>
|
||||
<environment>
|
||||
<os>win32</os>
|
||||
<ws>win32</ws>
|
||||
<arch>x86</arch>
|
||||
</environment>
|
||||
<environment>
|
||||
<os>win32</os>
|
||||
<ws>win32</ws>
|
||||
<arch>x86_64</arch>
|
||||
</environment>
|
||||
<environment>
|
||||
<os>macosx</os>
|
||||
<ws>cocoa</ws>
|
||||
<arch>x86_64</arch>
|
||||
</environment>
|
||||
</environments>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.sonatype.tycho</groupId>
|
||||
<artifactId>maven-osgi-test-plugin</artifactId>
|
||||
<configuration>
|
||||
<!-- non-debug -->
|
||||
<!-- proxy
|
||||
<argLine>-Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080 -Xmx1024m -XX:PermSize=256m -XX:-UseGCOverheadLimit -XX:+UseParallelGC</argLine>
|
||||
-->
|
||||
<!-- no proxy -->
|
||||
<argLine>-Dmongo.port=10200 -Xmx1024m -XX:PermSize=256m -XX:-UseGCOverheadLimit -XX:+UseParallelGC</argLine>
|
||||
<!-- -->
|
||||
<!-- -->
|
||||
<!-- debug
|
||||
<argLine>-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y -Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080 -Xmx1024m -XX:PermSize=256m -XX:-UseGCOverheadLimit -XX:+UseParallelGC</argLine>
|
||||
-->
|
||||
<testFailureIgnore>true</testFailureIgnore>
|
||||
<excludes>
|
||||
<exclude>**/*$*</exclude> <!-- Exclude inner classes -->
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.sonatype.tycho</groupId>
|
||||
<artifactId>maven-osgi-compiler-plugin</artifactId>
|
||||
<version>0.10.0</version>
|
||||
<configuration>
|
||||
<source>1.6</source>
|
||||
<target>1.6</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
||||
<extensions>
|
||||
<!-- Enabling the use of FTP -->
|
||||
<extension>
|
||||
<groupId>org.apache.maven.wagon</groupId>
|
||||
<artifactId>wagon-ssh-external</artifactId>
|
||||
<version>1.0-beta-6</version>
|
||||
</extension>
|
||||
</extensions>
|
||||
|
||||
</build>
|
||||
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>ssh-repository</id>
|
||||
<url>scpexe://trac@localhost:12347/home/trac/maven-repositories/prod</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<layout>p2</layout>
|
||||
<id>eclipse</id>
|
||||
<url>http://download.eclipse.org/releases/indigo/</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
</project>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
|
||||
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.sap.sailing</groupId>
|
||||
<artifactId>root</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<modules>
|
||||
<module>com.sap.sailing.domain</module>
|
||||
<module>com.sap.sailing.domain.test</module>
|
||||
<module>com.sap.sailing.domain.tractracadapter</module>
|
||||
<module>com.sap.sailing.declination</module>
|
||||
<module>com.sap.sailing.declination.test</module>
|
||||
<module>com.sap.sailing.expeditionconnector</module>
|
||||
<module>com.sap.sailing.expeditionconnector.test</module>
|
||||
<module>com.sap.sailing.server</module>
|
||||
<module>com.sap.sailing.mongodb</module>
|
||||
<module>com.sap.sailing.mongodb.test</module>
|
||||
<module>com.tractrac.clientmodule</module>
|
||||
<module>com.tractrac.resultapi</module>
|
||||
<module>org.json.simple</module>
|
||||
<module>com.mongodb.driver</module>
|
||||
<module>com.googlecode.java-diff-utils</module>
|
||||
<module>com.googlecode.java-diff-utils.test</module>
|
||||
</modules>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
<directory>bin</directory>
|
||||
<outputDirectory>bin</outputDirectory>
|
||||
<testOutputDirectory>bin</testOutputDirectory>
|
||||
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<inherited>true</inherited>
|
||||
<groupId>org.sonatype.tycho</groupId>
|
||||
<artifactId>maven-osgi-test-plugin</artifactId>
|
||||
<version>0.10.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>2.6</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.sonatype.tycho</groupId>
|
||||
<artifactId>tycho-maven-plugin</artifactId>
|
||||
<version>0.10.0</version>
|
||||
<extensions>true</extensions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.sonatype.tycho</groupId>
|
||||
<artifactId>target-platform-configuration</artifactId>
|
||||
<version>0.10.0</version>
|
||||
<configuration>
|
||||
<resolver>p2</resolver>
|
||||
<environments>
|
||||
<environment>
|
||||
<os>linux</os>
|
||||
<ws>gtk</ws>
|
||||
<arch>x86</arch>
|
||||
</environment>
|
||||
<environment>
|
||||
<os>linux</os>
|
||||
<ws>gtk</ws>
|
||||
<arch>x86_64</arch>
|
||||
</environment>
|
||||
<environment>
|
||||
<os>win32</os>
|
||||
<ws>win32</ws>
|
||||
<arch>x86</arch>
|
||||
</environment>
|
||||
<environment>
|
||||
<os>win32</os>
|
||||
<ws>win32</ws>
|
||||
<arch>x86_64</arch>
|
||||
</environment>
|
||||
<environment>
|
||||
<os>macosx</os>
|
||||
<ws>cocoa</ws>
|
||||
<arch>x86_64</arch>
|
||||
</environment>
|
||||
</environments>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.sonatype.tycho</groupId>
|
||||
<artifactId>maven-osgi-test-plugin</artifactId>
|
||||
<configuration>
|
||||
<!-- non-debug -->
|
||||
<!-- proxy
|
||||
<argLine>-Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080 -Xmx1024m -XX:PermSize=256m -XX:-UseGCOverheadLimit -XX:+UseParallelGC</argLine>
|
||||
-->
|
||||
<!-- no proxy -->
|
||||
<argLine>-Dmongo.port=10200 -Xmx1024m -XX:PermSize=256m -XX:-UseGCOverheadLimit -XX:+UseParallelGC</argLine>
|
||||
<!-- -->
|
||||
<!-- -->
|
||||
<!-- debug
|
||||
<argLine>-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y -Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080 -Xmx1024m -XX:PermSize=256m -XX:-UseGCOverheadLimit -XX:+UseParallelGC</argLine>
|
||||
-->
|
||||
<testFailureIgnore>true</testFailureIgnore>
|
||||
<excludes>
|
||||
<exclude>**/*$*</exclude> <!-- Exclude inner classes -->
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.sonatype.tycho</groupId>
|
||||
<artifactId>maven-osgi-compiler-plugin</artifactId>
|
||||
<version>0.10.0</version>
|
||||
<configuration>
|
||||
<source>1.6</source>
|
||||
<target>1.6</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
||||
<extensions>
|
||||
<!-- Enabling the use of FTP -->
|
||||
<extension>
|
||||
<groupId>org.apache.maven.wagon</groupId>
|
||||
<artifactId>wagon-ssh-external</artifactId>
|
||||
<version>1.0-beta-6</version>
|
||||
</extension>
|
||||
</extensions>
|
||||
|
||||
</build>
|
||||
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>ssh-repository</id>
|
||||
<url>scpexe://trac@localhost:12347/home/trac/maven-repositories/prod</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<layout>p2</layout>
|
||||
<id>eclipse</id>
|
||||
<url>http://download.eclipse.org/releases/indigo/</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
</project>
|
||||
Reference in new issue
Block a user