scheduler-node-models 1.2.122 → 1.2.124
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.
- package/config/index.js +1 -0
- package/config/index.js.map +1 -0
- package/config/logPosting.js +1 -0
- package/config/logPosting.js.map +1 -0
- package/config/logging.js +1 -2
- package/config/logging.js.map +1 -0
- package/config/mongoconnect.js +1 -1
- package/config/mongoconnect.js.map +1 -0
- package/config/sqldb.js +2 -34
- package/config/sqldb.js.map +1 -0
- package/general/emailer.js +3 -5
- package/general/emailer.js.map +1 -0
- package/general/general.d.ts +0 -3
- package/general/general.js +1 -0
- package/general/general.js.map +1 -0
- package/general/index.js +1 -0
- package/general/index.js.map +1 -0
- package/general/logger.js +2 -34
- package/general/logger.js.map +1 -0
- package/general/logs.d.ts +0 -30
- package/general/logs.js +1 -24
- package/general/logs.js.map +1 -0
- package/general/notices.d.ts +0 -15
- package/general/notices.js +1 -11
- package/general/notices.js.map +1 -0
- package/general/report.js +1 -0
- package/general/report.js.map +1 -0
- package/general/viewstate.js +1 -0
- package/general/viewstate.js.map +1 -0
- package/index.js +1 -1
- package/index.js.map +1 -0
- package/metrics/images.d.ts +0 -6
- package/metrics/images.js +1 -3
- package/metrics/images.js.map +1 -0
- package/metrics/index.js +1 -0
- package/metrics/index.js.map +1 -0
- package/metrics/mission.d.ts +0 -6
- package/metrics/mission.js +1 -3
- package/metrics/mission.js.map +1 -0
- package/metrics/missionSensorOutage.js +1 -0
- package/metrics/missionSensorOutage.js.map +1 -0
- package/metrics/missionsensor.d.ts +0 -22
- package/metrics/missionsensor.js +1 -19
- package/metrics/missionsensor.js.map +1 -0
- package/metrics/outage.d.ts +0 -8
- package/metrics/outage.js +1 -5
- package/metrics/outage.js.map +1 -0
- package/metrics/systemdata/classifications.d.ts +0 -6
- package/metrics/systemdata/classifications.js +1 -3
- package/metrics/systemdata/classifications.js.map +1 -0
- package/metrics/systemdata/communications.d.ts +0 -6
- package/metrics/systemdata/communications.js +1 -3
- package/metrics/systemdata/communications.js.map +1 -0
- package/metrics/systemdata/dcgs.d.ts +0 -7
- package/metrics/systemdata/dcgs.js +1 -3
- package/metrics/systemdata/dcgs.js.map +1 -0
- package/metrics/systemdata/exploitations.d.ts +0 -6
- package/metrics/systemdata/exploitations.js +1 -3
- package/metrics/systemdata/exploitations.js.map +1 -0
- package/metrics/systemdata/groundSystems.d.ts +0 -46
- package/metrics/systemdata/groundSystems.js +1 -39
- package/metrics/systemdata/groundSystems.js.map +1 -0
- package/metrics/systemdata/index.js +1 -0
- package/metrics/systemdata/index.js.map +1 -0
- package/metrics/systemdata/platform.d.ts +0 -49
- package/metrics/systemdata/platform.js +1 -37
- package/metrics/systemdata/platform.js.map +1 -0
- package/metrics/systemdata/systeminfo.d.ts +0 -5
- package/metrics/systemdata/systeminfo.js +1 -0
- package/metrics/systemdata/systeminfo.js.map +1 -0
- package/package.json +1 -1
- package/scheduler/employees/assignment.d.ts +2 -103
- package/scheduler/employees/assignment.js +1 -102
- package/scheduler/employees/assignment.js.map +1 -0
- package/scheduler/employees/balance.d.ts +0 -23
- package/scheduler/employees/balance.js +1 -19
- package/scheduler/employees/balance.js.map +1 -0
- package/scheduler/employees/companyinfo.d.ts +0 -7
- package/scheduler/employees/companyinfo.js +1 -4
- package/scheduler/employees/companyinfo.js.map +1 -0
- package/scheduler/employees/contact.d.ts +0 -22
- package/scheduler/employees/contact.js +1 -18
- package/scheduler/employees/contact.js.map +1 -0
- package/scheduler/employees/employee.d.ts +0 -363
- package/scheduler/employees/employee.js +1 -418
- package/scheduler/employees/employee.js.map +1 -0
- package/scheduler/employees/employeename.d.ts +0 -31
- package/scheduler/employees/employeename.js +1 -28
- package/scheduler/employees/employeename.js.map +1 -0
- package/scheduler/employees/index.js +1 -0
- package/scheduler/employees/index.js.map +1 -0
- package/scheduler/employees/labor.d.ts +0 -21
- package/scheduler/employees/labor.js +1 -18
- package/scheduler/employees/labor.js.map +1 -0
- package/scheduler/employees/leave.d.ts +0 -35
- package/scheduler/employees/leave.js +1 -32
- package/scheduler/employees/leave.js.map +1 -0
- package/scheduler/employees/leaverequest.d.ts +0 -62
- package/scheduler/employees/leaverequest.js +1 -52
- package/scheduler/employees/leaverequest.js.map +1 -0
- package/scheduler/employees/specialty.d.ts +0 -21
- package/scheduler/employees/specialty.js +1 -18
- package/scheduler/employees/specialty.js.map +1 -0
- package/scheduler/employees/variation.d.ts +0 -61
- package/scheduler/employees/variation.js +1 -57
- package/scheduler/employees/variation.js.map +1 -0
- package/scheduler/employees/web.js +1 -0
- package/scheduler/employees/web.js.map +1 -0
- package/scheduler/employees/work.d.ts +0 -58
- package/scheduler/employees/work.js +1 -46
- package/scheduler/employees/work.js.map +1 -0
- package/scheduler/employees/workday.d.ts +0 -61
- package/scheduler/employees/workday.js +1 -51
- package/scheduler/employees/workday.js.map +1 -0
- package/scheduler/ingest/excelRow.d.ts +0 -14
- package/scheduler/ingest/excelRow.js +1 -4
- package/scheduler/ingest/excelRow.js.map +1 -0
- package/scheduler/ingest/excelRowIngest.d.ts +0 -7
- package/scheduler/ingest/excelRowIngest.js +1 -17
- package/scheduler/ingest/excelRowIngest.js.map +1 -0
- package/scheduler/ingest/index.js +1 -0
- package/scheduler/ingest/index.js.map +1 -0
- package/scheduler/ingest/sapIngest.js +1 -9
- package/scheduler/ingest/sapIngest.js.map +1 -0
- package/scheduler/ingest/web.js +1 -0
- package/scheduler/ingest/web.js.map +1 -0
- package/scheduler/labor/index.js +1 -0
- package/scheduler/labor/index.js.map +1 -0
- package/scheduler/labor/laborcode.js +1 -0
- package/scheduler/labor/laborcode.js.map +1 -0
- package/scheduler/labor/workcode.js +1 -0
- package/scheduler/labor/workcode.js.map +1 -0
- package/scheduler/sites/index.js +1 -0
- package/scheduler/sites/index.js.map +1 -0
- package/scheduler/sites/reports/cofsReport.d.ts +0 -16
- package/scheduler/sites/reports/cofsReport.js +1 -19
- package/scheduler/sites/reports/cofsReport.js.map +1 -0
- package/scheduler/sites/reports/forecast.d.ts +0 -28
- package/scheduler/sites/reports/forecast.js +1 -37
- package/scheduler/sites/reports/forecast.js.map +1 -0
- package/scheduler/sites/reports/index.js +1 -0
- package/scheduler/sites/reports/index.js.map +1 -0
- package/scheduler/sites/reports/period.js +1 -0
- package/scheduler/sites/reports/period.js.map +1 -0
- package/scheduler/sites/reports/section.d.ts +0 -35
- package/scheduler/sites/reports/section.js +1 -34
- package/scheduler/sites/reports/section.js.map +1 -0
- package/scheduler/sites/reports/web.js +1 -0
- package/scheduler/sites/reports/web.js.map +1 -0
- package/scheduler/sites/site.d.ts +0 -17
- package/scheduler/sites/site.js +1 -14
- package/scheduler/sites/site.js.map +1 -0
- package/scheduler/sites/web/index.js +1 -0
- package/scheduler/sites/web/index.js.map +1 -0
- package/scheduler/sites/web/requests.js +1 -0
- package/scheduler/sites/web/requests.js.map +1 -0
- package/scheduler/sites/workcenters/index.js +1 -0
- package/scheduler/sites/workcenters/index.js.map +1 -0
- package/scheduler/sites/workcenters/position.d.ts +0 -11
- package/scheduler/sites/workcenters/position.js +1 -8
- package/scheduler/sites/workcenters/position.js.map +1 -0
- package/scheduler/sites/workcenters/shift.d.ts +0 -11
- package/scheduler/sites/workcenters/shift.js +1 -8
- package/scheduler/sites/workcenters/shift.js.map +1 -0
- package/scheduler/sites/workcenters/workcenter.d.ts +0 -22
- package/scheduler/sites/workcenters/workcenter.js +1 -21
- package/scheduler/sites/workcenters/workcenter.js.map +1 -0
- package/scheduler/teams/company/company.d.ts +0 -66
- package/scheduler/teams/company/company.js +1 -61
- package/scheduler/teams/company/company.js.map +1 -0
- package/scheduler/teams/company/holiday.d.ts +0 -38
- package/scheduler/teams/company/holiday.js +1 -35
- package/scheduler/teams/company/holiday.js.map +1 -0
- package/scheduler/teams/company/index.js +1 -0
- package/scheduler/teams/company/index.js.map +1 -0
- package/scheduler/teams/company/modperiod.d.ts +0 -9
- package/scheduler/teams/company/modperiod.js +1 -4
- package/scheduler/teams/company/modperiod.js.map +1 -0
- package/scheduler/teams/contact.d.ts +0 -6
- package/scheduler/teams/contact.js +1 -3
- package/scheduler/teams/contact.js.map +1 -0
- package/scheduler/teams/index.js +1 -0
- package/scheduler/teams/index.js.map +1 -0
- package/scheduler/teams/specialty.d.ts +0 -6
- package/scheduler/teams/specialty.js +1 -3
- package/scheduler/teams/specialty.js.map +1 -0
- package/scheduler/teams/team.d.ts +0 -60
- package/scheduler/teams/team.js +1 -60
- package/scheduler/teams/team.js.map +1 -0
- package/scheduler/teams/web.js +1 -0
- package/scheduler/teams/web.js.map +1 -0
- package/scheduler/web/index.js +1 -0
- package/scheduler/web/index.js.map +1 -0
- package/scheduler/web/initial.js +1 -0
- package/scheduler/web/initial.js.map +1 -0
- package/users/index.js +1 -0
- package/users/index.js.map +1 -0
- package/users/permission.d.ts +0 -3
- package/users/permission.js +1 -0
- package/users/permission.js.map +1 -0
- package/users/question.d.ts +2 -17
- package/users/question.js +17 -13
- package/users/question.js.map +1 -0
- package/users/user.d.ts +5 -79
- package/users/user.js +51 -72
- package/users/user.js.map +1 -0
- package/users/web.d.ts +0 -25
- package/users/web.js +1 -0
- package/users/web.js.map +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"missionsensor.js","sourceRoot":"","sources":["../../src/metrics/missionsensor.ts"],"names":[],"mappings":";;;AAAA,qCAAiD;AACjD,+DAAkF;AAClF,6CAA4C;AA4B5C,MAAa,aAAa;IACjB,QAAQ,CAAS;IACjB,UAAU,CAAe;IACzB,gBAAgB,CAAS;IACzB,gBAAgB,CAAS;IACzB,eAAe,CAAS;IACxB,iBAAiB,CAAS;IAC1B,iBAAiB,CAAS;IAC1B,SAAS,CAAS;IAClB,SAAS,CAAS;IAClB,YAAY,CAAuB;IACnC,YAAY,CAAS;IACrB,MAAM,CAAU;IAChB,OAAO,CAAS;IAChB,MAAM,CAAS;IACf,QAAQ,CAAS;IACjB,SAAS,CAAwB;IACjC,MAAM,CAAe;IAE5B,YAAY,EAAkB;QAC5B,IA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AI,CAAC,SAAS,GAAG,EAAE,CAAC;gBACtB,CAAC;gBACD,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YAC5B,CAAC;QACH,CAAC;aAAM,CAAC;YACN,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC;YACf,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;gBACnB,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,EAAE;oBAC/B,IAAI,EAAE,CAAC,WAAW,EAAE,KAAK,IAAI,CAAC,WAAW,EAAE,EAAE,CAAC;wBAC5C,KAAK,GAAG,CAAC,CAAC;oBACZ,CAAC;gBACH,CAAC,CAAC,CAAC;gBACH,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;oBACf,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;gBAClC,CAAC;YACH,CAAC;QACH,CAAC;IACH,CAAC;CACF;AAxHD,sCAwHC"}
|
package/metrics/outage.d.ts
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { ObjectId } from "mongodb";
|
|
2
|
-
/**
|
|
3
|
-
* This interface defines the data members associated with a ground outage
|
|
4
|
-
*/
|
|
5
2
|
export interface IOutage {
|
|
6
3
|
_id?: ObjectId;
|
|
7
4
|
id?: string;
|
|
@@ -33,11 +30,6 @@ export declare class Outage implements IOutage {
|
|
|
33
30
|
missionOutage: boolean;
|
|
34
31
|
capability?: string;
|
|
35
32
|
constructor(outage?: IOutage);
|
|
36
|
-
/**
|
|
37
|
-
* This function is used in sorting outages by comparing the outage's dates and numbers.
|
|
38
|
-
* @param other Another outage object used for comparison
|
|
39
|
-
* @returns A numeric value for the relative position of this object to the other.
|
|
40
|
-
*/
|
|
41
33
|
compareTo(other?: Outage): number;
|
|
42
34
|
useOutage(start: Date, end: Date): boolean;
|
|
43
35
|
}
|
package/metrics/outage.js
CHANGED
|
@@ -33,11 +33,6 @@ class Outage {
|
|
|
33
33
|
this.missionOutage = (outage) ? outage.missionOutage : false;
|
|
34
34
|
this.capability = (outage && outage.capability) ? outage.capability : undefined;
|
|
35
35
|
}
|
|
36
|
-
/**
|
|
37
|
-
* This function is used in sorting outages by comparing the outage's dates and numbers.
|
|
38
|
-
* @param other Another outage object used for comparison
|
|
39
|
-
* @returns A numeric value for the relative position of this object to the other.
|
|
40
|
-
*/
|
|
41
36
|
compareTo(other) {
|
|
42
37
|
if (other) {
|
|
43
38
|
if (this.outageDate.getTime() === other.outageDate.getTime()) {
|
|
@@ -53,3 +48,4 @@ class Outage {
|
|
|
53
48
|
}
|
|
54
49
|
}
|
|
55
50
|
exports.Outage = Outage;
|
|
51
|
+
//# sourceMappingURL=outage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"outage.js","sourceRoot":"","sources":["../../src/metrics/outage.ts"],"names":[],"mappings":";;;AAsBA,MAAa,MAAM;IACV,EAAE,CAAS;IACX,UAAU,CAAO;IACjB,YAAY,CAAS;IACrB,cAAc,CAAS;IACvB,YAAY,CAAS;IACrB,aAAa,CAAS;IACtB,SAAS,CAAS;IAClB,WAAW,CAAS;IACpB,WAAW,CAAS;IACpB,OAAO,CAAS;IAChB,SAAS,CAAS;IAClB,aAAa,CAAU;IACvB,UAAU,CAAU;IAE3B,YAAY,MAAgB;QAC1B,IAAI,CAAC,EAAE,GAAG,CAAC,MAAM,IAAI,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QACjD,IAAI,IAAI,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC;YACnB,IAAI,CAAC,EAAE,GAAG,CAAC,MAAM,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAClE,CAAC;QACD,IAAI,CAAC,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AM,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,CAAC,MAAM,IAAI,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;IAClF,CAAC;IAOD,SAAS,CAAC,KAAc;QACtB,IAAI,KAAK,EAAE,CAAC;YACV,IAAI,IAAI,CAAC,UAAU,CAAC,OAAO,EAAE,KAAK,KAAK,CAAC,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC;gBAC7D,OAAO,CAAC,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YAC3D,CAAC;YACD,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,EAAE,GAAG,KAAK,CAAC,UAAU,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC3E,CAAC;QACD,OAAO,CAAC,CAAC,CAAC;IACZ,CAAC;IAED,SAAS,CAAC,KAAW,EAAE,GAAS;QAC9B,OAAO,CAAC,KAAK,CAAC,OAAO,EAAE,IAAI,IAAI,CAAC,UAAU,CAAC,OAAO,EAAE;eAC/C,GAAG,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,UAAU,CAAC,OAAO,EAAE,CAAC,CAAC;IAClD,CAAC;CACF;AArDD,wBAqDC"}
|
|
@@ -1,14 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This interface defines the data members of a classification object.
|
|
3
|
-
*/
|
|
4
1
|
export interface IClassification {
|
|
5
2
|
id: string;
|
|
6
3
|
title: string;
|
|
7
4
|
sortID: number;
|
|
8
5
|
}
|
|
9
|
-
/**
|
|
10
|
-
* This class defines the data members and actions for a classification object.
|
|
11
|
-
*/
|
|
12
6
|
export declare class Classification implements IClassification {
|
|
13
7
|
id: string;
|
|
14
8
|
title: string;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Classification = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* This class defines the data members and actions for a classification object.
|
|
6
|
-
*/
|
|
7
4
|
class Classification {
|
|
8
5
|
id;
|
|
9
6
|
title;
|
|
@@ -21,3 +18,4 @@ class Classification {
|
|
|
21
18
|
}
|
|
22
19
|
}
|
|
23
20
|
exports.Classification = Classification;
|
|
21
|
+
//# sourceMappingURL=classifications.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"classifications.js","sourceRoot":"","sources":["../../../src/metrics/systemdata/classifications.ts"],"names":[],"mappings":";;;AAYA,MAAa,cAAc;IAClB,EAAE,CAAS;IACX,KAAK,CAAS;IACd,MAAM,CAAS;IAEtB,YAAY,EAAoB;QAC9B,IAAI,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC5B,IAAI,CAAC,KAAK,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;QAClC,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IACrC,CAAC;IAED,SAAS,CAAC,KAAsB;QAC9B,IAAI,KAAK,EAAE,CAAC;YACV,OAAO,CAAC,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC/C,CAAC;QACD,OAAO,CAAC,CAAC,CAAC;IACZ,CAAC;CACF;AAjBD,wCAiBC"}
|
|
@@ -1,15 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This interface defines the data members for communications data.
|
|
3
|
-
*/
|
|
4
1
|
export interface ICommunication {
|
|
5
2
|
id: string;
|
|
6
3
|
explanation: string;
|
|
7
4
|
exploitations: string[];
|
|
8
5
|
sortID: number;
|
|
9
6
|
}
|
|
10
|
-
/**
|
|
11
|
-
* This class defines the data members plus actions for a communication object.
|
|
12
|
-
*/
|
|
13
7
|
export declare class Communication implements ICommunication {
|
|
14
8
|
id: string;
|
|
15
9
|
explanation: string;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Communication = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* This class defines the data members plus actions for a communication object.
|
|
6
|
-
*/
|
|
7
4
|
class Communication {
|
|
8
5
|
id;
|
|
9
6
|
explanation;
|
|
@@ -38,3 +35,4 @@ class Communication {
|
|
|
38
35
|
}
|
|
39
36
|
}
|
|
40
37
|
exports.Communication = Communication;
|
|
38
|
+
//# sourceMappingURL=communications.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"communications.js","sourceRoot":"","sources":["../../../src/metrics/systemdata/communications.ts"],"names":[],"mappings":";;;AAaA,MAAa,aAAa;IACjB,EAAE,CAAS;IACX,WAAW,CAAS;IACpB,aAAa,CAAW;IACxB,MAAM,CAAS;IAEtB,YAAY,IAAqB;QAC/B,IAAI,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAChC,IAAI,CAAC,WAAW,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC;QAClD,IAAI,CAAC,aAAa,GAAG,EAAE,CAAC;QACxB,IAAI,IAAI,EAAE,CAAC;YACT,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;gBAC/B,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YAC/B,CAAC,CAAC,CAAC;YACH,IAAI,CAAC,aAAa,CAAC,IAAI,EAAE,CAAC;QAC5B,CAAC;QACD,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IACzC,CAAC;IAED,SAAS,CAAC,KAAqB;QAC7B,IAAI,KAAK,EAAE,CAAC;YACV,OAAO,CAAC,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC/C,CAAC;QACD,OAAO,CAAC,CAAC,CAAC;IACZ,CAAC;IAED,eAAe,CAAC,GAAW;QACzB,IAAI,MAAM,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE;YACnC,IAAI,OAAO,CAAC,WAAW,EAAE,KAAK,GAAG,CAAC,WAAW,EAAE,EAAE,CAAC;gBAChD,MAAM,GAAG,IAAI,CAAC;YAChB,CAAC;QACH,CAAC,CAAC,CAAA;QACF,OAAO,MAAM,CAAC;IAChB,CAAC;CACF;AAnCD,sCAmCC"}
|
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This interface is used to list a Distributed Common Ground Station site and the
|
|
3
|
-
* types of exploitation done at that site.
|
|
4
|
-
*/
|
|
5
1
|
export interface IDCGS {
|
|
6
2
|
id: string;
|
|
7
3
|
exploitations?: string[];
|
|
8
4
|
sortID: number;
|
|
9
5
|
}
|
|
10
|
-
/**
|
|
11
|
-
* This class implements the DCGS interface plus actions
|
|
12
|
-
*/
|
|
13
6
|
export declare class DCGS implements IDCGS {
|
|
14
7
|
id: string;
|
|
15
8
|
exploitations?: string[] | undefined;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DCGS = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* This class implements the DCGS interface plus actions
|
|
6
|
-
*/
|
|
7
4
|
class DCGS {
|
|
8
5
|
id;
|
|
9
6
|
exploitations;
|
|
@@ -27,3 +24,4 @@ class DCGS {
|
|
|
27
24
|
}
|
|
28
25
|
}
|
|
29
26
|
exports.DCGS = DCGS;
|
|
27
|
+
//# sourceMappingURL=dcgs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dcgs.js","sourceRoot":"","sources":["../../../src/metrics/systemdata/dcgs.ts"],"names":[],"mappings":";;;AAaA,MAAa,IAAI;IACR,EAAE,CAAS;IACX,aAAa,CAAwB;IACrC,MAAM,CAAS;IAEtB,YAAY,CAAS;QACnB,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC1B,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;QACjC,IAAI,CAAC,IAAI,CAAC,CAAC,aAAa,EAAE,CAAC;YACzB,IAAI,CAAC,aAAa,GAAG,EAAE,CAAC;YACxB,CAAC,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE;gBAC3B,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC;YAC/B,CAAC,CAAC,CAAC;YACH,IAAI,CAAC,aAAa,CAAC,IAAI,EAAE,CAAC;QAC5B,CAAC;IACH,CAAC;IAED,SAAS,CAAC,KAAY;QACpB,IAAI,KAAK,EAAE,CAAC;YACV,OAAO,CAAC,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC/C,CAAC;QACD,OAAO,CAAC,CAAC,CAAC;IACZ,CAAC;CACF;AAvBD,oBAuBC"}
|
|
@@ -1,14 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This interface will be used to define a exploitation type by id and explanation.
|
|
3
|
-
*/
|
|
4
1
|
export interface IExploitation {
|
|
5
2
|
id: string;
|
|
6
3
|
explanation: string;
|
|
7
4
|
sortID: number;
|
|
8
5
|
}
|
|
9
|
-
/**
|
|
10
|
-
* This class implements the IExploitation interface plus actions
|
|
11
|
-
*/
|
|
12
6
|
export declare class Exploitation implements IExploitation {
|
|
13
7
|
id: string;
|
|
14
8
|
explanation: string;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Exploitation = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* This class implements the IExploitation interface plus actions
|
|
6
|
-
*/
|
|
7
4
|
class Exploitation {
|
|
8
5
|
id;
|
|
9
6
|
explanation;
|
|
@@ -21,3 +18,4 @@ class Exploitation {
|
|
|
21
18
|
}
|
|
22
19
|
}
|
|
23
20
|
exports.Exploitation = Exploitation;
|
|
21
|
+
//# sourceMappingURL=exploitations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exploitations.js","sourceRoot":"","sources":["../../../src/metrics/systemdata/exploitations.ts"],"names":[],"mappings":";;;AAYA,MAAa,YAAY;IAChB,EAAE,CAAS;IACX,WAAW,CAAS;IACpB,MAAM,CAAS;IAEtB,YAAY,EAAkB;QAC5B,IAAI,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC5B,IAAI,CAAC,WAAW,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC;QAC9C,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IACrC,CAAC;IAED,SAAS,CAAC,KAAoB;QAC5B,IAAI,KAAK,EAAE,CAAC;YACV,OAAO,CAAC,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC/C,CAAC;QACD,OAAO,CAAC,CAAC,CAAC;IACZ,CAAC;CACF;AAjBD,oCAiBC"}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This interface defines the data members associated with a ground system exploitation
|
|
3
|
-
* object.
|
|
4
|
-
*/
|
|
5
1
|
export interface IGroundSystemExploitation {
|
|
6
2
|
platformID: string;
|
|
7
3
|
sensorType: string;
|
|
@@ -9,10 +5,6 @@ export interface IGroundSystemExploitation {
|
|
|
9
5
|
communicationID: string;
|
|
10
6
|
enclaves?: string[];
|
|
11
7
|
}
|
|
12
|
-
/**
|
|
13
|
-
* This class implements the data members of the GroundSystemExploitation interface,
|
|
14
|
-
* plus functions to used the object.
|
|
15
|
-
*/
|
|
16
8
|
export declare class GroundSystemExploitation implements IGroundSystemExploitation {
|
|
17
9
|
platformID: string;
|
|
18
10
|
sensorType: string;
|
|
@@ -20,28 +12,9 @@ export declare class GroundSystemExploitation implements IGroundSystemExploitati
|
|
|
20
12
|
communicationID: string;
|
|
21
13
|
enclaves: string[];
|
|
22
14
|
constructor(gse?: IGroundSystemExploitation);
|
|
23
|
-
/**
|
|
24
|
-
* This function is used in sorting a list of Ground System Exploitation objects.
|
|
25
|
-
* @param other The ground system exploitation object for comparison
|
|
26
|
-
* @returns The numeric value to indicate this object's relative position compared to
|
|
27
|
-
* the other object.
|
|
28
|
-
*/
|
|
29
15
|
compareTo(other?: GroundSystemExploitation): number;
|
|
30
|
-
/**
|
|
31
|
-
* This function will indicate if this exploitation should be used based on the
|
|
32
|
-
* information provided.
|
|
33
|
-
* @param platform The string value for the platform
|
|
34
|
-
* @param sensor The string value for the sensor
|
|
35
|
-
* @param exploit The string value for the exploitation
|
|
36
|
-
* @param comm The string value for the communications
|
|
37
|
-
* @param enclave The string value for the enclave
|
|
38
|
-
* @returns boolean value to indicate whether all the conditions are present
|
|
39
|
-
*/
|
|
40
16
|
use(platform: string, sensor: string, exploit: string, comm: string, enclave: string): boolean;
|
|
41
17
|
}
|
|
42
|
-
/**
|
|
43
|
-
* This interface defines the data members of a ground system object
|
|
44
|
-
*/
|
|
45
18
|
export interface IGroundSystem {
|
|
46
19
|
id: string;
|
|
47
20
|
enclaves: string[];
|
|
@@ -52,10 +25,6 @@ export interface IGroundSystem {
|
|
|
52
25
|
checkForUse?: boolean;
|
|
53
26
|
exploitations: IGroundSystemExploitation[];
|
|
54
27
|
}
|
|
55
|
-
/**
|
|
56
|
-
* This class implements the data members for a ground system, plus all the action to
|
|
57
|
-
* use the object
|
|
58
|
-
*/
|
|
59
28
|
export declare class GroundSystem implements IGroundSystem {
|
|
60
29
|
id: string;
|
|
61
30
|
enclaves: string[];
|
|
@@ -66,21 +35,6 @@ export declare class GroundSystem implements IGroundSystem {
|
|
|
66
35
|
checkForUse: boolean;
|
|
67
36
|
exploitations: GroundSystemExploitation[];
|
|
68
37
|
constructor(gs?: IGroundSystem);
|
|
69
|
-
/**
|
|
70
|
-
* This function will be used when sorting a list of ground system objects.
|
|
71
|
-
* @param other The ground system object used for comparison
|
|
72
|
-
* @returns a numeric value for whether this object is before or after the other.
|
|
73
|
-
*/
|
|
74
38
|
compareTo(other?: GroundSystem): number;
|
|
75
|
-
/**
|
|
76
|
-
* This function will indicate if this exploitation should be used based on the
|
|
77
|
-
* information provided.
|
|
78
|
-
* @param platform The string value for the platform
|
|
79
|
-
* @param sensor The string value for the sensor
|
|
80
|
-
* @param exploit The string value for the exploitation
|
|
81
|
-
* @param comm The string value for the communications
|
|
82
|
-
* @param enclave The string value for the enclave
|
|
83
|
-
* @returns boolean value to indicate whether all the conditions are present
|
|
84
|
-
*/
|
|
85
39
|
useSensor(platform: string, sensor: string, exploit: string, comm: string, enclave: string): boolean;
|
|
86
40
|
}
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GroundSystem = exports.GroundSystemExploitation = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* This class implements the data members of the GroundSystemExploitation interface,
|
|
6
|
-
* plus functions to used the object.
|
|
7
|
-
*/
|
|
8
4
|
class GroundSystemExploitation {
|
|
9
5
|
platformID;
|
|
10
6
|
sensorType;
|
|
@@ -23,12 +19,6 @@ class GroundSystemExploitation {
|
|
|
23
19
|
});
|
|
24
20
|
}
|
|
25
21
|
}
|
|
26
|
-
/**
|
|
27
|
-
* This function is used in sorting a list of Ground System Exploitation objects.
|
|
28
|
-
* @param other The ground system exploitation object for comparison
|
|
29
|
-
* @returns The numeric value to indicate this object's relative position compared to
|
|
30
|
-
* the other object.
|
|
31
|
-
*/
|
|
32
22
|
compareTo(other) {
|
|
33
23
|
if (other) {
|
|
34
24
|
if (this.platformID === other.platformID) {
|
|
@@ -44,16 +34,6 @@ class GroundSystemExploitation {
|
|
|
44
34
|
}
|
|
45
35
|
return -1;
|
|
46
36
|
}
|
|
47
|
-
/**
|
|
48
|
-
* This function will indicate if this exploitation should be used based on the
|
|
49
|
-
* information provided.
|
|
50
|
-
* @param platform The string value for the platform
|
|
51
|
-
* @param sensor The string value for the sensor
|
|
52
|
-
* @param exploit The string value for the exploitation
|
|
53
|
-
* @param comm The string value for the communications
|
|
54
|
-
* @param enclave The string value for the enclave
|
|
55
|
-
* @returns boolean value to indicate whether all the conditions are present
|
|
56
|
-
*/
|
|
57
37
|
use(platform, sensor, exploit, comm, enclave) {
|
|
58
38
|
let answer = false;
|
|
59
39
|
if (platform.toLowerCase() === this.platformID.toLowerCase()
|
|
@@ -74,10 +54,6 @@ class GroundSystemExploitation {
|
|
|
74
54
|
}
|
|
75
55
|
}
|
|
76
56
|
exports.GroundSystemExploitation = GroundSystemExploitation;
|
|
77
|
-
/**
|
|
78
|
-
* This class implements the data members for a ground system, plus all the action to
|
|
79
|
-
* use the object
|
|
80
|
-
*/
|
|
81
57
|
class GroundSystem {
|
|
82
58
|
id;
|
|
83
59
|
enclaves;
|
|
@@ -107,27 +83,12 @@ class GroundSystem {
|
|
|
107
83
|
});
|
|
108
84
|
}
|
|
109
85
|
}
|
|
110
|
-
/**
|
|
111
|
-
* This function will be used when sorting a list of ground system objects.
|
|
112
|
-
* @param other The ground system object used for comparison
|
|
113
|
-
* @returns a numeric value for whether this object is before or after the other.
|
|
114
|
-
*/
|
|
115
86
|
compareTo(other) {
|
|
116
87
|
if (other) {
|
|
117
88
|
return (this.id < other.id) ? -1 : 1;
|
|
118
89
|
}
|
|
119
90
|
return -1;
|
|
120
91
|
}
|
|
121
|
-
/**
|
|
122
|
-
* This function will indicate if this exploitation should be used based on the
|
|
123
|
-
* information provided.
|
|
124
|
-
* @param platform The string value for the platform
|
|
125
|
-
* @param sensor The string value for the sensor
|
|
126
|
-
* @param exploit The string value for the exploitation
|
|
127
|
-
* @param comm The string value for the communications
|
|
128
|
-
* @param enclave The string value for the enclave
|
|
129
|
-
* @returns boolean value to indicate whether all the conditions are present
|
|
130
|
-
*/
|
|
131
92
|
useSensor(platform, sensor, exploit, comm, enclave) {
|
|
132
93
|
if (this.exploitations.length === 0)
|
|
133
94
|
return true;
|
|
@@ -141,3 +102,4 @@ class GroundSystem {
|
|
|
141
102
|
}
|
|
142
103
|
}
|
|
143
104
|
exports.GroundSystem = GroundSystem;
|
|
105
|
+
//# sourceMappingURL=groundSystems.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"groundSystems.js","sourceRoot":"","sources":["../../../src/metrics/systemdata/groundSystems.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;;;;AAAA,oDAAkC;AAClC,mDAAiC;AACjC,yCAAuB;AACvB,kDAAgC;AAChC,kDAAgC;AAChC,6CAA2B;AAC3B,+CAA6B"}
|
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
import { IImageType, ImageType } from "../images";
|
|
2
|
-
/**
|
|
3
|
-
* This interface will defined the data members of a sensor's standard times
|
|
4
|
-
*/
|
|
5
2
|
export interface ISensorTimes {
|
|
6
3
|
preflightMinutes: number;
|
|
7
4
|
scheduledMinutes: number;
|
|
8
5
|
postflightMinutes: number;
|
|
9
6
|
executedMinutes?: number;
|
|
10
7
|
}
|
|
11
|
-
/**
|
|
12
|
-
* This class defines the created object for sensor's standard times
|
|
13
|
-
*/
|
|
14
8
|
export declare class SensorTimes implements ISensorTimes {
|
|
15
9
|
preflightMinutes: number;
|
|
16
10
|
scheduledMinutes: number;
|
|
@@ -18,9 +12,6 @@ export declare class SensorTimes implements ISensorTimes {
|
|
|
18
12
|
executedMinutes?: number;
|
|
19
13
|
constructor(st?: ISensorTimes);
|
|
20
14
|
}
|
|
21
|
-
/**
|
|
22
|
-
* This interface defines the data members for a sensor's exploitation record.
|
|
23
|
-
*/
|
|
24
15
|
export interface ISensorExploitation {
|
|
25
16
|
exploitation: string;
|
|
26
17
|
showOnGEOINT: boolean;
|
|
@@ -29,9 +20,6 @@ export interface ISensorExploitation {
|
|
|
29
20
|
showOnXINT: boolean;
|
|
30
21
|
standardTimes: ISensorTimes;
|
|
31
22
|
}
|
|
32
|
-
/**
|
|
33
|
-
* This class defines the data members plus actions for a sensor's exploitation.
|
|
34
|
-
*/
|
|
35
23
|
export declare class SensorExploitation {
|
|
36
24
|
exploitation: string;
|
|
37
25
|
showOnGEOINT: boolean;
|
|
@@ -51,9 +39,6 @@ export declare enum GeneralTypes {
|
|
|
51
39
|
OTHER = 99,
|
|
52
40
|
ALL = 9999
|
|
53
41
|
}
|
|
54
|
-
/**
|
|
55
|
-
* This interface defines the data members for a platform's sensor
|
|
56
|
-
*/
|
|
57
42
|
export interface IPlatformSensor {
|
|
58
43
|
id: string;
|
|
59
44
|
association: string;
|
|
@@ -63,9 +48,6 @@ export interface IPlatformSensor {
|
|
|
63
48
|
exploitations?: ISensorExploitation[];
|
|
64
49
|
imageTypes?: IImageType[];
|
|
65
50
|
}
|
|
66
|
-
/**
|
|
67
|
-
* This class defines the data members and actions associated with a platform's sensor
|
|
68
|
-
*/
|
|
69
51
|
export declare class PlatformSensor {
|
|
70
52
|
id: string;
|
|
71
53
|
association: string;
|
|
@@ -75,50 +57,19 @@ export declare class PlatformSensor {
|
|
|
75
57
|
exploitations?: SensorExploitation[];
|
|
76
58
|
imageTypes?: ImageType[];
|
|
77
59
|
constructor(ps?: IPlatformSensor);
|
|
78
|
-
/**
|
|
79
|
-
* This function will be used to sort this object as compared to another.
|
|
80
|
-
* @param other A Platform Sensor object to compare with
|
|
81
|
-
* @returns A numeric value to show whether this object is before or after the other.
|
|
82
|
-
*/
|
|
83
60
|
compareTo(other?: PlatformSensor): number;
|
|
84
|
-
/**
|
|
85
|
-
* This method is used to determine if this object meets the requirement for use, based
|
|
86
|
-
* on the exploitation and general type.
|
|
87
|
-
* @param exploit The string value for the exploitation.
|
|
88
|
-
* @param rpt The general type value for the sensor type for use.
|
|
89
|
-
* @returns A boolean value to indicate whether or not it should be used.
|
|
90
|
-
*/
|
|
91
61
|
use(exploit: string, rpt: GeneralTypes): boolean;
|
|
92
62
|
}
|
|
93
|
-
/**
|
|
94
|
-
* This interface defines the data members of a platform object.
|
|
95
|
-
*/
|
|
96
63
|
export interface IPlatform {
|
|
97
64
|
id: string;
|
|
98
65
|
sensors: IPlatformSensor[];
|
|
99
66
|
sortID: number;
|
|
100
67
|
}
|
|
101
|
-
/**
|
|
102
|
-
* This class defines the data members plus actions for a platform object
|
|
103
|
-
*/
|
|
104
68
|
export declare class Platform implements IPlatform {
|
|
105
69
|
id: string;
|
|
106
70
|
sensors: PlatformSensor[];
|
|
107
71
|
sortID: number;
|
|
108
72
|
constructor(pl: IPlatform);
|
|
109
|
-
/**
|
|
110
|
-
* This function will be used in sorting this platform from other platforms
|
|
111
|
-
* @param other The platform object to be used in comparison.
|
|
112
|
-
* @returns A numeric value to indicate whether this object should be placed before the
|
|
113
|
-
* other.
|
|
114
|
-
*/
|
|
115
73
|
compareTo(other?: Platform): number;
|
|
116
|
-
/**
|
|
117
|
-
* This method is used to determine if this object meets the requirement for use, based
|
|
118
|
-
* on the exploitation and general type.
|
|
119
|
-
* @param exploit The string value for the exploitation.
|
|
120
|
-
* @param rpt The general type value for the sensor type for use.
|
|
121
|
-
* @returns A boolean value to indicate whether or not it should be used.
|
|
122
|
-
*/
|
|
123
74
|
use(exploit: string, rpt: GeneralTypes): boolean;
|
|
124
75
|
}
|
|
@@ -2,9 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Platform = exports.PlatformSensor = exports.GeneralTypes = exports.SensorExploitation = exports.SensorTimes = void 0;
|
|
4
4
|
const images_1 = require("../images");
|
|
5
|
-
/**
|
|
6
|
-
* This class defines the created object for sensor's standard times
|
|
7
|
-
*/
|
|
8
5
|
class SensorTimes {
|
|
9
6
|
preflightMinutes;
|
|
10
7
|
scheduledMinutes;
|
|
@@ -18,9 +15,6 @@ class SensorTimes {
|
|
|
18
15
|
}
|
|
19
16
|
}
|
|
20
17
|
exports.SensorTimes = SensorTimes;
|
|
21
|
-
/**
|
|
22
|
-
* This class defines the data members plus actions for a sensor's exploitation.
|
|
23
|
-
*/
|
|
24
18
|
class SensorExploitation {
|
|
25
19
|
exploitation;
|
|
26
20
|
showOnGEOINT;
|
|
@@ -54,9 +48,6 @@ var GeneralTypes;
|
|
|
54
48
|
GeneralTypes[GeneralTypes["OTHER"] = 99] = "OTHER";
|
|
55
49
|
GeneralTypes[GeneralTypes["ALL"] = 9999] = "ALL";
|
|
56
50
|
})(GeneralTypes || (exports.GeneralTypes = GeneralTypes = {}));
|
|
57
|
-
/**
|
|
58
|
-
* This class defines the data members and actions associated with a platform's sensor
|
|
59
|
-
*/
|
|
60
51
|
class PlatformSensor {
|
|
61
52
|
id;
|
|
62
53
|
association;
|
|
@@ -85,24 +76,12 @@ class PlatformSensor {
|
|
|
85
76
|
});
|
|
86
77
|
}
|
|
87
78
|
}
|
|
88
|
-
/**
|
|
89
|
-
* This function will be used to sort this object as compared to another.
|
|
90
|
-
* @param other A Platform Sensor object to compare with
|
|
91
|
-
* @returns A numeric value to show whether this object is before or after the other.
|
|
92
|
-
*/
|
|
93
79
|
compareTo(other) {
|
|
94
80
|
if (other) {
|
|
95
81
|
return (this.sortID < other.sortID) ? -1 : 1;
|
|
96
82
|
}
|
|
97
83
|
return -1;
|
|
98
84
|
}
|
|
99
|
-
/**
|
|
100
|
-
* This method is used to determine if this object meets the requirement for use, based
|
|
101
|
-
* on the exploitation and general type.
|
|
102
|
-
* @param exploit The string value for the exploitation.
|
|
103
|
-
* @param rpt The general type value for the sensor type for use.
|
|
104
|
-
* @returns A boolean value to indicate whether or not it should be used.
|
|
105
|
-
*/
|
|
106
85
|
use(exploit, rpt) {
|
|
107
86
|
let answer = false;
|
|
108
87
|
if (rpt <= 0 || rpt > GeneralTypes.SYERS) {
|
|
@@ -123,9 +102,6 @@ class PlatformSensor {
|
|
|
123
102
|
}
|
|
124
103
|
}
|
|
125
104
|
exports.PlatformSensor = PlatformSensor;
|
|
126
|
-
/**
|
|
127
|
-
* This class defines the data members plus actions for a platform object
|
|
128
|
-
*/
|
|
129
105
|
class Platform {
|
|
130
106
|
id;
|
|
131
107
|
sensors;
|
|
@@ -141,25 +117,12 @@ class Platform {
|
|
|
141
117
|
}
|
|
142
118
|
this.sortID = (pl) ? pl.sortID : 0;
|
|
143
119
|
}
|
|
144
|
-
/**
|
|
145
|
-
* This function will be used in sorting this platform from other platforms
|
|
146
|
-
* @param other The platform object to be used in comparison.
|
|
147
|
-
* @returns A numeric value to indicate whether this object should be placed before the
|
|
148
|
-
* other.
|
|
149
|
-
*/
|
|
150
120
|
compareTo(other) {
|
|
151
121
|
if (other) {
|
|
152
122
|
return (this.sortID < other.sortID) ? -1 : 1;
|
|
153
123
|
}
|
|
154
124
|
return -1;
|
|
155
125
|
}
|
|
156
|
-
/**
|
|
157
|
-
* This method is used to determine if this object meets the requirement for use, based
|
|
158
|
-
* on the exploitation and general type.
|
|
159
|
-
* @param exploit The string value for the exploitation.
|
|
160
|
-
* @param rpt The general type value for the sensor type for use.
|
|
161
|
-
* @returns A boolean value to indicate whether or not it should be used.
|
|
162
|
-
*/
|
|
163
126
|
use(exploit, rpt) {
|
|
164
127
|
if (rpt < GeneralTypes.GEOINT || rpt > GeneralTypes.SYERS) {
|
|
165
128
|
rpt = GeneralTypes.ALL;
|
|
@@ -174,3 +137,4 @@ class Platform {
|
|
|
174
137
|
}
|
|
175
138
|
}
|
|
176
139
|
exports.Platform = Platform;
|
|
140
|
+
//# sourceMappingURL=platform.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform.js","sourceRoot":"","sources":["../../../src/metrics/systemdata/platform.ts"],"names":[],"mappings":";;;AAAA,sCAAkD;AAelD,MAAa,WAAW;IACf,gBAAgB,CAAS;IACzB,gBAAgB,CAAS;IACzB,iBAAiB,CAAS;IAC1B,eAAe,CAAU;IAEhC,YAAY,EAAiB;QAC3B,IAAI,CAAC,iBAAiB,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC;QACzD,IAAI,CAAC,gBAAgB,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;QACvD,IAAI,CAAC,gBAAgB,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;QACvD,IAAI,CAAC,eAAe,GAAG,CAAC,EAAE,IAAI,EAAE,CAA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AM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC/C,CAAC;QACD,OAAO,CAAC,CAAC,CAAC;IACZ,CAAC;IASD,GAAG,CAAC,OAAe,EAAE,GAAiB;QACpC,IAAI,GAAG,GAAG,YAAY,CAAC,MAAM,IAAI,GAAG,GAAG,YAAY,CAAC,KAAK,EAAE,CAAC;YAC1D,GAAG,GAAG,YAAY,CAAC,GAAG,CAAC;QACzB,CAAC;QACD,IAAI,MAAM,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YACzB,IAAI,GAAG,CAAC,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,EAAE,CAAC;gBAC1B,MAAM,GAAG,IAAI,CAAC;YAChB,CAAC;QACH,CAAC,CAAC,CAAC;QACH,OAAO,MAAM,CAAC;IAChB,CAAC;CACF;AAjDD,4BAiDC"}
|
|
@@ -4,11 +4,6 @@ import { DCGS, IDCGS } from "./dcgs";
|
|
|
4
4
|
import { Exploitation, IExploitation } from "./exploitations";
|
|
5
5
|
import { GroundSystem, IGroundSystem } from "./groundSystems";
|
|
6
6
|
import { IPlatform, Platform } from "./platform";
|
|
7
|
-
/**
|
|
8
|
-
* This interface will define the data members for the overall system data obtained from
|
|
9
|
-
* a json document on the server. A class inplementation will also be included to allow
|
|
10
|
-
* all the data to be compiled, sorted and sent to the client.
|
|
11
|
-
*/
|
|
12
7
|
export interface ISystemInfo {
|
|
13
8
|
classifications?: IClassification[];
|
|
14
9
|
communications?: ICommunication[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"systeminfo.js","sourceRoot":"","sources":["../../../src/metrics/systemdata/systeminfo.ts"],"names":[],"mappings":";;;AAAA,uDAAoE;AACpE,qDAAiE;AACjE,iCAAqC;AACrC,mDAA8D;AAC9D,mDAA8D;AAC9D,yCAAiD;AAgBjD,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