raain-model 0.4.1 → 1.10.25
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/README.md +7 -11
- package/RELEASE.md +2 -0
- package/cartesian/CartesianMeasureValue.d.ts +41 -0
- package/{cartesians → cartesian}/CartesianMeasureValue.js +39 -21
- package/cartesian/CartesianMeasureValue.js.map +1 -0
- package/cartesian/CartesianValue.d.ts +9 -0
- package/cartesian/CartesianValue.js +12 -0
- package/cartesian/CartesianValue.js.map +1 -0
- package/cartesian/ICartesianMeasureValue.d.ts +29 -0
- package/cartesian/ICartesianMeasureValue.js.map +1 -0
- package/cartesian/LatLng.d.ts +12 -0
- package/cartesian/LatLng.js +31 -0
- package/cartesian/LatLng.js.map +1 -0
- package/{cartesians → cartesian}/RadarCartesianMeasureValue.d.ts +8 -4
- package/cartesian/RadarCartesianMeasureValue.js +22 -0
- package/cartesian/RadarCartesianMeasureValue.js.map +1 -0
- package/{cartesians → cartesian}/RainCartesianMeasureValue.d.ts +9 -5
- package/cartesian/RainCartesianMeasureValue.js +25 -0
- package/cartesian/RainCartesianMeasureValue.js.map +1 -0
- package/gauge/GaugeMeasure.d.ts +20 -0
- package/gauge/GaugeMeasure.js +24 -0
- package/gauge/GaugeMeasure.js.map +1 -0
- package/gauge/GaugeNode.d.ts +24 -0
- package/gauge/GaugeNode.js +31 -0
- package/gauge/GaugeNode.js.map +1 -0
- package/{gauges → gauge}/GaugeNodeMap.d.ts +11 -3
- package/{gauges → gauge}/GaugeNodeMap.js +3 -10
- package/gauge/GaugeNodeMap.js.map +1 -0
- package/index.d.ts +39 -30
- package/index.js +39 -30
- package/index.js.map +1 -1
- package/{organizations → organization}/EventNode.d.ts +9 -1
- package/{organizations → organization}/EventNode.js +8 -8
- package/organization/EventNode.js.map +1 -0
- package/{organizations → organization}/IVersion.js.map +1 -1
- package/organization/Link.js.map +1 -0
- package/organization/Measure.d.ts +20 -0
- package/organization/Measure.js +35 -0
- package/organization/Measure.js.map +1 -0
- package/{organizations → organization}/PeopleNode.d.ts +8 -2
- package/organization/PeopleNode.js +26 -0
- package/organization/PeopleNode.js.map +1 -0
- package/{organizations → organization}/RaainNode.d.ts +7 -3
- package/{organizations → organization}/RaainNode.js +7 -18
- package/organization/RaainNode.js.map +1 -0
- package/organization/TeamNode.d.ts +22 -0
- package/organization/TeamNode.js +32 -0
- package/organization/TeamNode.js.map +1 -0
- package/package.json +10 -7
- package/{polars → polar}/AbstractPolarMeasureValue.d.ts +13 -3
- package/{polars → polar}/AbstractPolarMeasureValue.js +24 -19
- package/polar/AbstractPolarMeasureValue.js.map +1 -0
- package/{polars → polar}/GaugePolarMeasureValue.d.ts +3 -1
- package/{polars → polar}/GaugePolarMeasureValue.js +2 -2
- package/polar/GaugePolarMeasureValue.js.map +1 -0
- package/{polars → polar}/IPolarMeasureValue.d.ts +9 -2
- package/polar/IPolarMeasureValue.js.map +1 -0
- package/{polars → polar}/MeasureValuePolarContainer.d.ts +5 -1
- package/polar/MeasureValuePolarContainer.js +22 -0
- package/polar/MeasureValuePolarContainer.js.map +1 -0
- package/{polars → polar}/PolarMeasureValue.d.ts +13 -3
- package/{polars → polar}/PolarMeasureValue.js +22 -16
- package/polar/PolarMeasureValue.js.map +1 -0
- package/polar/PolarValue.d.ts +10 -0
- package/polar/PolarValue.js +12 -0
- package/polar/PolarValue.js.map +1 -0
- package/{polars → polar}/RadarPolarMeasureValue.d.ts +4 -1
- package/{polars → polar}/RadarPolarMeasureValue.js +8 -8
- package/polar/RadarPolarMeasureValue.js.map +1 -0
- package/{polars → polar}/RainPolarMeasureValue.d.ts +6 -2
- package/{polars → polar}/RainPolarMeasureValue.js +15 -5
- package/polar/RainPolarMeasureValue.js.map +1 -0
- package/quality/QualityPoint.d.ts +35 -0
- package/quality/QualityPoint.js +63 -0
- package/quality/QualityPoint.js.map +1 -0
- package/quality/SpeedMatrix.d.ts +79 -0
- package/quality/SpeedMatrix.js +251 -0
- package/quality/SpeedMatrix.js.map +1 -0
- package/quality/SpeedMatrixContainer.d.ts +76 -0
- package/quality/SpeedMatrixContainer.js +310 -0
- package/quality/SpeedMatrixContainer.js.map +1 -0
- package/quality/history/CartesianGaugeHistory.d.ts +15 -0
- package/quality/history/CartesianGaugeHistory.js +14 -0
- package/quality/history/CartesianGaugeHistory.js.map +1 -0
- package/quality/history/CartesianRainHistory.d.ts +11 -0
- package/quality/history/CartesianRainHistory.js +12 -0
- package/quality/history/CartesianRainHistory.js.map +1 -0
- package/quality/history/PositionHistory.d.ts +20 -0
- package/quality/history/PositionHistory.js +17 -0
- package/quality/history/PositionHistory.js.map +1 -0
- package/quality/position/Position.d.ts +22 -0
- package/quality/position/Position.js +50 -0
- package/quality/position/Position.js.map +1 -0
- package/quality/position/PositionValue.d.ts +9 -0
- package/quality/position/PositionValue.js +12 -0
- package/quality/position/PositionValue.js.map +1 -0
- package/quality/tools/QualityTools.d.ts +24 -0
- package/quality/tools/QualityTools.js +182 -0
- package/quality/tools/QualityTools.js.map +1 -0
- package/radar/RadarMeasure.d.ts +17 -0
- package/radar/RadarMeasure.js +18 -0
- package/radar/RadarMeasure.js.map +1 -0
- package/radar/RadarNode.d.ts +24 -0
- package/radar/RadarNode.js +31 -0
- package/radar/RadarNode.js.map +1 -0
- package/radar/RadarNodeMap.d.ts +28 -0
- package/{radars → radar}/RadarNodeMap.js +5 -12
- package/radar/RadarNodeMap.js.map +1 -0
- package/rain/RainComputation.d.ts +34 -0
- package/{rains → rain}/RainComputation.js +8 -13
- package/rain/RainComputation.js.map +1 -0
- package/{rains → rain}/RainComputationAbstract.d.ts +9 -10
- package/rain/RainComputationAbstract.js +102 -0
- package/rain/RainComputationAbstract.js.map +1 -0
- package/rain/RainComputationMap.d.ts +32 -0
- package/{rains → rain}/RainComputationMap.js +3 -8
- package/rain/RainComputationMap.js.map +1 -0
- package/{rains → rain}/RainComputationQuality.d.ts +21 -8
- package/{rains → rain}/RainComputationQuality.js +3 -8
- package/rain/RainComputationQuality.js.map +1 -0
- package/rain/RainMeasure.d.ts +18 -0
- package/rain/RainMeasure.js +19 -0
- package/rain/RainMeasure.js.map +1 -0
- package/rain/RainNode.d.ts +38 -0
- package/rain/RainNode.js +127 -0
- package/rain/RainNode.js.map +1 -0
- package/cartesians/CartesianMeasureValue.d.ts +0 -27
- package/cartesians/CartesianMeasureValue.js.map +0 -1
- package/cartesians/CartesianValue.d.ts +0 -6
- package/cartesians/CartesianValue.js +0 -12
- package/cartesians/CartesianValue.js.map +0 -1
- package/cartesians/ICartesianMeasureValue.d.ts +0 -17
- package/cartesians/ICartesianMeasureValue.js.map +0 -1
- package/cartesians/RadarCartesianMeasureValue.js +0 -37
- package/cartesians/RadarCartesianMeasureValue.js.map +0 -1
- package/cartesians/RainCartesianMeasureValue.js +0 -40
- package/cartesians/RainCartesianMeasureValue.js.map +0 -1
- package/gauges/GaugeMeasure.d.ts +0 -12
- package/gauges/GaugeMeasure.js +0 -31
- package/gauges/GaugeMeasure.js.map +0 -1
- package/gauges/GaugeNode.d.ts +0 -15
- package/gauges/GaugeNode.js +0 -37
- package/gauges/GaugeNode.js.map +0 -1
- package/gauges/GaugeNodeMap.js.map +0 -1
- package/organizations/EventNode.js.map +0 -1
- package/organizations/Link.js.map +0 -1
- package/organizations/Measure.d.ts +0 -12
- package/organizations/Measure.js +0 -29
- package/organizations/Measure.js.map +0 -1
- package/organizations/PeopleNode.js +0 -34
- package/organizations/PeopleNode.js.map +0 -1
- package/organizations/QualityPoint.d.ts +0 -17
- package/organizations/QualityPoint.js +0 -16
- package/organizations/QualityPoint.js.map +0 -1
- package/organizations/RaainNode.js.map +0 -1
- package/organizations/TeamNode.d.ts +0 -15
- package/organizations/TeamNode.js +0 -38
- package/organizations/TeamNode.js.map +0 -1
- package/polars/AbstractPolarMeasureValue.js.map +0 -1
- package/polars/GaugePolarMeasureValue.js.map +0 -1
- package/polars/IPolarMeasureValue.js.map +0 -1
- package/polars/MeasureValuePolarContainer.js +0 -28
- package/polars/MeasureValuePolarContainer.js.map +0 -1
- package/polars/PolarMeasureValue.js.map +0 -1
- package/polars/PolarValue.d.ts +0 -6
- package/polars/PolarValue.js +0 -12
- package/polars/PolarValue.js.map +0 -1
- package/polars/RadarPolarMeasureValue.js.map +0 -1
- package/polars/RainPolarMeasureValue.js.map +0 -1
- package/radars/RadarMeasure.d.ts +0 -11
- package/radars/RadarMeasure.js +0 -24
- package/radars/RadarMeasure.js.map +0 -1
- package/radars/RadarNode.d.ts +0 -14
- package/radars/RadarNode.js +0 -35
- package/radars/RadarNode.js.map +0 -1
- package/radars/RadarNodeMap.d.ts +0 -16
- package/radars/RadarNodeMap.js.map +0 -1
- package/rains/RainComputation.d.ts +0 -34
- package/rains/RainComputation.js.map +0 -1
- package/rains/RainComputationAbstract.js +0 -113
- package/rains/RainComputationAbstract.js.map +0 -1
- package/rains/RainComputationMap.d.ts +0 -16
- package/rains/RainComputationMap.js.map +0 -1
- package/rains/RainComputationQuality.js.map +0 -1
- package/rains/RainMeasure.d.ts +0 -12
- package/rains/RainMeasure.js +0 -25
- package/rains/RainMeasure.js.map +0 -1
- package/rains/RainNode.d.ts +0 -23
- package/rains/RainNode.js +0 -116
- package/rains/RainNode.js.map +0 -1
- /package/{cartesians → cartesian}/ICartesianMeasureValue.js +0 -0
- /package/{organizations → organization}/IVersion.d.ts +0 -0
- /package/{organizations → organization}/IVersion.js +0 -0
- /package/{organizations → organization}/Link.d.ts +0 -0
- /package/{organizations → organization}/Link.js +0 -0
- /package/{polars → polar}/IPolarMeasureValue.js +0 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CartesianValue } from '../../cartesian/CartesianValue';
|
|
2
|
+
export declare class CartesianGaugeHistory {
|
|
3
|
+
gaugeId: string;
|
|
4
|
+
gaugeLabel: string;
|
|
5
|
+
date: Date;
|
|
6
|
+
value: CartesianValue;
|
|
7
|
+
configurationAsJSON: string;
|
|
8
|
+
constructor(json: {
|
|
9
|
+
gaugeId: string;
|
|
10
|
+
gaugeLabel: string;
|
|
11
|
+
date: Date;
|
|
12
|
+
value: CartesianValue;
|
|
13
|
+
configurationAsJSON: string;
|
|
14
|
+
});
|
|
15
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CartesianGaugeHistory = void 0;
|
|
4
|
+
class CartesianGaugeHistory {
|
|
5
|
+
constructor(json) {
|
|
6
|
+
this.gaugeId = json.gaugeId;
|
|
7
|
+
this.gaugeLabel = json.gaugeLabel;
|
|
8
|
+
this.date = json.date;
|
|
9
|
+
this.value = json.value;
|
|
10
|
+
this.configurationAsJSON = json.configurationAsJSON;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.CartesianGaugeHistory = CartesianGaugeHistory;
|
|
14
|
+
//# sourceMappingURL=CartesianGaugeHistory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CartesianGaugeHistory.js","sourceRoot":"","sources":["../../../src/quality/history/CartesianGaugeHistory.ts"],"names":[],"mappings":";;;AAEA,MAAa,qBAAqB;IAO9B,YAAY,IAMX;QACG,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAC5B,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;QAClC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;QACtB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACxB,IAAI,CAAC,mBAAmB,GAAG,IAAI,CAAC,mBAAmB,CAAC;IACxD,CAAC;CACJ;AApBD,sDAoBC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CartesianValue } from '../../cartesian/CartesianValue';
|
|
2
|
+
export declare class CartesianRainHistory {
|
|
3
|
+
periodBegin: Date;
|
|
4
|
+
periodEnd: Date;
|
|
5
|
+
computedValue: CartesianValue;
|
|
6
|
+
constructor(json: {
|
|
7
|
+
periodBegin: Date;
|
|
8
|
+
periodEnd: Date;
|
|
9
|
+
computedValue: CartesianValue;
|
|
10
|
+
});
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CartesianRainHistory = void 0;
|
|
4
|
+
class CartesianRainHistory {
|
|
5
|
+
constructor(json) {
|
|
6
|
+
this.periodBegin = json.periodBegin;
|
|
7
|
+
this.periodEnd = json.periodEnd;
|
|
8
|
+
this.computedValue = json.computedValue;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.CartesianRainHistory = CartesianRainHistory;
|
|
12
|
+
//# sourceMappingURL=CartesianRainHistory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CartesianRainHistory.js","sourceRoot":"","sources":["../../../src/quality/history/CartesianRainHistory.ts"],"names":[],"mappings":";;;AAEA,MAAa,oBAAoB;IAM7B,YAAY,IAIX;QACG,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACpC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;QAChC,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,aAAa,CAAC;IAC5C,CAAC;CACJ;AAfD,oDAeC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { PositionValue } from '../position/PositionValue';
|
|
2
|
+
export declare class PositionHistory extends PositionValue {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
date: Date;
|
|
6
|
+
valueFromGauge: number;
|
|
7
|
+
valueFromRain: number;
|
|
8
|
+
configurationAsJSON: string;
|
|
9
|
+
constructor(json: {
|
|
10
|
+
id: string;
|
|
11
|
+
label: string;
|
|
12
|
+
date: Date;
|
|
13
|
+
x: number;
|
|
14
|
+
y: number;
|
|
15
|
+
value: number;
|
|
16
|
+
valueFromGauge?: number;
|
|
17
|
+
valueFromRain?: number;
|
|
18
|
+
configurationAsJSON?: string;
|
|
19
|
+
});
|
|
20
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PositionHistory = void 0;
|
|
4
|
+
const PositionValue_1 = require("../position/PositionValue");
|
|
5
|
+
class PositionHistory extends PositionValue_1.PositionValue {
|
|
6
|
+
constructor(json) {
|
|
7
|
+
super(json);
|
|
8
|
+
this.id = json.id;
|
|
9
|
+
this.label = json.label;
|
|
10
|
+
this.date = json.date;
|
|
11
|
+
this.valueFromGauge = json.valueFromGauge;
|
|
12
|
+
this.valueFromRain = json.valueFromRain;
|
|
13
|
+
this.configurationAsJSON = json.configurationAsJSON;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.PositionHistory = PositionHistory;
|
|
17
|
+
//# sourceMappingURL=PositionHistory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PositionHistory.js","sourceRoot":"","sources":["../../../src/quality/history/PositionHistory.ts"],"names":[],"mappings":";;;AAAA,6DAAwD;AAExD,MAAa,eAAgB,SAAQ,6BAAa;IAQ9C,YAAY,IAUX;QACG,KAAK,CAAC,IAAI,CAAC,CAAC;QAEZ,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,EAAE,CAAC;QAClB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACxB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;QACtB,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC;QAC1C,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,aAAa,CAAC;QACxC,IAAI,CAAC,mBAAmB,GAAG,IAAI,CAAC,mBAAmB,CAAC;IACxD,CAAC;CACJ;AA5BD,0CA4BC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare class Position {
|
|
2
|
+
static DEFAULT_PRECISION: number;
|
|
3
|
+
x: number;
|
|
4
|
+
y: number;
|
|
5
|
+
private readonly precision;
|
|
6
|
+
constructor(json: {
|
|
7
|
+
x: number;
|
|
8
|
+
y: number;
|
|
9
|
+
});
|
|
10
|
+
static uniq: (a: Position[]) => Position[];
|
|
11
|
+
setPrecision(precision?: number): void;
|
|
12
|
+
getXY(precision?: number): {
|
|
13
|
+
x: number;
|
|
14
|
+
y: number;
|
|
15
|
+
};
|
|
16
|
+
samePosition(p: Position, precision?: number): boolean;
|
|
17
|
+
getPrecision(): number;
|
|
18
|
+
getXYScaled(scale: number): {
|
|
19
|
+
x: number;
|
|
20
|
+
y: number;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Position = void 0;
|
|
4
|
+
class Position {
|
|
5
|
+
constructor(json) {
|
|
6
|
+
this.x = json.x;
|
|
7
|
+
this.y = json.y;
|
|
8
|
+
this.precision = Position.DEFAULT_PRECISION;
|
|
9
|
+
}
|
|
10
|
+
setPrecision(precision = Position.DEFAULT_PRECISION) {
|
|
11
|
+
const tenPower = Math.pow(10, precision);
|
|
12
|
+
const xy = this.getXY(precision);
|
|
13
|
+
this.x = xy.x;
|
|
14
|
+
this.y = xy.y;
|
|
15
|
+
}
|
|
16
|
+
getXY(precision) {
|
|
17
|
+
if (typeof precision === 'undefined') {
|
|
18
|
+
return { x: this.x, y: this.y };
|
|
19
|
+
}
|
|
20
|
+
const tenPower = Math.pow(10, precision);
|
|
21
|
+
return {
|
|
22
|
+
x: Math.round(this.x * tenPower) / tenPower,
|
|
23
|
+
y: Math.round(this.y * tenPower) / tenPower,
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
samePosition(p, precision) {
|
|
27
|
+
const xy = this.getXY(precision);
|
|
28
|
+
return xy.x === p.x && xy.y === p.y;
|
|
29
|
+
}
|
|
30
|
+
getPrecision() {
|
|
31
|
+
return this.precision;
|
|
32
|
+
}
|
|
33
|
+
getXYScaled(scale) {
|
|
34
|
+
const precision = Math.round(Math.log10(1 / scale));
|
|
35
|
+
return this.getXY(precision);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
Position.DEFAULT_PRECISION = 6;
|
|
39
|
+
Position.uniq = (a) => {
|
|
40
|
+
const set = [];
|
|
41
|
+
for (const p of a) {
|
|
42
|
+
const same = set.filter(s => s.x === p.x && s.y === p.y);
|
|
43
|
+
if (same.length <= 0) {
|
|
44
|
+
set.push(p);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return set;
|
|
48
|
+
};
|
|
49
|
+
exports.Position = Position;
|
|
50
|
+
//# sourceMappingURL=Position.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Position.js","sourceRoot":"","sources":["../../../src/quality/position/Position.ts"],"names":[],"mappings":";;;AAAA,MAAa,QAAQ;IAMjB,YAAY,IAGX;QACG,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC;QAChB,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC;QAChB,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC,iBAAiB,CAAC;IAChD,CAAC;IAaD,YAAY,CAAC,YAAoB,QAAQ,CAAC,iBAAiB;QACvD,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,SAAS,CAAC,CAAC;QACzC,MAAM,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QACjC,IAAI,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;QACd,IAAI,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;IAClB,CAAC;IAGD,KAAK,CAAC,SAAkB;QACpB,IAAI,OAAO,SAAS,KAAK,WAAW,EAAE;YAClC,OAAO,EAAC,CAAC,EAAE,IAAI,CAAC,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AAI,CAAC,CAAC,CAAC,CAAC;SACf;KACJ;IACD,OAAO,GAAG,CAAC;AACf,CAAC,CAAA;AAxBQ,4BAAQ"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PositionValue = void 0;
|
|
4
|
+
const Position_1 = require("../position/Position");
|
|
5
|
+
class PositionValue extends Position_1.Position {
|
|
6
|
+
constructor(json) {
|
|
7
|
+
super(json);
|
|
8
|
+
this.value = json.value;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.PositionValue = PositionValue;
|
|
12
|
+
//# sourceMappingURL=PositionValue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PositionValue.js","sourceRoot":"","sources":["../../../src/quality/position/PositionValue.ts"],"names":[],"mappings":";;;AAAA,mDAA8C;AAG9C,MAAa,aAAc,SAAQ,mBAAQ;IAGvC,YAAY,IAIX;QACG,KAAK,CAAC,IAAI,CAAC,CAAC;QACZ,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;IAC5B,CAAC;CACJ;AAXD,sCAWC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { LatLng } from '../../cartesian/LatLng';
|
|
2
|
+
import { Position } from '../position/Position';
|
|
3
|
+
import { CartesianValue } from '../../cartesian/CartesianValue';
|
|
4
|
+
export declare class QualityTools {
|
|
5
|
+
static DEFAULT_SCALE: number;
|
|
6
|
+
static IndexOfDualArray(array: any, itemToFind: any): any;
|
|
7
|
+
static Precision(a: any): number;
|
|
8
|
+
static RoundLatLng(latOrLng: number, scale?: number, needPrecision?: boolean): number;
|
|
9
|
+
static LimitWithPrecision(latOrLng: number, precision?: number): number;
|
|
10
|
+
static IsEqualsLatLng(latOrLng1: number, latOrLng2: number, cartesianStep?: number): boolean;
|
|
11
|
+
static IsAroundLatLng(latLngCenter: LatLng, latLngAround: LatLng, stepRange: number, cartesianStep?: number): boolean;
|
|
12
|
+
static IsNotAroundLatLng(latLngCenter: LatLng, latLngAround: LatLng, stepRange: number, cartesianStep?: number): boolean;
|
|
13
|
+
static MapLatLngToPosition(latLng: LatLng, rounded?: boolean, cartesianPixelWidth?: LatLng): Position;
|
|
14
|
+
static MapPositionToLatLng(position: Position): LatLng;
|
|
15
|
+
static DegToRad(azimuthInDegrees: number): number;
|
|
16
|
+
static GetAzimuthRad(angleInDegrees: number): number;
|
|
17
|
+
static ComputeLatSteps(cartesianValues: CartesianValue[]): number[];
|
|
18
|
+
static ComputeLngSteps(cartesianValues: CartesianValue[]): number[];
|
|
19
|
+
static LogCartesianValues(cartesianValues: CartesianValue[]): void;
|
|
20
|
+
static UniqNum(a: number[]): number[];
|
|
21
|
+
static UniqStr(a: number[]): number[];
|
|
22
|
+
static CreateNDimArray(dimensions: any[], defaultValue?: any): any[];
|
|
23
|
+
protected static LabelWithSign(val: number): string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.QualityTools = void 0;
|
|
4
|
+
const LatLng_1 = require("../../cartesian/LatLng");
|
|
5
|
+
const Position_1 = require("../position/Position");
|
|
6
|
+
class QualityTools {
|
|
7
|
+
static IndexOfDualArray(array, itemToFind) {
|
|
8
|
+
for (const [index, value] of array.entries()) {
|
|
9
|
+
if (value[0] === itemToFind[0] && value[1] === itemToFind[1]) {
|
|
10
|
+
return index;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
return -1;
|
|
14
|
+
}
|
|
15
|
+
static Precision(a) {
|
|
16
|
+
if (!isFinite(a)) {
|
|
17
|
+
return 0;
|
|
18
|
+
}
|
|
19
|
+
let e = 1, p = 0;
|
|
20
|
+
while (Math.round(a * e) / e !== a) {
|
|
21
|
+
e *= 10;
|
|
22
|
+
p++;
|
|
23
|
+
}
|
|
24
|
+
return p;
|
|
25
|
+
}
|
|
26
|
+
static RoundLatLng(latOrLng, scale = QualityTools.DEFAULT_SCALE, needPrecision = false) {
|
|
27
|
+
const result = Math.round(latOrLng / scale) * scale;
|
|
28
|
+
if (!needPrecision) {
|
|
29
|
+
return result;
|
|
30
|
+
}
|
|
31
|
+
return parseFloat(parseFloat('' + result).toPrecision(12));
|
|
32
|
+
// alternative ?
|
|
33
|
+
// let decimalPlaces = 0;
|
|
34
|
+
// if (('' + scale).indexOf('0.') === 0) {
|
|
35
|
+
// decimalPlaces = ('' + scale).substring(2).length;
|
|
36
|
+
// } else {
|
|
37
|
+
// return Math.round(latOrLng / scale) * scale;
|
|
38
|
+
// }
|
|
39
|
+
// const p = Math.pow(10, decimalPlaces || 0);
|
|
40
|
+
// const n = (latOrLng * p) * (1 + Number.EPSILON);
|
|
41
|
+
// return Math.round(n) / p;
|
|
42
|
+
}
|
|
43
|
+
static LimitWithPrecision(latOrLng, precision = 12) {
|
|
44
|
+
return parseFloat(parseFloat('' + latOrLng).toPrecision(precision));
|
|
45
|
+
}
|
|
46
|
+
static IsEqualsLatLng(latOrLng1, latOrLng2, cartesianStep = QualityTools.DEFAULT_SCALE) {
|
|
47
|
+
return QualityTools.RoundLatLng(latOrLng1, cartesianStep, true) === QualityTools.RoundLatLng(latOrLng2, cartesianStep, true);
|
|
48
|
+
}
|
|
49
|
+
static IsAroundLatLng(latLngCenter, latLngAround, stepRange, cartesianStep = QualityTools.DEFAULT_SCALE) {
|
|
50
|
+
let isAround = false;
|
|
51
|
+
const min = -stepRange * cartesianStep, max = stepRange * cartesianStep;
|
|
52
|
+
for (let lat = min; !isAround && lat <= max; lat += cartesianStep) {
|
|
53
|
+
for (let lng = min; !isAround && lng <= max; lng += cartesianStep) {
|
|
54
|
+
isAround = QualityTools.RoundLatLng(latLngCenter.lat, cartesianStep, true)
|
|
55
|
+
=== QualityTools.RoundLatLng(latLngAround.lat + lat, cartesianStep, true);
|
|
56
|
+
if (isAround) {
|
|
57
|
+
isAround = QualityTools.RoundLatLng(latLngCenter.lng, cartesianStep, true)
|
|
58
|
+
=== QualityTools.RoundLatLng(latLngAround.lng + lng, cartesianStep, true);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
return isAround;
|
|
63
|
+
}
|
|
64
|
+
static IsNotAroundLatLng(latLngCenter, latLngAround, stepRange, cartesianStep = QualityTools.DEFAULT_SCALE) {
|
|
65
|
+
const max = (stepRange * cartesianStep) + Number.EPSILON;
|
|
66
|
+
let isOut = QualityTools.RoundLatLng(latLngCenter.lat, cartesianStep)
|
|
67
|
+
> QualityTools.RoundLatLng(latLngAround.lat + max, cartesianStep)
|
|
68
|
+
|| QualityTools.RoundLatLng(latLngCenter.lat, cartesianStep)
|
|
69
|
+
< QualityTools.RoundLatLng(latLngAround.lat - max, cartesianStep);
|
|
70
|
+
if (!isOut) {
|
|
71
|
+
isOut = QualityTools.RoundLatLng(latLngCenter.lng, cartesianStep)
|
|
72
|
+
> QualityTools.RoundLatLng(latLngAround.lng + max, cartesianStep)
|
|
73
|
+
|| QualityTools.RoundLatLng(latLngCenter.lng, cartesianStep)
|
|
74
|
+
< QualityTools.RoundLatLng(latLngAround.lng - max, cartesianStep);
|
|
75
|
+
}
|
|
76
|
+
return isOut;
|
|
77
|
+
}
|
|
78
|
+
static MapLatLngToPosition(latLng, rounded, cartesianPixelWidth) {
|
|
79
|
+
let x = latLng.lng;
|
|
80
|
+
let y = latLng.lat;
|
|
81
|
+
if (rounded) {
|
|
82
|
+
if (!cartesianPixelWidth) {
|
|
83
|
+
throw new Error('need cartesianPixelWidth to MapLatLngToPosition');
|
|
84
|
+
}
|
|
85
|
+
x = QualityTools.RoundLatLng(x, cartesianPixelWidth.lng, true);
|
|
86
|
+
y = QualityTools.RoundLatLng(y, cartesianPixelWidth.lat, true);
|
|
87
|
+
}
|
|
88
|
+
return new Position_1.Position({ x, y });
|
|
89
|
+
}
|
|
90
|
+
static MapPositionToLatLng(position) {
|
|
91
|
+
const lng = position.x;
|
|
92
|
+
const lat = position.y;
|
|
93
|
+
return new LatLng_1.LatLng({ lat, lng });
|
|
94
|
+
}
|
|
95
|
+
static DegToRad(azimuthInDegrees) {
|
|
96
|
+
return azimuthInDegrees * Math.PI / 180;
|
|
97
|
+
}
|
|
98
|
+
static GetAzimuthRad(angleInDegrees) {
|
|
99
|
+
return QualityTools.DegToRad(-angleInDegrees + 90);
|
|
100
|
+
}
|
|
101
|
+
static ComputeLatSteps(cartesianValues) {
|
|
102
|
+
const lats = cartesianValues.map(c => c.lat).sort((a, b) => a - b);
|
|
103
|
+
return QualityTools.UniqNum(lats);
|
|
104
|
+
}
|
|
105
|
+
static ComputeLngSteps(cartesianValues) {
|
|
106
|
+
const lngs = cartesianValues.map(c => c.lng).sort((a, b) => a - b);
|
|
107
|
+
return QualityTools.UniqNum(lngs);
|
|
108
|
+
}
|
|
109
|
+
static LogCartesianValues(cartesianValues) {
|
|
110
|
+
console.log('>> raain-quality ### logCartesianValues with', cartesianValues.length, QualityTools.DEFAULT_SCALE, ' in progress...');
|
|
111
|
+
const pointsToShow = {};
|
|
112
|
+
const latSteps = QualityTools.ComputeLatSteps(cartesianValues);
|
|
113
|
+
const lngSteps = QualityTools.ComputeLngSteps(cartesianValues);
|
|
114
|
+
// console.log('>> raain-quality ### logCartesianValues latSteps:', latSteps, 'lngSteps:', lngSteps);
|
|
115
|
+
const labelX = (v) => {
|
|
116
|
+
return QualityTools.LabelWithSign(v);
|
|
117
|
+
};
|
|
118
|
+
const labelY = (v) => {
|
|
119
|
+
return QualityTools.LabelWithSign(v);
|
|
120
|
+
};
|
|
121
|
+
const valueDisplay = (v) => {
|
|
122
|
+
return '' + Math.round(v * 100) / 100;
|
|
123
|
+
};
|
|
124
|
+
for (let lat of latSteps) {
|
|
125
|
+
const xObject = {};
|
|
126
|
+
for (let lng of lngSteps) {
|
|
127
|
+
const latLng = new LatLng_1.LatLng({ lat, lng });
|
|
128
|
+
latLng.setPrecision(12);
|
|
129
|
+
lat = latLng.lat;
|
|
130
|
+
lng = latLng.lng;
|
|
131
|
+
xObject[labelX(lng)] = valueDisplay(0);
|
|
132
|
+
}
|
|
133
|
+
pointsToShow[labelY(lat)] = xObject;
|
|
134
|
+
}
|
|
135
|
+
for (const [index, point] of cartesianValues.entries()) {
|
|
136
|
+
let value = valueDisplay(point.value);
|
|
137
|
+
if (pointsToShow[labelY(point.lat)][labelX(point.lng)] !== '0') {
|
|
138
|
+
value = '' + value + '?' + pointsToShow[labelY(point.lat)][labelX(point.lng)];
|
|
139
|
+
}
|
|
140
|
+
pointsToShow[labelY(point.lat)][labelX(point.lng)] = value;
|
|
141
|
+
}
|
|
142
|
+
console.table(pointsToShow);
|
|
143
|
+
}
|
|
144
|
+
static UniqNum(a) {
|
|
145
|
+
return [...new Set(a)];
|
|
146
|
+
}
|
|
147
|
+
static UniqStr(a) {
|
|
148
|
+
return [...new Set(a)];
|
|
149
|
+
}
|
|
150
|
+
static CreateNDimArray(dimensions, defaultValue) {
|
|
151
|
+
if (dimensions.length > 0) {
|
|
152
|
+
const dim = dimensions[0];
|
|
153
|
+
const rest = dimensions.slice(1);
|
|
154
|
+
const newArray = [];
|
|
155
|
+
for (let i = 0; i < dim; i++) {
|
|
156
|
+
newArray[i] = QualityTools.CreateNDimArray(rest, defaultValue);
|
|
157
|
+
if (typeof newArray[i] === 'undefined') {
|
|
158
|
+
newArray[i] = !defaultValue ? defaultValue : JSON.parse(JSON.stringify(defaultValue));
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
return newArray;
|
|
162
|
+
}
|
|
163
|
+
else {
|
|
164
|
+
return undefined;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
;
|
|
168
|
+
static LabelWithSign(val) {
|
|
169
|
+
const value = val;
|
|
170
|
+
if (value < 0) {
|
|
171
|
+
return '' + value;
|
|
172
|
+
}
|
|
173
|
+
else if (value === 0) {
|
|
174
|
+
return ' ' + 0;
|
|
175
|
+
}
|
|
176
|
+
return '+' + value;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
// scale of Pixel regarding LatLng : 1 => 100km, 0.01 => 1km, 0.005 => 500m
|
|
180
|
+
QualityTools.DEFAULT_SCALE = 0.01;
|
|
181
|
+
exports.QualityTools = QualityTools;
|
|
182
|
+
//# sourceMappingURL=QualityTools.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QualityTools.js","sourceRoot":"","sources":["../../../src/quality/tools/QualityTools.ts"],"names":[],"mappings":";;;AAAA,mDAA8C;AAC9C,mDAA8C;AAG9C,MAAa,YAAY;IAKd,MAAM,CAAC,gBAAgB,CAAC,KAAK,EAAE,UAAU;QAC5C,KAAK,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,EAAE,EAAE;YAC1C,IAAI,KAAK,CAAC,CAAC,CAAC,KAAK,UAAU,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,KAAK,UAAU,CAAC,CAAC,CAAC,EAAE;gBAC1D,OAAO,KAAK,CAAC;aAChB;SACJ;QACD,OAAO,CAAC,CAAC,CAAC;IACd,CAAC;IAEM,MAAM,CAAC,SAAS,CAAC,CAAC;QACrB,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE;YACd,OAAO,CAAC,CAAC;SACZ;QACD,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;QACjB,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE;YAChC,CAAC,IAAI,EAAE,CAAC;YACR,CAAC,EAAE,CAAC;SACP;QACD,OAAO,CAAC,CAAC;IACb,CAAC;IAEM,MAAM,CAAC,WAAW,CAAC,QAAgB,EAAE,KAAK,GAAG,YAAY,CAAC,aAAa,EAAE,aAAa,GAAG,KAAK;QAEjG,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,GA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AAI,CAAC;AAH1B,oCAAY"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Measure } from '../organization/Measure';
|
|
2
|
+
import { IPolarMeasureValue } from '../polar/IPolarMeasureValue';
|
|
3
|
+
import { ICartesianMeasureValue } from '../cartesian/ICartesianMeasureValue';
|
|
4
|
+
/**
|
|
5
|
+
* api/radars/:id/measures/:id
|
|
6
|
+
*/
|
|
7
|
+
export declare class RadarMeasure extends Measure {
|
|
8
|
+
static TYPE: string;
|
|
9
|
+
constructor(json: {
|
|
10
|
+
id: string;
|
|
11
|
+
values: IPolarMeasureValue[] | ICartesianMeasureValue[] | Measure[] | number[];
|
|
12
|
+
date?: Date;
|
|
13
|
+
validity?: number;
|
|
14
|
+
configurationAsJSON?: string | any;
|
|
15
|
+
});
|
|
16
|
+
protected getLinkType(): string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RadarMeasure = void 0;
|
|
4
|
+
const Measure_1 = require("../organization/Measure");
|
|
5
|
+
/**
|
|
6
|
+
* api/radars/:id/measures/:id
|
|
7
|
+
*/
|
|
8
|
+
class RadarMeasure extends Measure_1.Measure {
|
|
9
|
+
constructor(json) {
|
|
10
|
+
super(json);
|
|
11
|
+
}
|
|
12
|
+
getLinkType() {
|
|
13
|
+
return RadarMeasure.TYPE;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
RadarMeasure.TYPE = 'radar-measure';
|
|
17
|
+
exports.RadarMeasure = RadarMeasure;
|
|
18
|
+
//# sourceMappingURL=RadarMeasure.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RadarMeasure.js","sourceRoot":"","sources":["../../src/radar/RadarMeasure.ts"],"names":[],"mappings":";;;AAAA,qDAAgD;AAIhD;;GAEG;AACH,MAAa,YAAa,SAAQ,iBAAO;IAIrC,YAAY,IAMC;QAET,KAAK,CAAC,IAAI,CAAC,CAAC;IAChB,CAAC;IAES,WAAW;QACjB,OAAO,YAAY,CAAC,IAAI,CAAC;IAC7B,CAAC;;AAfa,iBAAI,GAAG,eAAe,CAAC;AAF5B,oCAAY"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { RaainNode } from '../organization/RaainNode';
|
|
2
|
+
import { Link } from '../organization/Link';
|
|
3
|
+
import { TeamNode } from '../organization/TeamNode';
|
|
4
|
+
/**
|
|
5
|
+
* api/radars/:id
|
|
6
|
+
*/
|
|
7
|
+
export declare class RadarNode extends RaainNode {
|
|
8
|
+
static TYPE: string;
|
|
9
|
+
name: string;
|
|
10
|
+
latitude: number;
|
|
11
|
+
longitude: number;
|
|
12
|
+
team: TeamNode;
|
|
13
|
+
constructor(json: {
|
|
14
|
+
id: string;
|
|
15
|
+
latitude: number;
|
|
16
|
+
longitude: number;
|
|
17
|
+
name?: string;
|
|
18
|
+
links?: Link[] | RaainNode[];
|
|
19
|
+
team?: TeamNode;
|
|
20
|
+
version?: string;
|
|
21
|
+
});
|
|
22
|
+
toJSON(): JSON;
|
|
23
|
+
protected getLinkType(): string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RadarNode = void 0;
|
|
4
|
+
const RaainNode_1 = require("../organization/RaainNode");
|
|
5
|
+
/**
|
|
6
|
+
* api/radars/:id
|
|
7
|
+
*/
|
|
8
|
+
class RadarNode extends RaainNode_1.RaainNode {
|
|
9
|
+
constructor(json) {
|
|
10
|
+
super(json);
|
|
11
|
+
this.latitude = json.latitude;
|
|
12
|
+
this.longitude = json.longitude;
|
|
13
|
+
this.name = json.name;
|
|
14
|
+
this.team = json.team;
|
|
15
|
+
}
|
|
16
|
+
toJSON() {
|
|
17
|
+
var _a;
|
|
18
|
+
const json = super.toJSON();
|
|
19
|
+
json['name'] = this.name;
|
|
20
|
+
json['latitude'] = this.latitude;
|
|
21
|
+
json['longitude'] = this.longitude;
|
|
22
|
+
json['team'] = ((_a = this.team) === null || _a === void 0 ? void 0 : _a.id) || this.team;
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
getLinkType() {
|
|
26
|
+
return RadarNode.TYPE;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
RadarNode.TYPE = 'radar';
|
|
30
|
+
exports.RadarNode = RadarNode;
|
|
31
|
+
//# sourceMappingURL=RadarNode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RadarNode.js","sourceRoot":"","sources":["../../src/radar/RadarNode.ts"],"names":[],"mappings":";;;AAAA,yDAAoD;AAIpD;;GAEG;AACH,MAAa,SAAU,SAAQ,qBAAS;IASpC,YAAY,IAQX;QACG,KAAK,CAAC,IAAI,CAAC,CAAC;QACZ,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;QAC9B,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;QAChC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;QACtB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;IAC1B,CAAC;IAEM,MAAM;;QACT,MAAM,IAAI,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC;QAC5B,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;QACzB,IAAI,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;QACjC,IAAI,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC;QACnC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAA,MAAA,IAAI,CAAC,IAAI,0CAAE,EAAE,KAAI,IAAI,CAAC,IAAI,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IAES,WAAW;QACjB,OAAO,SAAS,CAAC,IAAI,CAAC;IAC1B,CAAC;;AAlCa,cAAI,GAAG,OAAO,CAAC;AAFpB,8BAAS"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { RadarMeasure } from './RadarMeasure';
|
|
2
|
+
import { RadarNode } from './RadarNode';
|
|
3
|
+
import { Link } from '../organization/Link';
|
|
4
|
+
import { RaainNode } from '../organization/RaainNode';
|
|
5
|
+
import { TeamNode } from '../organization/TeamNode';
|
|
6
|
+
/**
|
|
7
|
+
* api/radars/:radarId?format=map&...
|
|
8
|
+
*/
|
|
9
|
+
export declare class RadarNodeMap extends RadarNode {
|
|
10
|
+
periodBegin: Date;
|
|
11
|
+
periodEnd: Date;
|
|
12
|
+
private map;
|
|
13
|
+
constructor(json: {
|
|
14
|
+
id: string;
|
|
15
|
+
latitude: number;
|
|
16
|
+
longitude: number;
|
|
17
|
+
periodBegin: Date;
|
|
18
|
+
periodEnd: Date;
|
|
19
|
+
map: RadarMeasure[] | string;
|
|
20
|
+
name?: string;
|
|
21
|
+
links?: Link[] | RaainNode[];
|
|
22
|
+
team?: TeamNode;
|
|
23
|
+
version?: string;
|
|
24
|
+
});
|
|
25
|
+
toJSON(): JSON;
|
|
26
|
+
setMapData(mapData: RadarMeasure[] | string): void;
|
|
27
|
+
getMapData(): RadarMeasure[];
|
|
28
|
+
}
|
|
@@ -6,18 +6,11 @@ const RadarNode_1 = require("./RadarNode");
|
|
|
6
6
|
* api/radars/:radarId?format=map&...
|
|
7
7
|
*/
|
|
8
8
|
class RadarNodeMap extends RadarNode_1.RadarNode {
|
|
9
|
-
constructor(
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
this.periodEnd = new Date(idOrObjectToCopy.periodEnd);
|
|
15
|
-
return;
|
|
16
|
-
}
|
|
17
|
-
super(idOrObjectToCopy, name, links, latitude, longitude, version);
|
|
18
|
-
this.setMapData(map);
|
|
19
|
-
this.periodBegin = new Date(periodBegin);
|
|
20
|
-
this.periodEnd = new Date(periodEnd);
|
|
9
|
+
constructor(json) {
|
|
10
|
+
super(json);
|
|
11
|
+
this.periodBegin = new Date(json.periodBegin);
|
|
12
|
+
this.periodEnd = new Date(json.periodEnd);
|
|
13
|
+
this.setMapData(json.map);
|
|
21
14
|
}
|
|
22
15
|
toJSON() {
|
|
23
16
|
const json = super.toJSON();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RadarNodeMap.js","sourceRoot":"","sources":["../../src/radar/RadarNodeMap.ts"],"names":[],"mappings":";;;AACA,2CAAsC;AAKtC;;GAEG;AACH,MAAa,YAAa,SAAQ,qBAAS;IAMvC,YAAY,IAWX;QACG,KAAK,CAAC,IAAI,CAAC,CAAC;QACZ,IAAI,CAAC,WAAW,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAC9C,IAAI,CAAC,SAAS,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC1C,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC9B,CAAC;IAEM,MAAM;QACT,MAAM,IAAI,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC;QAC5B,IAAI,IAAI,CAAC,GAAG,EAAE;YACV,IAAI,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC;SAC1B;QACD,IAAI,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC,WAAW,EAAE,CAAC;QACrD,IAAI,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC;QACjD,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,UAAU,CAAC,OAAgC;QAC9C,IAAI,CAAC,OAAO,EAAE;YACV,OAAO;SACV;QAED,IAAI,GAAG,GAAG,OAAO,CAAC;QAClB,IAAI;YACA,IAAI,OAAO,CAAC,OAAO,CAAC,KAAK,QAAQ,EAAE;gBAC/B,GAAG,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;aACjC;SACJ;QAAC,OAAO,CAAC,EAAE;SACX;QACD,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,QAAQ,EAAE,CAAC;IAC9B,CAAC;IAEM,UAAU;QACb,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;YACX,OAAO,EAAE,CAAC;SACb;QACD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAChC,CAAC;CACJ;AAvDD,oCAuDC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { RaainNode } from '../organization/RaainNode';
|
|
2
|
+
import { Link } from '../organization/Link';
|
|
3
|
+
import { RainPolarMeasureValue } from '../polar/RainPolarMeasureValue';
|
|
4
|
+
import { RainCartesianMeasureValue } from '../cartesian/RainCartesianMeasureValue';
|
|
5
|
+
import { RainComputationAbstract } from './RainComputationAbstract';
|
|
6
|
+
/**
|
|
7
|
+
* api/rains/:rainId/computations/:computationId
|
|
8
|
+
* or as an array on
|
|
9
|
+
* api/rains/:id/computations?format=id&begin=...
|
|
10
|
+
*/
|
|
11
|
+
export declare class RainComputation extends RainComputationAbstract {
|
|
12
|
+
static TYPE: string;
|
|
13
|
+
results: RainPolarMeasureValue[] | RainCartesianMeasureValue[];
|
|
14
|
+
constructor(json: {
|
|
15
|
+
id: string;
|
|
16
|
+
periodBegin: Date;
|
|
17
|
+
periodEnd: Date;
|
|
18
|
+
isReady: boolean;
|
|
19
|
+
results: RainPolarMeasureValue[] | RainCartesianMeasureValue[];
|
|
20
|
+
links?: Link[] | RaainNode[];
|
|
21
|
+
version?: string;
|
|
22
|
+
quality?: number;
|
|
23
|
+
progressIngest?: number;
|
|
24
|
+
progressComputing?: number;
|
|
25
|
+
timeSpentInMs?: number;
|
|
26
|
+
isDoneDate?: Date;
|
|
27
|
+
launchedBy?: string;
|
|
28
|
+
rain?: RaainNode[];
|
|
29
|
+
radars?: Link[] | RaainNode[];
|
|
30
|
+
});
|
|
31
|
+
toJSON(stringify?: boolean): JSON;
|
|
32
|
+
protected getLinkType(): string;
|
|
33
|
+
private setResults;
|
|
34
|
+
}
|