Michi : Michi Namespace

GPSPosition Class

GPSの位置情報をカプセル化したクラス

Syntax

public class GPSPosition

Remarks

GPSセンテンス(NMEA-0183)をパッケージ化したクラス GGAセンテンスのみを実装済み

Requirements

Namespace: Michi
Assembly: Michi (in Michi.dll)
Assembly Versions: 0.0.0.0

Members

See Also: Inherited members from object.

Public Constructors

Initializes a new instance of the Michi.GPSPosition class.

Public Fields

const
formatType string . フォーマッ名

Public Methods

Altitude () : double
Documentation for this section has not yet been entered.
static
GetDistanceAsMeter (GPSPosition, GPSPosition) : double
2点間の直線距離を返す
HasSentence () : bool
Determines whether this instance has sentence.
HasSentence (string) : bool
Determines whether this instance has sentence the specified identifier.
LatLng () : LatLng
Documentation for this section has not yet been entered.
SetGGA (string[], string) : bool
GGAセンテンスを設定する
SetSentence (string, string[], string) : bool
Sets the sentence.
Time () : DateTime
時間をDateTime形式で返す

Member Details

GPSPosition Constructor

Initializes a new instance of the Michi.GPSPosition class.

Syntax

public GPSPosition ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Michi
Assembly: Michi (in Michi.dll)
Assembly Versions: 0.0.0.0

Altitude Method

Documentation for this section has not yet been entered.

Syntax

public double Altitude ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Michi
Assembly: Michi (in Michi.dll)
Assembly Versions: 0.0.0.0

formatType Field

フォーマッ名

Syntax

public const string formatType

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Michi
Assembly: Michi (in Michi.dll)
Assembly Versions: 0.0.0.0

GetDistanceAsMeter Method

2点間の直線距離を返す

Syntax

public static double GetDistanceAsMeter (GPSPosition pos1, GPSPosition pos2)

Parameters

pos1
Pos1
pos2
Pos2

Returns

距離 (m)

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Michi
Assembly: Michi (in Michi.dll)
Assembly Versions: 0.0.0.0

HasSentence Method

Determines whether this instance has sentence.

Syntax

public bool HasSentence ()

Returns

true if this instance has sentence; otherwise, false.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Michi
Assembly: Michi (in Michi.dll)
Assembly Versions: 0.0.0.0

HasSentence Method

Determines whether this instance has sentence the specified identifier.

Syntax

public bool HasSentence (string identifier)

Parameters

identifier
If set to true identifier.

Returns

true if this instance has sentence the specified identifier; otherwise, false.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Michi
Assembly: Michi (in Michi.dll)
Assembly Versions: 0.0.0.0

LatLng Method

Documentation for this section has not yet been entered.

Syntax

public LatLng LatLng ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Michi
Assembly: Michi (in Michi.dll)
Assembly Versions: 0.0.0.0

SetGGA Method

GGAセンテンスを設定する

Syntax

public bool SetGGA (string[] data, string checkSum)

Parameters

data
データ列
checkSum
チェックサム

Returns

正常に設定された場合はtrue

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Michi
Assembly: Michi (in Michi.dll)
Assembly Versions: 0.0.0.0

SetSentence Method

Sets the sentence.

Syntax

public bool SetSentence (string identifier, string[] data, string checkSum)

Parameters

identifier
If set to true identifier.
data
If set to true data.
checkSum
If set to true check sum.

Returns

The sentence.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Michi
Assembly: Michi (in Michi.dll)
Assembly Versions: 0.0.0.0

Time Method

時間をDateTime形式で返す

Syntax

public DateTime Time ()

Returns

Documentation for this section has not yet been entered.

Remarks

年月日は仮の値

Requirements

Namespace: Michi
Assembly: Michi (in Michi.dll)
Assembly Versions: 0.0.0.0