package com.erwan.revwatch.model

import kotlinx.serialization.Serializable

@Serializable
data class MetricSnapshot(
    val ts: Long = System.currentTimeMillis(),
    val rpm: Double? = null,
    val speedKph: Double? = null,
    val coolantTempC: Double? = null,
    val oilTempC: Double? = null,
    val mapKpa: Double? = null,
    val baroKpa: Double? = null,
    val boostKpa: Double? = null,
    val voltage: Double? = null,
    val fuelLevelPct: Double? = null,
    val fuelRateLph: Double? = null,
    val custom: Map<String, String> = emptyMap()
)
