Skip to content

Commit c98ddb3

Browse files
committed
Add emptyWeight to Telemetry
1 parent 80322ff commit c98ddb3

File tree

3 files changed

+23
-11
lines changed

3 files changed

+23
-11
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,6 @@ tests/baselines/reference/dt
6262
.failed-tests
6363
TEST-results.xml
6464
.eslintcache
65+
package.g.props
6566
*v8.log
6667
/lib/
67-
package.g.props

CHANGELOG.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
This file explains how Visual Studio created the project.
22

33
The following tools were used to generate this project:
4+
45
- TypeScript Compiler (tsc)
56

67
The following steps were used to generate this project:
8+
79
- Create project file (`Content.Source.esproj`).
810
- Create `launch.json` to enable debugging.
9-
- Create `nuget.config` to specify location of the JavaScript Project System SDK (which is used in the first line in `Content.Source.esproj`).
10-
- Install npm packages and create `tsconfig.json`: `npm init && npm i --save-dev eslint typescript @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser && npx tsc --init --sourceMap true`.
11+
- Create `nuget.config` to specify location of the JavaScript Project System SDK (which is used in the first line in
12+
`Content.Source.esproj`).
13+
- Install npm packages and create `tsconfig.json`:
14+
`npm init && npm i --save-dev eslint typescript @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser && npx tsc --init --sourceMap true`.
1115
- Create `app.ts`.
1216
- Update `package.json` entry point.
1317
- Update TypeScript build scripts in `package.json`.

src/types/types.d.ts

+16-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
import { EngineType } from '../defs'
2-
import { AircraftFeature } from '../defs'
3-
import { AircraftType } from '../defs'
4-
import { FlightPlanType } from '../defs'
5-
import { GateType } from '../defs'
6-
import { SimType } from '../defs'
7-
import { PirepState } from '../defs'
8-
import { Surface } from '../defs'
1+
import {
2+
AircraftFeature,
3+
AircraftType,
4+
EngineType,
5+
FlightPlanType,
6+
GateType,
7+
PirepState,
8+
SimType,
9+
Surface,
10+
} from '../defs'
911

1012
/** Point-in-time telemetry from the aircraft */
1113
export interface Telemetry {
@@ -23,6 +25,12 @@ export interface Telemetry {
2325
dateTime: DateTimeOffset
2426
/** The date/time on the client machine */
2527
dateTimeSystem: DateTimeOffset
28+
/**
29+
* Empty weight of the aircraft
30+
*
31+
* @inheritdoc
32+
*/
33+
emptyWeight: Mass
2634
/** The number of engines */
2735
engineCount: number
2836
/** Array with the fuel flow values for an engine */

0 commit comments

Comments
 (0)