@enervance/insight-cim-model 0.0.22 → 0.0.23
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.
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { IdentifiedObject } from '../../../core/IdentifiedObject';
|
|
1
2
|
import { AMPRIONErpProjectStructure } from './AMPRIONErpProjectStructure';
|
|
2
3
|
import { AmprionModel } from '../model/AmprionModel';
|
|
3
|
-
export declare class AMPRIONErpProjectPhase extends
|
|
4
|
+
export declare class AMPRIONErpProjectPhase extends IdentifiedObject {
|
|
4
5
|
startDate: string;
|
|
5
6
|
endDate: string;
|
|
6
7
|
projectPhaseType: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AMPRIONErpProjectPhase = void 0;
|
|
4
|
-
const
|
|
4
|
+
const IdentifiedObject_1 = require("../../../core/IdentifiedObject");
|
|
5
5
|
const utils_1 = require("../../../../util/utils");
|
|
6
6
|
const datatype_converter_1 = require("../../../../util/datatype-converter");
|
|
7
|
-
class AMPRIONErpProjectPhase extends
|
|
7
|
+
class AMPRIONErpProjectPhase extends IdentifiedObject_1.IdentifiedObject {
|
|
8
8
|
constructor(uuid, name, shortName, description) {
|
|
9
9
|
super(uuid, name, shortName, description);
|
|
10
10
|
}
|
|
@@ -49,9 +49,10 @@ AMPRIONErpProjectPhase.sparqlQuery = `
|
|
|
49
49
|
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
50
50
|
|
|
51
51
|
SELECT (STRAFTER(str(?MRID), '#_') AS ?uuid)
|
|
52
|
-
?name ?shortName ?description
|
|
52
|
+
?name ?shortName ?description
|
|
53
53
|
?startDate ?endDate ?projectPhaseType ?negotiations ?hexColor ?argbColor
|
|
54
54
|
(STRAFTER(str(?pUUID), '#_') AS ?projectUUID)
|
|
55
|
+
(STRAFTER(STRAFTER(str(?prioEnum), '#'), '.') AS ?priority)
|
|
55
56
|
|
|
56
57
|
WHERE {
|
|
57
58
|
GRAPH <http://default/> {
|
|
@@ -59,7 +60,6 @@ AMPRIONErpProjectPhase.sparqlQuery = `
|
|
|
59
60
|
OPTIONAL{?MRID cim:IdentifiedObject.name ?name .}
|
|
60
61
|
OPTIONAL{?MRID entsoe:IdentifiedObject.shortName ?shortName .}
|
|
61
62
|
OPTIONAL{?MRID cim:IdentifiedObject.description ?description .}
|
|
62
|
-
OPTIONAL{?MRID amp:AMPRIONErpProjectStructure.number ?number .}
|
|
63
63
|
|
|
64
64
|
OPTIONAL{?MRID amp:AMPRIONErpProjectPhase.startDate ?startDate .}
|
|
65
65
|
OPTIONAL{?MRID amp:AMPRIONErpProjectPhase.endDate ?endDate .}
|
|
@@ -69,6 +69,7 @@ AMPRIONErpProjectPhase.sparqlQuery = `
|
|
|
69
69
|
OPTIONAL{?MRID amp:AMPRIONErpProjectPhase.argbColor ?argbColor .}
|
|
70
70
|
|
|
71
71
|
OPTIONAL{?MRID amp:AMPRIONErpProjectPhase.Project ?pUUID .}
|
|
72
|
+
OPTIONAL {?MRID amp:AMPRIONErpProjectStructure.priority ?prioEnum .}
|
|
72
73
|
}
|
|
73
74
|
}
|
|
74
75
|
`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AMPRIONErpProjectPhase.js","sourceRoot":"","sources":["../../../../../src/model/extensions/amprion/project/AMPRIONErpProjectPhase.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"AMPRIONErpProjectPhase.js","sourceRoot":"","sources":["../../../../../src/model/extensions/amprion/project/AMPRIONErpProjectPhase.ts"],"names":[],"mappings":";;;AAAA,qEAAkE;AAIlE,kDAAkD;AAClD,4EAAgE;AAEhE,MAAa,sBAAuB,SAAQ,mCAAgB;IAa1D,YAAY,IAAa,EAAE,IAAa,EAAE,SAAkB,EAAE,WAAoB;QAChF,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,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