@airframes/acars-decoder 1.3.2 → 1.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/coverage/clover.xml +148 -71
  2. package/coverage/coverage-final.json +23 -22
  3. package/coverage/lcov-report/index.html +24 -24
  4. package/coverage/lcov.info +331 -230
  5. package/dist/DecoderPlugin.js +18 -15
  6. package/dist/IcaoDecoder.js +3 -0
  7. package/dist/MessageDecoder.js +5 -0
  8. package/dist/bin/acars-decoder-test.js +6 -0
  9. package/dist/plugins/Label_15.js +2 -4
  10. package/dist/plugins/Label_1M_Slash.d.ts +11 -0
  11. package/dist/plugins/Label_1M_Slash.js +63 -0
  12. package/dist/plugins/Label_1M_Slash.test.d.ts +1 -0
  13. package/dist/plugins/Label_1M_Slash.test.js +43 -0
  14. package/dist/plugins/Label_20_CFB.01.js +2 -4
  15. package/dist/plugins/Label_20_POS.js +2 -4
  16. package/dist/plugins/Label_44_ETA.js +2 -4
  17. package/dist/plugins/Label_44_IN.js +2 -4
  18. package/dist/plugins/Label_44_OFF.js +2 -4
  19. package/dist/plugins/Label_44_ON.js +2 -4
  20. package/dist/plugins/Label_44_POS.js +2 -4
  21. package/dist/plugins/Label_5Z.js +27 -29
  22. package/dist/plugins/Label_80.js +17 -19
  23. package/dist/plugins/Label_8E.js +2 -4
  24. package/dist/plugins/Label_8E.test.d.ts +1 -0
  25. package/dist/plugins/Label_8E.test.js +32 -0
  26. package/dist/plugins/Label_B6.js +2 -4
  27. package/dist/plugins/Label_ColonComma.js +2 -4
  28. package/dist/plugins/Label_H1.js +1 -0
  29. package/dist/plugins/Label_H1_M1BPOS.js +2 -4
  30. package/dist/plugins/Label_H1_M1BPRG.js +2 -4
  31. package/dist/plugins/Label_QP.js +2 -4
  32. package/dist/plugins/Label_QQ.js +2 -4
  33. package/dist/plugins/Label_QR.js +2 -4
  34. package/dist/plugins/Label_QS.js +2 -4
  35. package/dist/plugins/Label_SQ.js +2 -4
  36. package/dist/plugins/official.d.ts +1 -0
  37. package/dist/plugins/official.js +34 -22
  38. package/package.json +2 -2
@@ -1,22 +1,25 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DecoderPlugin = void 0;
3
4
  class DecoderPlugin {
5
+ decoder;
6
+ name = 'unknown';
7
+ defaultResult = {
8
+ decoded: false,
9
+ decoder: {
10
+ name: 'unknown',
11
+ type: 'pattern-match',
12
+ decodeLevel: 'none',
13
+ },
14
+ formatted: {
15
+ description: 'Unknown',
16
+ items: [],
17
+ },
18
+ raw: {},
19
+ remaining: {},
20
+ };
21
+ options;
4
22
  constructor(decoder, options = {}) {
5
- this.name = 'unknown';
6
- this.defaultResult = {
7
- decoded: false,
8
- decoder: {
9
- name: 'unknown',
10
- type: 'pattern-match',
11
- decodeLevel: 'none',
12
- },
13
- formatted: {
14
- description: 'Unknown',
15
- items: [],
16
- },
17
- raw: {},
18
- remaining: {},
19
- };
20
23
  this.decoder = decoder;
21
24
  this.options = options;
22
25
  }
@@ -1,6 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IcaoDecoder = void 0;
3
4
  class IcaoDecoder {
5
+ name;
6
+ icao;
4
7
  constructor(icao) {
5
8
  this.name = 'icao-decoder-typescript';
6
9
  this.icao = icao;
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MessageDecoder = void 0;
3
4
  const Plugins = require("./plugins/official");
4
5
  class MessageDecoder {
6
+ name;
7
+ plugins;
8
+ debug;
5
9
  constructor() {
6
10
  this.name = 'acars-decoder-typescript';
7
11
  this.plugins = [];
@@ -19,6 +23,7 @@ class MessageDecoder {
19
23
  this.registerPlugin(new Plugins.Label_H1_M1BPOS(this));
20
24
  this.registerPlugin(new Plugins.Label_80(this));
21
25
  this.registerPlugin(new Plugins.Label_8E(this));
26
+ this.registerPlugin(new Plugins.Label_1M_Slash(this));
22
27
  this.registerPlugin(new Plugins.Label_SQ(this));
23
28
  this.registerPlugin(new Plugins.Label_QP(this));
24
29
  this.registerPlugin(new Plugins.Label_QQ(this));
@@ -36,3 +36,9 @@ decode('80', "3N01 POSRPT 0570/13 MSLP/KJFK .N603AV/04F 00:59\n\
36
36
  decode('H1', '#M1BPOSN32492W117178,N33492W118335,195835,350,N32463W117143,195907,N32359W117014,M51,25872,249/TS195835,1214195C27');
37
37
  // Label 8E
38
38
  decode("8E", "EGSS,1618");
39
+ // Label 1M with slash
40
+ decode("1M", `/BA0843/ETA01/230822/LDSP/EGLL/EGSS/2JK0
41
+ 1940/EGLL27L/10 `);
42
+ decode("1M", `/AY1416/ETA02/230822/EDDF/EFHK/EETN/2JK0
43
+ 1956/EFHK04L/50
44
+ / / / / / /`);
@@ -1,12 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Label_15 = void 0;
3
4
  const DecoderPlugin_1 = require("../DecoderPlugin");
4
5
  // General Aviation Position Report
5
6
  class Label_15 extends DecoderPlugin_1.DecoderPlugin {
6
- constructor() {
7
- super(...arguments);
8
- this.name = 'label-5z';
9
- }
7
+ name = 'label-5z';
10
8
  qualifiers() {
11
9
  return {
12
10
  labels: ['15'],
@@ -0,0 +1,11 @@
1
+ import { DecoderPlugin } from '../DecoderPlugin';
2
+ export declare class Label_1M_Slash extends DecoderPlugin {
3
+ name: string;
4
+ qualifiers(): {
5
+ labels: string[];
6
+ preambles: string[];
7
+ };
8
+ decode(message: any, options?: any): any;
9
+ }
10
+ declare const _default: {};
11
+ export default _default;
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Label_1M_Slash = void 0;
4
+ const DecoderPlugin_1 = require("../DecoderPlugin");
5
+ class Label_1M_Slash extends DecoderPlugin_1.DecoderPlugin {
6
+ name = 'label-1m-slash';
7
+ qualifiers() {
8
+ return {
9
+ labels: ["1M"],
10
+ preambles: ['/'],
11
+ };
12
+ }
13
+ decode(message, options = {}) {
14
+ const decodeResult = this.defaultResult;
15
+ decodeResult.decoder.name = this.name;
16
+ decodeResult.formatted.description = 'ETA Report';
17
+ decodeResult.message = message;
18
+ // Style: /BA0843/ETA01/230822/LDSP/EGLL/EGSS/2JK0(NEW LINE)1940/EGLL27L/10
19
+ const results = message.text.split(/\n|\//).slice(1); // Split by / and new line
20
+ if (results) {
21
+ if (options.debug) {
22
+ console.log(`Label 1M ETA: results`);
23
+ console.log(results);
24
+ }
25
+ decodeResult.raw.flight_number = results[0];
26
+ // results[1]: ETA01 (???)
27
+ // results[2]: 230822 - UTC date of eta
28
+ decodeResult.raw.departure_icao = results[3];
29
+ decodeResult.raw.arrival_icao = results[4];
30
+ decodeResult.raw.alternate_icao = results[5];
31
+ // results[6]: 2JK0 (???)
32
+ // results[7] 1940 - UTC eta
33
+ decodeResult.raw.arrival_runway = results[8].replace(decodeResult.raw.arrival_icao, ""); // results[8] EGLL27L
34
+ // results[9]: 10(space) (???)
35
+ decodeResult.raw.arrival_eta = new Date();
36
+ decodeResult.raw.arrival_eta.setUTCDate(results[2].substring(0, 2), results[2].substring(2, 2), results[2].substring(4, 2));
37
+ decodeResult.raw.arrival_eta.setUTCHours(results[7].substr(0, 2), results[7].substr(2, 2), 0);
38
+ decodeResult.formatted.items.push({
39
+ type: 'eta',
40
+ code: 'ETA',
41
+ label: 'Estimated Time of Arrival',
42
+ value: decodeResult.raw.arrival_eta.toGMTString(),
43
+ });
44
+ decodeResult.formatted.items.push({
45
+ type: 'destination',
46
+ code: 'DST',
47
+ label: 'Destination',
48
+ value: decodeResult.raw.arrival_icao,
49
+ });
50
+ decodeResult.formatted.items.push({
51
+ type: 'origin',
52
+ code: 'ORG',
53
+ label: 'Origin',
54
+ value: decodeResult.raw.departure_icao,
55
+ });
56
+ }
57
+ decodeResult.decoded = true;
58
+ decodeResult.decoder.decodeLevel = 'partial';
59
+ return decodeResult;
60
+ }
61
+ }
62
+ exports.Label_1M_Slash = Label_1M_Slash;
63
+ exports.default = {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const MessageDecoder_1 = require("../MessageDecoder");
4
+ const Label_1M_Slash_1 = require("./Label_1M_Slash");
5
+ test('decodes Label 8E sample 1', () => {
6
+ const decoder = new MessageDecoder_1.MessageDecoder();
7
+ const decoderPlugin = new Label_1M_Slash_1.Label_1M_Slash(decoder);
8
+ expect(decoderPlugin.decode).toBeDefined();
9
+ expect(decoderPlugin.name).toBe('label-1m-slash');
10
+ expect(decoderPlugin.qualifiers).toBeDefined();
11
+ expect(decoderPlugin.qualifiers()).toEqual({
12
+ labels: ['1M'],
13
+ preambles: ['/'],
14
+ });
15
+ const text = '/BA0843/ETA01/230822/LDSP/EGLL/EGSS/2JK0\n1940/EGLL27L/10';
16
+ const decodeResult = decoderPlugin.decode({ text: text });
17
+ console.log(JSON.stringify(decodeResult, null, 2));
18
+ expect(decodeResult.decoded).toBe(true);
19
+ expect(decodeResult.decoder.decodeLevel).toBe('partial');
20
+ expect(decodeResult.decoder.name).toBe('label-1m-slash');
21
+ expect(decodeResult.formatted.description).toBe('ETA Report');
22
+ expect(decodeResult.message.text).toBe(text);
23
+ expect(decodeResult.raw.alternate_icao).toBe('EGSS');
24
+ expect(decodeResult.raw.arrival_eta.getUTCHours()).toBe(19);
25
+ expect(decodeResult.raw.arrival_eta.getUTCMinutes()).toBe(40);
26
+ expect(decodeResult.raw.arrival_icao).toBe('EGLL');
27
+ expect(decodeResult.raw.arrival_runway).toBe('27L');
28
+ expect(decodeResult.raw.departure_icao).toBe('LDSP');
29
+ expect(decodeResult.raw.flight_number).toBe('BA0843');
30
+ expect(decodeResult.formatted.items.length).toBe(3);
31
+ expect(decodeResult.formatted.items[0].type).toBe('eta');
32
+ expect(decodeResult.formatted.items[0].code).toBe('ETA');
33
+ expect(decodeResult.formatted.items[0].label).toBe('Estimated Time of Arrival');
34
+ expect(decodeResult.formatted.items[0].value.includes('19:40')).toBe(true);
35
+ expect(decodeResult.formatted.items[1].type).toBe('destination');
36
+ expect(decodeResult.formatted.items[1].code).toBe('DST');
37
+ expect(decodeResult.formatted.items[1].label).toBe('Destination');
38
+ expect(decodeResult.formatted.items[1].value).toBe('EGLL');
39
+ expect(decodeResult.formatted.items[2].type).toBe('origin');
40
+ expect(decodeResult.formatted.items[2].code).toBe('ORG');
41
+ expect(decodeResult.formatted.items[2].label).toBe('Origin');
42
+ expect(decodeResult.formatted.items[2].value).toBe('LDSP');
43
+ });
@@ -1,12 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Label_20_CFB01 = void 0;
3
4
  const DecoderPlugin_1 = require("../DecoderPlugin");
4
5
  // In Air Report
5
6
  class Label_20_CFB01 extends DecoderPlugin_1.DecoderPlugin {
6
- constructor() {
7
- super(...arguments);
8
- this.name = 'label-20-cfb01';
9
- }
7
+ name = 'label-20-cfb01';
10
8
  qualifiers() {
11
9
  return {
12
10
  labels: ['20'],
@@ -1,12 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Label_20_POS = void 0;
3
4
  const DecoderPlugin_1 = require("../DecoderPlugin");
4
5
  // Position Report
5
6
  class Label_20_POS extends DecoderPlugin_1.DecoderPlugin {
6
- constructor() {
7
- super(...arguments);
8
- this.name = 'label-20-pos';
9
- }
7
+ name = 'label-20-pos';
10
8
  qualifiers() {
11
9
  return {
12
10
  labels: ['20'],
@@ -1,12 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Label_44_ETA = void 0;
3
4
  const DecoderPlugin_1 = require("../DecoderPlugin");
4
5
  // In Air Report
5
6
  class Label_44_ETA extends DecoderPlugin_1.DecoderPlugin {
6
- constructor() {
7
- super(...arguments);
8
- this.name = 'label-44-eta';
9
- }
7
+ name = 'label-44-eta';
10
8
  qualifiers() {
11
9
  return {
12
10
  labels: ['44'],
@@ -1,12 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Label_44_IN = void 0;
3
4
  const DecoderPlugin_1 = require("../DecoderPlugin");
4
5
  // In Air Report
5
6
  class Label_44_IN extends DecoderPlugin_1.DecoderPlugin {
6
- constructor() {
7
- super(...arguments);
8
- this.name = 'label-44-in';
9
- }
7
+ name = 'label-44-in';
10
8
  qualifiers() {
11
9
  return {
12
10
  labels: ['44'],
@@ -1,12 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Label_44_OFF = void 0;
3
4
  const DecoderPlugin_1 = require("../DecoderPlugin");
4
5
  // Off Runway Report
5
6
  class Label_44_OFF extends DecoderPlugin_1.DecoderPlugin {
6
- constructor() {
7
- super(...arguments);
8
- this.name = 'label-44-off';
9
- }
7
+ name = 'label-44-off';
10
8
  qualifiers() {
11
9
  return {
12
10
  labels: ['44'],
@@ -1,12 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Label_44_ON = void 0;
3
4
  const DecoderPlugin_1 = require("../DecoderPlugin");
4
5
  // On Runway Report
5
6
  class Label_44_ON extends DecoderPlugin_1.DecoderPlugin {
6
- constructor() {
7
- super(...arguments);
8
- this.name = 'label-44-on';
9
- }
7
+ name = 'label-44-on';
10
8
  qualifiers() {
11
9
  return {
12
10
  labels: ['44'],
@@ -1,12 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Label_44_POS = void 0;
3
4
  const DecoderPlugin_1 = require("../DecoderPlugin");
4
5
  // General Aviation Position Report
5
6
  class Label_44_POS extends DecoderPlugin_1.DecoderPlugin {
6
- constructor() {
7
- super(...arguments);
8
- this.name = 'label-44-pos';
9
- }
7
+ name = 'label-44-pos';
10
8
  qualifiers() {
11
9
  return {
12
10
  labels: ['44'],
@@ -1,36 +1,34 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Label_5Z = void 0;
3
4
  const DecoderPlugin_1 = require("../DecoderPlugin");
4
5
  class Label_5Z extends DecoderPlugin_1.DecoderPlugin {
5
- constructor() {
6
- super(...arguments);
7
- this.name = 'label-5z';
8
- this.descriptions = {
9
- B1: 'Request Weight and Balance',
10
- B3: 'Request Departure Clearance',
11
- CD: 'Weight and Balance',
12
- CG: 'Request Pre-departure clearance, PDC',
13
- CM: 'Crew Scheduling',
14
- C3: 'Off Message',
15
- C4: 'Flight Dispatch',
16
- C5: 'Maintenance Message',
17
- C6: 'Customer Service',
18
- 10: 'PIREP',
19
- C11: 'International PIREP',
20
- DS: 'Late Message',
21
- D3: 'Holding Pattern Message',
22
- D6: 'From-To + Date',
23
- D7: 'From-To + Alternate + Time',
24
- EO: 'In Range',
25
- PW: 'Position Weather',
26
- RL: 'Request Release',
27
- R3: 'Request HOWGOZIT Message',
28
- R4: 'Request the Latest POSBD',
29
- TC: 'From-To Fuel',
30
- WB: 'From-To',
31
- W1: 'Request Weather for City',
32
- };
33
- }
6
+ name = 'label-5z';
7
+ descriptions = {
8
+ B1: 'Request Weight and Balance',
9
+ B3: 'Request Departure Clearance',
10
+ CD: 'Weight and Balance',
11
+ CG: 'Request Pre-departure clearance, PDC',
12
+ CM: 'Crew Scheduling',
13
+ C3: 'Off Message',
14
+ C4: 'Flight Dispatch',
15
+ C5: 'Maintenance Message',
16
+ C6: 'Customer Service',
17
+ 10: 'PIREP',
18
+ C11: 'International PIREP',
19
+ DS: 'Late Message',
20
+ D3: 'Holding Pattern Message',
21
+ D6: 'From-To + Date',
22
+ D7: 'From-To + Alternate + Time',
23
+ EO: 'In Range',
24
+ PW: 'Position Weather',
25
+ RL: 'Request Release',
26
+ R3: 'Request HOWGOZIT Message',
27
+ R4: 'Request the Latest POSBD',
28
+ TC: 'From-To Fuel',
29
+ WB: 'From-To',
30
+ W1: 'Request Weather for City',
31
+ };
34
32
  qualifiers() {
35
33
  return {
36
34
  labels: ['5Z'],
@@ -1,28 +1,26 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Label_80 = void 0;
3
4
  const DecoderPlugin_1 = require("../DecoderPlugin");
4
5
  // Airline Defined
5
6
  // 3N01 POSRPT
6
7
  class Label_80 extends DecoderPlugin_1.DecoderPlugin {
7
- constructor() {
8
- super(...arguments);
9
- this.name = 'label-80';
10
- this.descriptions = {
11
- ALT: 'Altitude',
12
- DWND: 'Wind Direction',
13
- ETA: 'Estimated Time of Arrival',
14
- FOB: 'Fuel on Board',
15
- FL: 'Flight Level',
16
- HDG: 'Heading',
17
- MCH: 'Aircraft Speed',
18
- NWYP: 'Next Waypoint',
19
- POS: 'Aircraft Position',
20
- SAT: 'Static Air Temperature',
21
- SWND: 'Window Speed',
22
- TAS: 'True Airspeed',
23
- WYP: 'Waypoint',
24
- };
25
- }
8
+ name = 'label-80';
9
+ descriptions = {
10
+ ALT: 'Altitude',
11
+ DWND: 'Wind Direction',
12
+ ETA: 'Estimated Time of Arrival',
13
+ FOB: 'Fuel on Board',
14
+ FL: 'Flight Level',
15
+ HDG: 'Heading',
16
+ MCH: 'Aircraft Speed',
17
+ NWYP: 'Next Waypoint',
18
+ POS: 'Aircraft Position',
19
+ SAT: 'Static Air Temperature',
20
+ SWND: 'Window Speed',
21
+ TAS: 'True Airspeed',
22
+ WYP: 'Waypoint',
23
+ };
26
24
  qualifiers() {
27
25
  return {
28
26
  labels: ['80'],
@@ -1,12 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Label_8E = void 0;
3
4
  const DecoderPlugin_1 = require("../DecoderPlugin");
4
5
  // ETA
5
6
  class Label_8E extends DecoderPlugin_1.DecoderPlugin {
6
- constructor() {
7
- super(...arguments);
8
- this.name = 'label-8E';
9
- }
7
+ name = 'label-8e';
10
8
  qualifiers() {
11
9
  return {
12
10
  labels: ["8E"],
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const MessageDecoder_1 = require("../MessageDecoder");
4
+ const Label_8E_1 = require("./Label_8E");
5
+ test('decodes Label 8E sample 1', () => {
6
+ const decoder = new MessageDecoder_1.MessageDecoder();
7
+ const decoderPlugin = new Label_8E_1.Label_8E(decoder);
8
+ expect(decoderPlugin.decode).toBeDefined();
9
+ expect(decoderPlugin.name).toBe('label-8e');
10
+ expect(decoderPlugin.qualifiers).toBeDefined();
11
+ expect(decoderPlugin.qualifiers()).toEqual({
12
+ labels: ['8E'],
13
+ });
14
+ const decodeResult = decoderPlugin.decode({ text: 'EGSS,1618' });
15
+ console.log(JSON.stringify(decodeResult, null, 2));
16
+ expect(decodeResult.decoded).toBe(true);
17
+ expect(decodeResult.decoder.name).toBe('label-8e');
18
+ expect(decodeResult.formatted.description).toBe('ETA Report');
19
+ expect(decodeResult.message.text).toBe('EGSS,1618');
20
+ expect(decodeResult.raw.arrival_eta.getUTCHours()).toBe(16);
21
+ expect(decodeResult.raw.arrival_eta.getUTCMinutes()).toBe(18);
22
+ expect(decodeResult.raw.arrival_icao).toBe('EGSS');
23
+ expect(decodeResult.formatted.items.length).toBe(2);
24
+ expect(decodeResult.formatted.items[0].type).toBe('eta');
25
+ expect(decodeResult.formatted.items[0].code).toBe('ETA');
26
+ expect(decodeResult.formatted.items[0].label).toBe('Estimated Time of Arrival');
27
+ expect(decodeResult.formatted.items[0].value.includes('16:18')).toBe(true);
28
+ expect(decodeResult.formatted.items[1].type).toBe('destination');
29
+ expect(decodeResult.formatted.items[1].code).toBe('DST');
30
+ expect(decodeResult.formatted.items[1].label).toBe('Destination');
31
+ expect(decodeResult.formatted.items[1].value).toBe('EGSS');
32
+ });
@@ -1,12 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Label_B6_Forwardslash = void 0;
3
4
  const DecoderPlugin_1 = require("../DecoderPlugin");
4
5
  // CPDLC
5
6
  class Label_B6_Forwardslash extends DecoderPlugin_1.DecoderPlugin {
6
- constructor() {
7
- super(...arguments);
8
- this.name = 'label-b6-forwardslash';
9
- }
7
+ name = 'label-b6-forwardslash';
10
8
  qualifiers() {
11
9
  return {
12
10
  labels: ['B6'],
@@ -1,11 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Label_ColonComma = void 0;
3
4
  const DecoderPlugin_1 = require("../DecoderPlugin");
4
5
  class Label_ColonComma extends DecoderPlugin_1.DecoderPlugin {
5
- constructor() {
6
- super(...arguments);
7
- this.name = 'label-colon-comma';
8
- }
6
+ name = 'label-colon-comma';
9
7
  qualifiers() {
10
8
  return {
11
9
  labels: [':;'],
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Label_H1 = void 0;
3
4
  const DecoderPlugin_1 = require("../DecoderPlugin");
4
5
  class Label_H1 extends DecoderPlugin_1.DecoderPlugin {
5
6
  qualifiers() {
@@ -1,11 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Label_H1_M1BPOS = void 0;
3
4
  const DecoderPlugin_1 = require("../DecoderPlugin");
4
5
  class Label_H1_M1BPOS extends DecoderPlugin_1.DecoderPlugin {
5
- constructor() {
6
- super(...arguments);
7
- this.name = 'label-h1-m1bpos';
8
- }
6
+ name = 'label-h1-m1bpos';
9
7
  qualifiers() {
10
8
  return {
11
9
  labels: ['H1'],
@@ -1,11 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Label_H1_M1BPRG = void 0;
3
4
  const DecoderPlugin_1 = require("../DecoderPlugin");
4
5
  class Label_H1_M1BPRG extends DecoderPlugin_1.DecoderPlugin {
5
- constructor() {
6
- super(...arguments);
7
- this.name = 'label-h1-m1bprg';
8
- }
6
+ name = 'label-h1-m1bprg';
9
7
  qualifiers() {
10
8
  return {
11
9
  labels: ['H1'],
@@ -1,11 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Label_QP = void 0;
3
4
  const DecoderPlugin_1 = require("../DecoderPlugin");
4
5
  class Label_QP extends DecoderPlugin_1.DecoderPlugin {
5
- constructor() {
6
- super(...arguments);
7
- this.name = 'label-qp';
8
- }
6
+ name = 'label-qp';
9
7
  qualifiers() {
10
8
  return {
11
9
  labels: ['QP'],
@@ -1,11 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Label_QQ = void 0;
3
4
  const DecoderPlugin_1 = require("../DecoderPlugin");
4
5
  class Label_QQ extends DecoderPlugin_1.DecoderPlugin {
5
- constructor() {
6
- super(...arguments);
7
- this.name = 'label-qq';
8
- }
6
+ name = 'label-qq';
9
7
  qualifiers() {
10
8
  return {
11
9
  labels: ['QQ'],
@@ -1,11 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Label_QR = void 0;
3
4
  const DecoderPlugin_1 = require("../DecoderPlugin");
4
5
  class Label_QR extends DecoderPlugin_1.DecoderPlugin {
5
- constructor() {
6
- super(...arguments);
7
- this.name = 'label-qr';
8
- }
6
+ name = 'label-qr';
9
7
  qualifiers() {
10
8
  return {
11
9
  labels: ['QR'],
@@ -1,11 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Label_QS = void 0;
3
4
  const DecoderPlugin_1 = require("../DecoderPlugin");
4
5
  class Label_QS extends DecoderPlugin_1.DecoderPlugin {
5
- constructor() {
6
- super(...arguments);
7
- this.name = 'label-qs';
8
- }
6
+ name = 'label-qs';
9
7
  qualifiers() {
10
8
  return {
11
9
  labels: ['QS'],
@@ -1,11 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Label_SQ = void 0;
3
4
  const DecoderPlugin_1 = require("../DecoderPlugin");
4
5
  class Label_SQ extends DecoderPlugin_1.DecoderPlugin {
5
- constructor() {
6
- super(...arguments);
7
- this.name = 'label-sq';
8
- }
6
+ name = 'label-sq';
9
7
  qualifiers() {
10
8
  return {
11
9
  labels: ['SQ'],
@@ -12,6 +12,7 @@ export * from './Label_B6';
12
12
  export * from './Label_ColonComma';
13
13
  export * from './Label_H1_M1BPOS';
14
14
  export * from './Label_H1_M1BPRG';
15
+ export * from './Label_1M_Slash';
15
16
  export * from './Label_SQ';
16
17
  export * from './Label_QR';
17
18
  export * from './Label_QP';