BDLocation

com.rscja.deviceapi.entity

## Class BDLocation

- java.lang.Object
- - com.rscja.deviceapi.entity.BDLocation

-     public class BDLocation
      extends java.lang.Object

  北斗导航位置信息实体类
  Beidou navigation position infor entity
  Author:
    liuruifeng

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BDLocation(double lat, double lon, double altitude, java.lang.String navType)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(java.lang.Object o)`
    `double` | `getAltitude()` 海拔 altitude
    `double` | `getLat()` 纬度,北纬为正数，南纬为负数 Lat, north latitude is positive, south latitude is negative
    `double` | `getLon()` 经度，东经为正数，西经为负数 Lon, eastern longitude is positive, west longitude is negative
    `java.lang.String` | `getNavType()`
    `java.lang.String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### BDLocation

          public BDLocation(double lat,
                            double lon,
                            double altitude,
                            java.lang.String navType)

      Parameters:
        `lat` - 纬度
        Lat
        `lon` - 经度
        Lon
        `altitude` - 海拔
        altitude
        `navType` - 定位标识：GP - GPS 系统单独定位；BD - 北斗系统单独定位；GN - GPS 与北斗系统混合定位；
        positioning identification: GP-GPS system single positioning; BD-Beidou system single positioning; GN-GPS and beidou system hybrid positioning

  - ### Method Detail

    - #### getLat

          public double getLat()

      纬度,北纬为正数，南纬为负数
      Lat, north latitude is positive, south latitude is negative
      Returns:

    - #### getLon

          public double getLon()

      经度，东经为正数，西经为负数
      Lon, eastern longitude is positive, west longitude is negative
      Returns:

    - #### getNavType

          public java.lang.String getNavType()

    - #### getAltitude

          public double getAltitude()

      海拔
      altitude
      Returns:

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object o)

      Overrides:
        `equals` in class `java.lang.Object`