Skip to content

Instantly share code, notes, and snippets.

@eoguvo
Created March 13, 2024 16:59
Show Gist options
  • Save eoguvo/08bce2dd95334ea1b0e7bae069fd5278 to your computer and use it in GitHub Desktop.
Save eoguvo/08bce2dd95334ea1b0e7bae069fd5278 to your computer and use it in GitHub Desktop.
// history
alert: history.alrm || history.alrt || "no_alert",
event: String(history.evt || history.res || "no_event"),
acceleration,
rpm,
date,
driver,
engine,
locked,
moving,
odometer,
position,
speed,
timestamp,
distance
// speed
start: startTimestamp,
startDate,
startTimestamp,
endDate,
endTimestamp,
position,
positions,
speedAverage,
speedMaximum: speedMaximumUnit,
duration,
distance,
driver
// Telemetry
violations: {
chart: StructureViolationChart,
panel: StructureViolationPanel,
},
route: structureRoute,
statistics: {
rpm: structureStatisticsRpm,
rpmMovement: structureStatisticsRpmMovement,
acceleration: structureStatisticsAcceleration,
inclive: structureStatisticsAcceleration,
braking: structureStatisticsBraking,
speed: structureStatisticsSpeed,
engine: structureStatisticsEngine,
fuel: structureStatisticsFuel,
},
// trip
distance,
durationRoute,
endDate,
endTimestamp,
fuelExpense,
odometer,
history,
speedAverage,
speedMaximum,
startDate,
startTimestamp
// statistics
distance: string;
durationEngine: string;
durationRoute: string;
durationStop: string;
speedMaximum: string;
speedAverage: string;
odometer: string;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment