Table of Contents

Class Step

Namespace
Geotab.Checkmate.ObjectModel.Geographical
Assembly
Geotab.Checkmate.ObjectModel.dll

A single step in a sequence of step-by-step instructions to complete Leg of Directions.

[ReportClass]
public class Step : IDirectionsSequence, IDistanceDuration
Inheritance
Step
Implements
Inherited Members

Constructors

Step()

Initializes a new instance of the Step class.

public Step()

Step(float?, in TimeSpan?, int?, string?)

Initializes a new instance of the Step class.

public Step(float? distance, in TimeSpan? duration, int? sequence, string? instructions)

Parameters

distance float?

The distance estimate.

duration TimeSpan?

The duration estimate.

sequence int?

The sequence.

instructions string

The instructions.

Properties

Distance

Gets or sets the distance estimate in kilometers for this step.

[ExcelColumnHeader(new ReportHeading[] { ReportHeading.RouteItemDistance }, IsSpeedOrDistance = true)]
public float? Distance { get; set; }

Property Value

float?

The float distance.

Duration

Gets or sets the travel time duration estimate for this step.

[ExcelColumnHeader(new ReportHeading[] { ReportHeading.RouteItemDuration })]
public TimeSpan? Duration { get; set; }

Property Value

TimeSpan?

The TimeSpan duration.

Instructions

Gets or sets the instructions for this step.

[ExcelColumnHeader(new ReportHeading[] { ReportHeading.RouteItemTurnText })]
public string? Instructions { get; set; }

Property Value

string

The turn text. string

Sequence

Gets or sets the ordered sequence of this step.

[ExcelColumnHeader(new ReportHeading[] { ReportHeading.RouteItemTurnNumber })]
public int? Sequence { get; set; }

Property Value

int?

The int sequence.

See Also