Michi : Michi Namespace

Route Class

経路情報をカプセル化したクラス

Syntax

public class Route

Remarks

一つのログファイルを解析・処理する

Requirements

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

Members

See Also: Inherited members from object.

Public Constructors

Route ()
コンストラクタ

Protected Fields

averagVelocity double . 平均速度 (km/hour)
comment string . コメント
effectiveDistanse double . 走行距離 (km)
effectiveTime TimeSpan . 走行時間
effectiveVelocity double . 巡航速度 (km/hour)
endDateTime DateTime . ログの終了時刻
endIndex int . Route.pos列の終了インデックス
graphAltitude Graph . 高度グラフ
graphSpeed Graph . 速度グラフ
latMax double . 表示範囲の緯度の最大値
latMin double . 表示範囲の緯度の最小値
lngMax double . 表示範囲の経度の最大値
lngMin double . 表示範囲の経度の最小値
logDate string . ログの開始時の年月日:YYYY-MM-DD (UTC)
logFilename string . ログ ファイル名
logFullPath string . ログ ファイルのフルパス
markers ArrayList . マーカー列
maxVelocity double . ログの最大速度 (km/hour)
minVelocity double . ログの最小速度 (km/hour)
pos ArrayList . 位置情報列
startDateTime DateTime . ログの開始時刻
startIndex int . Route.pos列の開始インデックス
strokeColor uint . ルートの線の色 (#xxxxxx)
static
strokeOpacity double . ルートの線の透明度
static
strokeWeight int . ルートの線の幅 (pixel)
totalDistance double . 総移動距離 (km)
totalTime TimeSpan . 総ログ時間

Public Properties

[read-only]
AverageVelocity double . Documentation for this section has not yet been entered.
[read-only]
EffectiveDistanse double . Documentation for this section has not yet been entered.
[read-only]
EffectiveTime TimeSpan . Documentation for this section has not yet been entered.
[read-only]
EffectiveVelocity double . Documentation for this section has not yet been entered.
[read-only]
EndDateTime DateTime . Documentation for this section has not yet been entered.
[read-only]
LatMax double . Documentation for this section has not yet been entered.
[read-only]
LatMin double . Documentation for this section has not yet been entered.
[read-only]
LngMax double . Documentation for this section has not yet been entered.
[read-only]
LngMin double . Documentation for this section has not yet been entered.
[read-only]
LogFilename string . Documentation for this section has not yet been entered.
[read-only]
LogFullPath string . Documentation for this section has not yet been entered.
[read-only]
MarkersCount int . Documentation for this section has not yet been entered.
[read-only]
MaxVelocity double . Documentation for this section has not yet been entered.
[read-only]
StartDateTime DateTime . Documentation for this section has not yet been entered.
[read-only]
StrokeColor uint . Documentation for this section has not yet been entered.
[read-only]
TotalDistance double . Documentation for this section has not yet been entered.
[read-only]
TotalTime TimeSpan . Documentation for this section has not yet been entered.

Public Methods

Analyze (double, double, double)
ルートを解析する
GetScript (uint, string, string, int) : System.Text.StringBuilder
ルートのスクリプトを返す
Load (string, YearMode, string) : bool
ログファイルを読み込み、位置情報列を作成する
RemoveMarkerAt (int) : bool
指定されたマーカーを削除する
SaveGraphAltitudeImage (string, int, int) : bool
高度のグラフを作成し、ファイルに保存する
SaveGraphSpeedImage (string, int, int) : bool
速度のグラフを作成し、ファイルに保存する
Shrink ()
ルートを縮約する

Member Details

Route Constructor

コンストラクタ

Syntax

public Route ()

Remarks

Documentation for this section has not yet been entered.

Requirements

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

Analyze Method

ルートを解析する

Syntax

public void Analyze (double lowestVelocity, double highestVelocity, double breakTimeSpan)

Parameters

lowestVelocity
この速度より遅い場合は停止とみなす (km/hour)
highestVelocity
この速度より速い場合はこの速度で置き換える (km/hour)
breakTimeSpan
この時間より長い停止をブレークポイントとしてマーカーを追加する (min)

Remarks

ログファイルを解析し、マーカーやグラフなどの諸要素を計算する

Requirements

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

AverageVelocity Property

Documentation for this section has not yet been entered.

Syntax

public double AverageVelocity { 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

averagVelocity Field

平均速度 (km/hour)

Syntax

protected double averagVelocity

Remarks

ルート中の平均速度

Requirements

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

comment Field

コメント

Syntax

protected string comment

Remarks

ログファイル内のコメント、ただし最初の1行

Requirements

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

effectiveDistanse Field

走行距離 (km)

Syntax

protected double effectiveDistanse

Remarks

ルート中の実際に走行した距離

Requirements

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

EffectiveDistanse Property

Documentation for this section has not yet been entered.

Syntax

public double EffectiveDistanse { 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

effectiveTime Field

走行時間

Syntax

protected TimeSpan effectiveTime

Remarks

ルート中の実際に走行した時間

Requirements

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

EffectiveTime Property

Documentation for this section has not yet been entered.

Syntax

public TimeSpan EffectiveTime { 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

effectiveVelocity Field

巡航速度 (km/hour)

Syntax

protected double effectiveVelocity

Remarks

ルート中の実際に走行している間の平均速度

Requirements

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

EffectiveVelocity Property

Documentation for this section has not yet been entered.

Syntax

public double EffectiveVelocity { 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

endDateTime Field

ログの終了時刻

Syntax

protected DateTime endDateTime

Remarks

Documentation for this section has not yet been entered.

Requirements

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

EndDateTime Property

Documentation for this section has not yet been entered.

Syntax

public DateTime EndDateTime { 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

endIndex Field

Route.pos列の終了インデックス

Syntax

protected int endIndex

Remarks

Documentation for this section has not yet been entered.

Requirements

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

GetScript Method

ルートのスクリプトを返す

Syntax

public System.Text.StringBuilder GetScript (uint color, string tab, string newLine, int identifier)

Parameters

color
ルートの表示色
tab
タブ文字列
newLine
改行文字列
identifier
ルートの識別子

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

graphAltitude Field

高度グラフ

Syntax

protected Graph graphAltitude

Remarks

Documentation for this section has not yet been entered.

Requirements

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

graphSpeed Field

速度グラフ

Syntax

protected Graph graphSpeed

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

LatMax Property

Documentation for this section has not yet been entered.

Syntax

public double LatMax { 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

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

LatMin Property

Documentation for this section has not yet been entered.

Syntax

public double LatMin { 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

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

LngMax Property

Documentation for this section has not yet been entered.

Syntax

public double LngMax { 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

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

LngMin Property

Documentation for this section has not yet been entered.

Syntax

public double LngMin { 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

Load Method

ログファイルを読み込み、位置情報列を作成する

Syntax

public bool Load (string filename, YearMode yearMode, string defaultYear)

Parameters

filename
ログファイル名
yearMode
Documentation for this section has not yet been entered.
defaultYear
Documentation for this section has not yet been entered.

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

logDate Field

ログの開始時の年月日:YYYY-MM-DD (UTC)

Syntax

protected string logDate

Remarks

Documentation for this section has not yet been entered.

Requirements

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

logFilename Field

ログ ファイル名

Syntax

protected string logFilename

Remarks

Documentation for this section has not yet been entered.

Requirements

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

LogFilename Property

Documentation for this section has not yet been entered.

Syntax

public string LogFilename { 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

logFullPath Field

ログ ファイルのフルパス

Syntax

protected string logFullPath

Remarks

Documentation for this section has not yet been entered.

Requirements

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

LogFullPath Property

Documentation for this section has not yet been entered.

Syntax

public string LogFullPath { 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

markers Field

マーカー列

Syntax

protected ArrayList markers

Remarks

Documentation for this section has not yet been entered.

Requirements

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

MarkersCount Property

Documentation for this section has not yet been entered.

Syntax

public int MarkersCount { 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

maxVelocity Field

ログの最大速度 (km/hour)

Syntax

protected double maxVelocity

Remarks

Documentation for this section has not yet been entered.

Requirements

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

MaxVelocity Property

Documentation for this section has not yet been entered.

Syntax

public double MaxVelocity { 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

minVelocity Field

ログの最小速度 (km/hour)

Syntax

protected double minVelocity

Remarks

Documentation for this section has not yet been entered.

Requirements

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

pos Field

位置情報列

Syntax

protected ArrayList pos

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 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

SaveGraphAltitudeImage Method

高度のグラフを作成し、ファイルに保存する

Syntax

public bool SaveGraphAltitudeImage (string filename, int width, int height)

Parameters

filename
フルパスのファイルネーム
width
Documentation for this section has not yet been entered.
height
Documentation for this section has not yet been entered.

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

SaveGraphSpeedImage Method

速度のグラフを作成し、ファイルに保存する

Syntax

public bool SaveGraphSpeedImage (string filename, int width, int height)

Parameters

filename
フルパスのファイルネーム
width
Documentation for this section has not yet been entered.
height
Documentation for this section has not yet been entered.

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

Shrink Method

ルートを縮約する

Syntax

public void Shrink ()

Remarks

ルートの位置情報を整理し、不必要なポイントを除外する

Requirements

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

startDateTime Field

ログの開始時刻

Syntax

protected DateTime startDateTime

Remarks

Documentation for this section has not yet been entered.

Requirements

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

StartDateTime Property

Documentation for this section has not yet been entered.

Syntax

public DateTime StartDateTime { 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

startIndex Field

Route.pos列の開始インデックス

Syntax

protected int startIndex

Remarks

Documentation for this section has not yet been entered.

Requirements

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

strokeColor Field

ルートの線の色 (#xxxxxx)

Syntax

protected uint strokeColor

Remarks

Documentation for this section has not yet been entered.

Requirements

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

StrokeColor Property

Documentation for this section has not yet been entered.

Syntax

public uint StrokeColor { 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

strokeOpacity Field

ルートの線の透明度

Syntax

protected static double strokeOpacity

Remarks

Documentation for this section has not yet been entered.

Requirements

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

strokeWeight Field

ルートの線の幅 (pixel)

Syntax

protected static int strokeWeight

Remarks

Documentation for this section has not yet been entered.

Requirements

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

totalDistance Field

総移動距離 (km)

Syntax

protected double totalDistance

Remarks

Documentation for this section has not yet been entered.

Requirements

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

TotalDistance Property

Documentation for this section has not yet been entered.

Syntax

public double TotalDistance { 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

totalTime Field

総ログ時間

Syntax

protected TimeSpan totalTime

Remarks

Documentation for this section has not yet been entered.

Requirements

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

TotalTime Property

Documentation for this section has not yet been entered.

Syntax

public TimeSpan TotalTime { 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