Michi : Michi Namespace

Tour Class

GPS のログをカプセル化したクラス

Syntax

public class Tour

Remarks

ひとつのログ ファイルをルートとし、複数のルートの集合をTourとしてカプセル化する。

Requirements

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

Members

See Also: Inherited members from object.

Public Constructors

Tour ()
Initializes a new instance of the Michi.Tour class.
Initializes a new instance of the Michi.Tour class.

Public Fields

static
VERSION_DATE_STRING string . バージョン日付

Protected Fields

configuration Configuration . 設定
latMax double . 表示範囲の緯度の最大値
latMin double . 表示範囲の緯度の最小値
lngMax double . 表示範囲の経度の最大値
lngMin double . 表示範囲の経度の最小値
routes ArrayList . ルートのリスト
textStream TextStreamHandler . ファイル出力用のストリーマー
tourFilename string . 出力されるファイルネーム

Public Properties

[read-only]
TourFilename string . Documentation for this section has not yet been entered.

Public Methods

AddLogFile (string) : bool
ログ ファイルを追加する
MarkersCountAt (int) : int
指定されたルートのマーカー数を返す
RemoveMarkerAt (int, int) : bool
指定されたルートのマーカーを削除する
RemoveRouteAt (int) : bool
指定されたルートを削除する
Save (string, string, bool) : Tour.SaveReturn
スクリプト データをファイルに出力する
SetTemplateFile (string) : bool
テンプレート ファイルを設定する

Protected Methods

getStrokeColor (int) : uint
indexから、ラインの色を返す

Member Details

Tour Constructor

Initializes a new instance of the Michi.Tour class.

Syntax

public Tour ()

Remarks

Documentation for this section has not yet been entered.

Requirements

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

Tour Constructor

Initializes a new instance of the Michi.Tour class.

Syntax

public Tour (Configuration config)

Parameters

config
環境設定

Remarks

Documentation for this section has not yet been entered.

Requirements

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

AddLogFile Method

ログ ファイルを追加する

Syntax

public bool AddLogFile (string filename)

Parameters

filename
ログ ファイル名

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

configuration Field

設定

Syntax

protected Configuration configuration

Remarks

Documentation for this section has not yet been entered.

Requirements

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

getStrokeColor Method

indexから、ラインの色を返す

Syntax

protected uint getStrokeColor (int index)

Parameters

index
Index.

Returns

The stroke color.

Remarks

Documentation for this section has not yet been entered.

Requirements

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

latMax Field

表示範囲の緯度の最大値

Syntax

protected double latMax

Remarks

Documentation for this section has not yet been entered.

Requirements

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

latMin Field

表示範囲の緯度の最小値

Syntax

protected double latMin

Remarks

Documentation for this section has not yet been entered.

Requirements

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

lngMax Field

表示範囲の経度の最大値

Syntax

protected double lngMax

Remarks

Documentation for this section has not yet been entered.

Requirements

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

lngMin Field

表示範囲の経度の最小値

Syntax

protected double lngMin

Remarks

Documentation for this section has not yet been entered.

Requirements

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

MarkersCountAt Method

指定されたルートのマーカー数を返す

Syntax

public int MarkersCountAt (int routeIndex)

Parameters

routeIndex
ルートのインデックス

Returns

マーカーの数

Remarks

Documentation for this section has not yet been entered.

Requirements

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

RemoveMarkerAt Method

指定されたルートのマーカーを削除する

Syntax

public bool RemoveMarkerAt (int routeIndex, int markerIndex)

Parameters

routeIndex
ルートのインデックス
markerIndex
マーカーのインデックス

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

RemoveRouteAt Method

指定されたルートを削除する

Syntax

public bool RemoveRouteAt (int index)

Parameters

index
インデックス

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

routes Field

ルートのリスト

Syntax

protected ArrayList routes

Remarks

Documentation for this section has not yet been entered.

Requirements

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

Save Method

スクリプト データをファイルに出力する

Syntax

public Tour.SaveReturn Save (string path, string title, bool overwrite)

Parameters

path
出力先のファイル パス
title
出力先のファイル ネーム
overwrite
既にファイルが存在している場合に上書きするならtrue

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

SetTemplateFile Method

テンプレート ファイルを設定する

Syntax

public bool SetTemplateFile (string filename)

Parameters

filename
テンプレート ファイル名

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

textStream Field

ファイル出力用のストリーマー

Syntax

protected TextStreamHandler textStream

Remarks

Documentation for this section has not yet been entered.

Requirements

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

tourFilename Field

出力されるファイルネーム

Syntax

protected string tourFilename

Remarks

Documentation for this section has not yet been entered.

Requirements

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

TourFilename Property

Documentation for this section has not yet been entered.

Syntax

public string TourFilename { get; }

Value

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

VERSION_DATE_STRING Field

バージョン日付

Syntax

public static string VERSION_DATE_STRING

Remarks

Documentation for this section has not yet been entered.

Requirements

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