⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 datarecord.java

📁 A Java Framework for connecting to and exchanging data from GPS units to J2ME Mobile Devices. Serial
💻 JAVA
字号:
package com.libGPS4j2me.devices.StdGPS;


/**
 * Storage data type for parsed GPS data.
 *
 * @author  Loreto Parisi
 */
public class DataRecord {

    /**
     * Character that indicates a warning.
     */
    public static final String WARNING = "V";

    /**
     *Status: A=Active, V=Void.
     */
    public String courseMadeGood = "";

    /**
     *Date and Time of Fix.
     */
    public String dateTimeOfFix = "";

    /**
     *Speed over the ground in knots.
     */
    public String groundSpeed = "";

    /**
     *Latitude.
     */
    public String latitude = "";

    /**
     *Latitude Direction.
     */
    public String latitudeDirection = "";

    /**
     *Longitude.
     */
    public String longitude = "";

    /**
     *Longitude Direction.
     */
    public String longitudeDirection = "";

    /**
     *Magnetic Variation.
     */
    public String magneticVariation = "";

    /**
     *Quality.
     */
    public String quality = "";

    /**
     *Satellite used.
     */
    public String satelliteCount = "";
    public boolean warning;

    /**
	* Returns a String containing the position in a human-readable format.
	*/
	public String toString() {
            StringBuffer res = new StringBuffer();
            res.append("\nLatitude: " + latitude + " " + latitudeDirection);
            res.append("\nLongitude: " + longitude + " " + longitudeDirection);
            res.append("\nTimeStamp:" + dateTimeOfFix);
            return res.toString();
	}

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -