38 lines
1.0 KiB
TypeScript
38 lines
1.0 KiB
TypeScript
export interface TelemetryPresentation {
|
|
timerText: string
|
|
mileageText: string
|
|
distanceToTargetValueText: string
|
|
distanceToTargetUnitText: string
|
|
speedText: string
|
|
heartRateTone: 'blue' | 'purple' | 'green' | 'yellow' | 'orange' | 'red'
|
|
heartRateZoneNameText: string
|
|
heartRateZoneRangeText: string
|
|
heartRateValueText: string
|
|
heartRateUnitText: string
|
|
caloriesValueText: string
|
|
caloriesUnitText: string
|
|
averageSpeedValueText: string
|
|
averageSpeedUnitText: string
|
|
accuracyValueText: string
|
|
accuracyUnitText: string
|
|
}
|
|
|
|
export const EMPTY_TELEMETRY_PRESENTATION: TelemetryPresentation = {
|
|
timerText: '00:00:00',
|
|
mileageText: '0m',
|
|
distanceToTargetValueText: '--',
|
|
distanceToTargetUnitText: '',
|
|
speedText: '0',
|
|
heartRateTone: 'blue',
|
|
heartRateZoneNameText: '激活放松',
|
|
heartRateZoneRangeText: '<=39%',
|
|
heartRateValueText: '--',
|
|
heartRateUnitText: '',
|
|
caloriesValueText: '0',
|
|
caloriesUnitText: 'kcal',
|
|
averageSpeedValueText: '0',
|
|
averageSpeedUnitText: 'km/h',
|
|
accuracyValueText: '--',
|
|
accuracyUnitText: '',
|
|
}
|