This repository has been archived by the owner on May 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dashboard): Add BaroData graphs
- Loading branch information
Showing
5 changed files
with
144 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { DataMessage } from '../channels'; | ||
import { JsonSerializable } from '@wuespace/telestion-client-types'; | ||
|
||
export interface PressureData extends Record<string, JsonSerializable> { | ||
pressure: number; | ||
} | ||
|
||
export interface TemperatureData extends Record<string, JsonSerializable> { | ||
temperature: number; | ||
} | ||
|
||
export interface AltitudeData extends Record<string, JsonSerializable> { | ||
altitude: number; | ||
} | ||
|
||
export interface BaroDataData extends Record<string, JsonSerializable> { | ||
press: PressureData; | ||
temp: TemperatureData; | ||
alt: AltitudeData; | ||
} | ||
|
||
export type BaroDataMessage = DataMessage<BaroDataData>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters