Table of Contents

Class SafetyInsightExtensions

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

Extension methods class for implementors of ISafetyInsight

public static class SafetyInsightExtensions
Inheritance
SafetyInsightExtensions
Inherited Members

Methods

CalculateAllRanges(ISafetyInsight)

Calculates all ranges based on their relevant ranks. (Acceleration, Braking, Cornering, Speeding)

The ISafetyInsight implementor.
public static void CalculateAllRanges(this ISafetyInsight insight)

Parameters

insight ISafetyInsight

CalculateCrashProbabilityRiskLabel(ISafetyInsight, double?)

Calculates the crash probability risk label based on the value present for CrashProbabilityRiskLabel

public static void CalculateCrashProbabilityRiskLabel(this ISafetyInsight insight, double? crashProbabilityBenchmark)

Parameters

insight ISafetyInsight

The ISafetyInsight implementor.

crashProbabilityBenchmark double?

The crash probability benchmark value

CalculateHarshAccelerationRange(ISafetyInsight)

Calculates the harsh acceleration range based on the value present for HarshAccelerationRank

The ISafetyInsight implementor.
public static void CalculateHarshAccelerationRange(this ISafetyInsight insight)

Parameters

insight ISafetyInsight

CalculateHarshBrakingRange(ISafetyInsight)

Calculates the harsh braking range based on the value present for HarshBrakingRank

The ISafetyInsight implementor.
public static void CalculateHarshBrakingRange(this ISafetyInsight insight)

Parameters

insight ISafetyInsight

CalculateHarshCorneringRange(ISafetyInsight)

Calculates the harsh cornering range based on the value present for HarshCorneringRank

The ISafetyInsight implementor.
public static void CalculateHarshCorneringRange(this ISafetyInsight insight)

Parameters

insight ISafetyInsight

CalculateRelativeRiskKm(ISafetyInsight)

Calculates the crash relative risk value in km based on the difference between CrashProbabilityKm and CrashProbabilityBenchmarkKm

The ISafetyInsight implementor.
public static void CalculateRelativeRiskKm(this ISafetyInsight insight)

Parameters

insight ISafetyInsight

CalculateRelativeRiskMile(ISafetyInsight)

Calculates the crash relative risk value in miles based on the difference between CrashProbabilityMile and CrashProbabilityBenchmarkMile

The ISafetyInsight implementor.
public static void CalculateRelativeRiskMile(this ISafetyInsight insight)

Parameters

insight ISafetyInsight

CalculateRelativeRiskRange(ISafetyInsight)

Calculates the crash relative risk range based on the value present for RelativeRiskKm

The ISafetyInsight implementor.
public static void CalculateRelativeRiskRange(this ISafetyInsight insight)

Parameters

insight ISafetyInsight

CalculateRelativeRiskValues(ISafetyInsight)

Calculates the crash relative risk values in metric and imperial, along with the relevant range.

The ISafetyInsight implementor.
public static void CalculateRelativeRiskValues(this ISafetyInsight insight)

Parameters

insight ISafetyInsight

CalculateSpeedingRange(ISafetyInsight)

Calculates the speeding range based on the value present for SpeedingRank

The ISafetyInsight implementor.
public static void CalculateSpeedingRange(this ISafetyInsight insight)

Parameters

insight ISafetyInsight