Ejemplo n.º 1
0
 public String toString() {
   String result = "\tAlt:      " + fAltitude;
   result += SEPARATOR + "SOG:     " + getSOGString();
   result += SEPARATOR + "Pos acc: " + (fPositionAccuracy ? "high" : "low") + " accuracy";
   result += SEPARATOR + "Lat:     " + PositionInfo.longitudeToString(fLongitude);
   result += SEPARATOR + "Lon:     " + PositionInfo.latitudeToString(fLatitude);
   result += SEPARATOR + "COG:     " + Angle12.toString(fCOG);
   result += SEPARATOR + "Time:    " + TimeStamp.toString(fTimeStamp);
   result += SEPARATOR + "Regional:     " + getRegional();
   result += SEPARATOR + "DTE: " + (fDTE ? "yes" : "no");
   result += SEPARATOR + "Assigned Mode Flag: " + (fAssignedModeFlag ? "yes" : "no");
   result += SEPARATOR + "RAIM Flag: " + (fRAIMFlag ? "yes" : "no");
   result += SEPARATOR + "RadioStatus:     " + getRadioStatus();
   return result;
 }