@enervance/insight-cim-model 0.0.29 → 0.0.31
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/dist/analysis/analysis-neplan/digi-ons.d.ts +48 -1
- package/dist/analysis/analysis-neplan/digi-ons.js +268 -70
- package/dist/analysis/analysis-neplan/digi-ons.js.map +1 -1
- package/dist/constants/cim-class-definition.js +25 -0
- package/dist/constants/cim-class-definition.js.map +1 -1
- package/dist/constants/cim-class-names.d.ts +13 -0
- package/dist/constants/cim-class-names.js +13 -0
- package/dist/constants/cim-class-names.js.map +1 -1
- package/dist/constants/rdf-xml.d.ts +2 -2
- package/dist/constants/rdf-xml.js +2 -2
- package/dist/converter/integral7/ConverterIntegral7.d.ts +54 -56
- package/dist/converter/integral7/ConverterIntegral7.js +2470 -1837
- package/dist/converter/integral7/ConverterIntegral7.js.map +1 -1
- package/dist/converter/integral7/config/integral-prefix.d.ts +6 -1
- package/dist/converter/integral7/config/integral-prefix.js +7 -2
- package/dist/converter/integral7/config/integral-prefix.js.map +1 -1
- package/dist/converter/integral7/converter-i7.d.ts +29 -61
- package/dist/converter/integral7/converter-i7.js +1231 -545
- package/dist/converter/integral7/converter-i7.js.map +1 -1
- package/dist/converter/integral7/interface-i7/IDefaultValuesConfig.d.ts +22 -0
- package/dist/converter/integral7/interface-i7/IObjectMappingConfig.d.ts +3 -0
- package/dist/converter/integral7/interface-i7/data-structures-i7.d.ts +62 -5
- package/dist/converter/integral7/interface-i7/data-structures-i7.js +6 -0
- package/dist/converter/integral7/interface-i7/data-structures-i7.js.map +1 -1
- package/dist/converter/integral7/interface-i7/export-frame-i7.d.ts +52 -4
- package/dist/converter/integral7/interface-i7/export-frame-i7.js +117 -14
- package/dist/converter/integral7/interface-i7/export-frame-i7.js.map +1 -1
- package/dist/converter/integral7/model/interfaces.d.ts +14 -0
- package/dist/converter/integral7/sql/integral.sql.d.ts +8 -0
- package/dist/converter/integral7/sql/integral.sql.js +41 -4
- package/dist/converter/integral7/sql/integral.sql.js.map +1 -1
- package/dist/converter/integral7/utils-cgmes-export.js +17 -3
- package/dist/converter/integral7/utils-cgmes-export.js.map +1 -1
- package/dist/converter/integral7/utils-trafo3w.js +51 -21
- package/dist/converter/integral7/utils-trafo3w.js.map +1 -1
- package/dist/converter/integral7/utils.d.ts +5 -3
- package/dist/converter/integral7/utils.js +194 -106
- package/dist/converter/integral7/utils.js.map +1 -1
- package/dist/index.d.ts +24 -2
- package/dist/index.js +48 -2
- package/dist/index.js.map +1 -1
- package/dist/interfaces/model/core/IPowerSystemResource.d.ts +2 -0
- package/dist/interfaces/model/core/ITerminal.d.ts +2 -0
- package/dist/model/assetinfo/SwitchInfo.d.ts +10 -0
- package/dist/model/assetinfo/SwitchInfo.js +51 -0
- package/dist/model/assetinfo/SwitchInfo.js.map +1 -0
- package/dist/model/assets/Asset.js +4 -2
- package/dist/model/assets/Asset.js.map +1 -1
- package/dist/model/common/Location.js +22 -22
- package/dist/model/core/ConductingEquipment.d.ts +2 -0
- package/dist/model/core/ConductingEquipment.js +9 -0
- package/dist/model/core/ConductingEquipment.js.map +1 -1
- package/dist/model/core/ConnectivityNode.d.ts +7 -2
- package/dist/model/core/ConnectivityNode.js +71 -0
- package/dist/model/core/ConnectivityNode.js.map +1 -1
- package/dist/model/core/GeographicalRegion.d.ts +1 -0
- package/dist/model/core/GeographicalRegion.js +5 -0
- package/dist/model/core/GeographicalRegion.js.map +1 -1
- package/dist/model/core/IdentifiedObject.js +13 -9
- package/dist/model/core/IdentifiedObject.js.map +1 -1
- package/dist/model/core/PowerSystemResource.d.ts +1 -0
- package/dist/model/core/PowerSystemResource.js +7 -0
- package/dist/model/core/PowerSystemResource.js.map +1 -1
- package/dist/model/core/Substation.js +1 -0
- package/dist/model/core/Substation.js.map +1 -1
- package/dist/model/core/Terminal.d.ts +1 -1
- package/dist/model/core/Terminal.js +50 -33
- package/dist/model/core/Terminal.js.map +1 -1
- package/dist/model/dc/ACDCConverter.js +1 -2
- package/dist/model/dc/ACDCConverter.js.map +1 -1
- package/dist/model/dc/DCConductingEquipment.d.ts +2 -2
- package/dist/model/dc/DCConductingEquipment.js +2 -2
- package/dist/model/dc/DCConductingEquipment.js.map +1 -1
- package/dist/model/dc/DCEquipmentContainer.js.map +1 -1
- package/dist/model/extensions/amprion/assets/AMPRIONAssetCommunicationEquipment.d.ts +8 -0
- package/dist/model/extensions/amprion/assets/AMPRIONAssetCommunicationEquipment.js +48 -0
- package/dist/model/extensions/amprion/assets/AMPRIONAssetCommunicationEquipment.js.map +1 -0
- package/dist/model/extensions/amprion/assets/AMPRIONAssetConstructionMaintenance.d.ts +8 -0
- package/dist/model/extensions/amprion/assets/AMPRIONAssetConstructionMaintenance.js +48 -0
- package/dist/model/extensions/amprion/assets/AMPRIONAssetConstructionMaintenance.js.map +1 -0
- package/dist/model/extensions/amprion/assets/AMPRIONAssetPrimaryEquipment.d.ts +8 -0
- package/dist/model/extensions/amprion/assets/AMPRIONAssetPrimaryEquipment.js +48 -0
- package/dist/model/extensions/amprion/assets/AMPRIONAssetPrimaryEquipment.js.map +1 -0
- package/dist/model/extensions/amprion/assets/AMPRIONAssetSecondaryEquipment.d.ts +8 -0
- package/dist/model/extensions/amprion/assets/AMPRIONAssetSecondaryEquipment.js +48 -0
- package/dist/model/extensions/amprion/assets/AMPRIONAssetSecondaryEquipment.js.map +1 -0
- package/dist/model/extensions/amprion/assets/AMPRIONContractingAuthority.d.ts +8 -0
- package/dist/model/extensions/amprion/assets/AMPRIONContractingAuthority.js +48 -0
- package/dist/model/extensions/amprion/assets/AMPRIONContractingAuthority.js.map +1 -0
- package/dist/model/extensions/amprion/assets/AMPRIONCountry.d.ts +11 -0
- package/dist/model/extensions/amprion/assets/AMPRIONCountry.js +49 -0
- package/dist/model/extensions/amprion/assets/AMPRIONCountry.js.map +1 -0
- package/dist/model/extensions/amprion/assets/AMPRIONFacility.d.ts +3 -0
- package/dist/model/extensions/amprion/assets/AMPRIONFacility.js +16 -4
- package/dist/model/extensions/amprion/assets/AMPRIONFacility.js.map +1 -1
- package/dist/model/extensions/amprion/assets/AMPRIONLeaseholder.d.ts +8 -0
- package/dist/model/extensions/amprion/assets/AMPRIONLeaseholder.js +48 -0
- package/dist/model/extensions/amprion/assets/AMPRIONLeaseholder.js.map +1 -0
- package/dist/model/extensions/amprion/assets/AMPRIONLineDistrict.d.ts +8 -0
- package/dist/model/extensions/amprion/assets/AMPRIONLineDistrict.js +48 -0
- package/dist/model/extensions/amprion/assets/AMPRIONLineDistrict.js.map +1 -0
- package/dist/model/extensions/amprion/assets/AMPRIONServiceProvider.d.ts +8 -0
- package/dist/model/extensions/amprion/assets/AMPRIONServiceProvider.js +48 -0
- package/dist/model/extensions/amprion/assets/AMPRIONServiceProvider.js.map +1 -0
- package/dist/model/extensions/amprion/assets/AMPRIONState.d.ts +13 -0
- package/dist/model/extensions/amprion/assets/AMPRIONState.js +58 -0
- package/dist/model/extensions/amprion/assets/AMPRIONState.js.map +1 -0
- package/dist/model/extensions/amprion/core/AMPRIONBay.d.ts +3 -2
- package/dist/model/extensions/amprion/core/AMPRIONBay.js +7 -4
- package/dist/model/extensions/amprion/core/AMPRIONBay.js.map +1 -1
- package/dist/model/extensions/amprion/core/AMPRIONLine.d.ts +8 -1
- package/dist/model/extensions/amprion/core/AMPRIONLine.js +38 -1
- package/dist/model/extensions/amprion/core/AMPRIONLine.js.map +1 -1
- package/dist/model/extensions/amprion/core/AMPRIONSubstation.d.ts +5 -2
- package/dist/model/extensions/amprion/core/AMPRIONSubstation.js +18 -12
- package/dist/model/extensions/amprion/core/AMPRIONSubstation.js.map +1 -1
- package/dist/model/extensions/amprion/model/AMPRIONModel.d.ts +31 -0
- package/dist/model/extensions/amprion/model/AMPRIONModel.js +65 -3
- package/dist/model/extensions/amprion/model/AMPRIONModel.js.map +1 -1
- package/dist/model/extensions/neplan-westnetz/core/WNConnectivityNode.js.map +1 -1
- package/dist/model/meas/Analog.d.ts +7 -0
- package/dist/model/meas/Analog.js +8 -0
- package/dist/model/meas/Analog.js.map +1 -0
- package/dist/model/meas/Measurement.d.ts +8 -0
- package/dist/model/meas/Measurement.js +8 -0
- package/dist/model/meas/Measurement.js.map +1 -0
- package/dist/model/model/Model.d.ts +11 -1
- package/dist/model/model/Model.js +23 -6
- package/dist/model/model/Model.js.map +1 -1
- package/dist/model/operationallimits/CurrentLimit.d.ts +2 -1
- package/dist/model/operationallimits/CurrentLimit.js +13 -0
- package/dist/model/operationallimits/CurrentLimit.js.map +1 -1
- package/dist/model/operationallimits/OperationalLimit.js +1 -1
- package/dist/model/operationallimits/OperationalLimit.js.map +1 -1
- package/dist/model/operations/ControlArea.d.ts +9 -0
- package/dist/model/operations/ControlArea.js +37 -0
- package/dist/model/operations/ControlArea.js.map +1 -0
- package/dist/model/operations/ControlAreaTypeKind.d.ts +5 -0
- package/dist/model/operations/ControlAreaTypeKind.js +10 -0
- package/dist/model/operations/ControlAreaTypeKind.js.map +1 -0
- package/dist/model/wires/ACLineSegment.js +1 -1
- package/dist/model/wires/Breaker.js +4 -2
- package/dist/model/wires/Breaker.js.map +1 -1
- package/dist/model/wires/EnergyConnection.d.ts +7 -0
- package/dist/model/wires/EnergyConnection.js +20 -0
- package/dist/model/wires/EnergyConnection.js.map +1 -0
- package/dist/model/wires/EnergyConsumer.d.ts +4 -4
- package/dist/model/wires/EnergyConsumer.js +5 -5
- package/dist/model/wires/EnergyConsumer.js.map +1 -1
- package/dist/model/wires/EnergySource.d.ts +5 -2
- package/dist/model/wires/EnergySource.js +26 -4
- package/dist/model/wires/EnergySource.js.map +1 -1
- package/dist/model/wires/Line.js +2 -6
- package/dist/model/wires/Line.js.map +1 -1
- package/dist/model/wires/PhaseTapChanger.js.map +1 -1
- package/dist/model/wires/PowerTransformer.js +1 -1
- package/dist/model/wires/PowerTransformer.js.map +1 -1
- package/dist/model/wires/RotatingMachine.d.ts +2 -0
- package/dist/model/wires/RotatingMachine.js +6 -0
- package/dist/model/wires/RotatingMachine.js.map +1 -1
- package/dist/model/wires/TapChanger.d.ts +2 -0
- package/dist/model/wires/TapChanger.js +36 -8
- package/dist/model/wires/TapChanger.js.map +1 -1
- package/dist/util/collection/util-excel.js +35 -19
- package/dist/util/collection/util-excel.js.map +1 -1
- package/dist/util/collection/util-graph.d.ts +8 -1
- package/dist/util/collection/util-graph.js +8 -2
- package/dist/util/collection/util-graph.js.map +1 -1
- package/dist/util/collection/util-graph2tree.js +69 -1
- package/dist/util/collection/util-graph2tree.js.map +1 -1
- package/dist/util/collection/util-tree.d.ts +0 -34
- package/dist/util/collection/util-tree.js +1 -179
- package/dist/util/collection/util-tree.js.map +1 -1
- package/dist/util/util-create.d.ts +3 -1
- package/dist/util/util-create.js +51 -8
- package/dist/util/util-create.js.map +1 -1
- package/dist/util/utils.d.ts +10 -0
- package/dist/util/utils.js +17 -1
- package/dist/util/utils.js.map +1 -1
- package/dist/util/xml/xml.serializer.d.ts +1 -0
- package/dist/util/xml/xml.serializer.js +9 -9
- package/dist/util/xml/xml.serializer.js.map +1 -1
- package/package.json +2 -1
- package/dist/converter/integral7/interface-i7/IUkzExportConfig.d.ts +0 -5
- package/dist/converter/integral7/interface-i7/IUkzExportConfig.js +0 -3
- package/dist/converter/integral7/interface-i7/IUkzExportConfig.js.map +0 -1
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AMPRIONAssetConstructionMaintenance = void 0;
|
|
4
|
+
const AssetOrganisationRole_1 = require("../../../assets/AssetOrganisationRole");
|
|
5
|
+
class AMPRIONAssetConstructionMaintenance extends AssetOrganisationRole_1.AssetOrganisationRole {
|
|
6
|
+
constructor(mrid, name, shortName, description) {
|
|
7
|
+
super(mrid, name, shortName, description);
|
|
8
|
+
}
|
|
9
|
+
static getQuerySPARQL(graphURI) {
|
|
10
|
+
if (graphURI.length > 0) {
|
|
11
|
+
return AMPRIONAssetConstructionMaintenance.sparqlQuery.replace('<http://default/>', graphURI);
|
|
12
|
+
}
|
|
13
|
+
return AMPRIONAssetConstructionMaintenance.sparqlQuery;
|
|
14
|
+
}
|
|
15
|
+
static resolveClassFusekiJSON(data, cimModel) {
|
|
16
|
+
var _a, _b;
|
|
17
|
+
(_b = (_a = data === null || data === void 0 ? void 0 : data.results) === null || _a === void 0 ? void 0 : _a.bindings) === null || _b === void 0 ? void 0 : _b.forEach((value) => {
|
|
18
|
+
const newClass = new AMPRIONAssetConstructionMaintenance();
|
|
19
|
+
newClass.resolveAttributesFusekiJSON(value);
|
|
20
|
+
cimModel.addAssetConstructionMaintenance(newClass);
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.AMPRIONAssetConstructionMaintenance = AMPRIONAssetConstructionMaintenance;
|
|
25
|
+
AMPRIONAssetConstructionMaintenance.sparqlQuery = `
|
|
26
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
27
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
28
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
29
|
+
PREFIX amp: <http://amprion.net/CIM/Extensions#>
|
|
30
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
31
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
32
|
+
|
|
33
|
+
SELECT (STRAFTER(str(?aoUUID), '#_') AS ?uuid)
|
|
34
|
+
(CONCAT(STRBEFORE(str(?aoUUID), '#_'), '#_') AS ?baseIRI)
|
|
35
|
+
?name ?description
|
|
36
|
+
(group_concat(STRAFTER(str(?aUUIDs), '#_');separator=',') as ?assetUUIDs)
|
|
37
|
+
|
|
38
|
+
WHERE {
|
|
39
|
+
GRAPH<http://default/> {
|
|
40
|
+
?aoUUID rdf:type amp:AMPRIONAssetConstructionMaintenance .
|
|
41
|
+
OPTIONAL { ?aoUUID cim:IdentifiedObject.name ?name .}
|
|
42
|
+
OPTIONAL { ?aoUUID cim:IdentifiedObject.description ?description .}
|
|
43
|
+
OPTIONAL { ?aoUUID cim:AssetOrganisationRole.Assets ?aUUIDs .}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
GROUP BY ?aoUUID ?baseIRI ?name ?description
|
|
47
|
+
`;
|
|
48
|
+
//# sourceMappingURL=AMPRIONAssetConstructionMaintenance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AMPRIONAssetConstructionMaintenance.js","sourceRoot":"","sources":["../../../../../src/model/extensions/amprion/assets/AMPRIONAssetConstructionMaintenance.ts"],"names":[],"mappings":";;;AAAA,iFAA8E;AAG9E,MAAa,mCAAoC,SAAQ,6CAAqB;IAC5E,YAAsB,IAAa,EAAE,IAAa,EAAE,SAAkB,EAAE,WAAoB;QAC1F,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC;IAC5C,CAAC;IA4BM,MAAM,CAAC,cAAc,CAAC,QAAgB;QAC3C,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;YACvB,OAAO,mCAAmC,CAAC,WAAW,CAAC,OAAO,CAAC,mBAAmB,EAAE,QAAQ,CAAC,CAAC;SAC/F;QACD,OAAO,mCAAmC,CAAC,WAAW,CAAC;IACzD,CAAC;IAGM,MAAM,CAAC,sBAAsB,CAAC,IAAS,EAAE,QAAsB;;QACpE,YAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,0CAAE,QAAQ,0CAAE,OAAO,CAAC,CAAC,KAAU,EAAE,EAAE;YAC9C,MAAM,QAAQ,GAAG,IAAI,mCAAmC,EAAE,CAAC;YAC3D,QAAQ,CAAC,2BAA2B,CAAC,KAAK,CAAC,CAAC;YAC5C,QAAQ,CAAC,+BAA+B,CAAC,QAAQ,CAAC,CAAC;QACrD,CAAC,EAAE;IACL,CAAC;;AA7CH,kFA+CC;AAzCe,+CAAW,GAAW;;;;;;;;;;;;;;;;;;;;;;KAsBjC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AssetOrganisationRole } from '../../../assets/AssetOrganisationRole';
|
|
2
|
+
import { AMPRIONModel } from '../model/AMPRIONModel';
|
|
3
|
+
export declare class AMPRIONAssetPrimaryEquipment extends AssetOrganisationRole {
|
|
4
|
+
protected constructor(mrid?: string, name?: string, shortName?: string, description?: string);
|
|
5
|
+
static sparqlQuery: string;
|
|
6
|
+
static getQuerySPARQL(graphURI: string): string;
|
|
7
|
+
static resolveClassFusekiJSON(data: any, cimModel: AMPRIONModel): void;
|
|
8
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AMPRIONAssetPrimaryEquipment = void 0;
|
|
4
|
+
const AssetOrganisationRole_1 = require("../../../assets/AssetOrganisationRole");
|
|
5
|
+
class AMPRIONAssetPrimaryEquipment extends AssetOrganisationRole_1.AssetOrganisationRole {
|
|
6
|
+
constructor(mrid, name, shortName, description) {
|
|
7
|
+
super(mrid, name, shortName, description);
|
|
8
|
+
}
|
|
9
|
+
static getQuerySPARQL(graphURI) {
|
|
10
|
+
if (graphURI.length > 0) {
|
|
11
|
+
return AMPRIONAssetPrimaryEquipment.sparqlQuery.replace('<http://default/>', graphURI);
|
|
12
|
+
}
|
|
13
|
+
return AMPRIONAssetPrimaryEquipment.sparqlQuery;
|
|
14
|
+
}
|
|
15
|
+
static resolveClassFusekiJSON(data, cimModel) {
|
|
16
|
+
var _a, _b;
|
|
17
|
+
(_b = (_a = data === null || data === void 0 ? void 0 : data.results) === null || _a === void 0 ? void 0 : _a.bindings) === null || _b === void 0 ? void 0 : _b.forEach((value) => {
|
|
18
|
+
const newClass = new AMPRIONAssetPrimaryEquipment();
|
|
19
|
+
newClass.resolveAttributesFusekiJSON(value);
|
|
20
|
+
cimModel.addAssetPrimaryEquipment(newClass);
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.AMPRIONAssetPrimaryEquipment = AMPRIONAssetPrimaryEquipment;
|
|
25
|
+
AMPRIONAssetPrimaryEquipment.sparqlQuery = `
|
|
26
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
27
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
28
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
29
|
+
PREFIX amp: <http://amprion.net/CIM/Extensions#>
|
|
30
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
31
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
32
|
+
|
|
33
|
+
SELECT (STRAFTER(str(?aoUUID), '#_') AS ?uuid)
|
|
34
|
+
(CONCAT(STRBEFORE(str(?aoUUID), '#_'), '#_') AS ?baseIRI)
|
|
35
|
+
?name ?description
|
|
36
|
+
(group_concat(STRAFTER(str(?aUUIDs), '#_');separator=',') as ?assetUUIDs)
|
|
37
|
+
|
|
38
|
+
WHERE {
|
|
39
|
+
GRAPH<http://default/> {
|
|
40
|
+
?aoUUID rdf:type amp:AMPRIONAssetPrimaryEquipment .
|
|
41
|
+
OPTIONAL { ?aoUUID cim:IdentifiedObject.name ?name .}
|
|
42
|
+
OPTIONAL { ?aoUUID cim:IdentifiedObject.description ?description .}
|
|
43
|
+
OPTIONAL { ?aoUUID cim:AssetOrganisationRole.Assets ?aUUIDs .}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
GROUP BY ?aoUUID ?baseIRI ?name ?description
|
|
47
|
+
`;
|
|
48
|
+
//# sourceMappingURL=AMPRIONAssetPrimaryEquipment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AMPRIONAssetPrimaryEquipment.js","sourceRoot":"","sources":["../../../../../src/model/extensions/amprion/assets/AMPRIONAssetPrimaryEquipment.ts"],"names":[],"mappings":";;;AAAA,iFAA8E;AAG9E,MAAa,4BAA6B,SAAQ,6CAAqB;IACrE,YAAsB,IAAa,EAAE,IAAa,EAAE,SAAkB,EAAE,WAAoB;QAC1F,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC;IAC5C,CAAC;IA4BM,MAAM,CAAC,cAAc,CAAC,QAAgB;QAC3C,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;YACvB,OAAO,4BAA4B,CAAC,WAAW,CAAC,OAAO,CAAC,mBAAmB,EAAE,QAAQ,CAAC,CAAC;SACxF;QACD,OAAO,4BAA4B,CAAC,WAAW,CAAC;IAClD,CAAC;IAGM,MAAM,CAAC,sBAAsB,CAAC,IAAS,EAAE,QAAsB;;QACpE,YAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,0CAAE,QAAQ,0CAAE,OAAO,CAAC,CAAC,KAAU,EAAE,EAAE;YAC9C,MAAM,QAAQ,GAAG,IAAI,4BAA4B,EAAE,CAAC;YACpD,QAAQ,CAAC,2BAA2B,CAAC,KAAK,CAAC,CAAC;YAC5C,QAAQ,CAAC,wBAAwB,CAAC,QAAQ,CAAC,CAAC;QAC9C,CAAC,EAAE;IACL,CAAC;;AA7CH,oEA+CC;AAzCe,wCAAW,GAAW;;;;;;;;;;;;;;;;;;;;;;KAsBjC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AssetOrganisationRole } from '../../../assets/AssetOrganisationRole';
|
|
2
|
+
import { AMPRIONModel } from '../model/AMPRIONModel';
|
|
3
|
+
export declare class AMPRIONAssetSecondaryEquipment extends AssetOrganisationRole {
|
|
4
|
+
protected constructor(mrid?: string, name?: string, shortName?: string, description?: string);
|
|
5
|
+
static sparqlQuery: string;
|
|
6
|
+
static getQuerySPARQL(graphURI: string): string;
|
|
7
|
+
static resolveClassFusekiJSON(data: any, cimModel: AMPRIONModel): void;
|
|
8
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AMPRIONAssetSecondaryEquipment = void 0;
|
|
4
|
+
const AssetOrganisationRole_1 = require("../../../assets/AssetOrganisationRole");
|
|
5
|
+
class AMPRIONAssetSecondaryEquipment extends AssetOrganisationRole_1.AssetOrganisationRole {
|
|
6
|
+
constructor(mrid, name, shortName, description) {
|
|
7
|
+
super(mrid, name, shortName, description);
|
|
8
|
+
}
|
|
9
|
+
static getQuerySPARQL(graphURI) {
|
|
10
|
+
if (graphURI.length > 0) {
|
|
11
|
+
return AMPRIONAssetSecondaryEquipment.sparqlQuery.replace('<http://default/>', graphURI);
|
|
12
|
+
}
|
|
13
|
+
return AMPRIONAssetSecondaryEquipment.sparqlQuery;
|
|
14
|
+
}
|
|
15
|
+
static resolveClassFusekiJSON(data, cimModel) {
|
|
16
|
+
var _a, _b;
|
|
17
|
+
(_b = (_a = data === null || data === void 0 ? void 0 : data.results) === null || _a === void 0 ? void 0 : _a.bindings) === null || _b === void 0 ? void 0 : _b.forEach((value) => {
|
|
18
|
+
const newClass = new AMPRIONAssetSecondaryEquipment();
|
|
19
|
+
newClass.resolveAttributesFusekiJSON(value);
|
|
20
|
+
cimModel.addAssetSecondaryEquipment(newClass);
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.AMPRIONAssetSecondaryEquipment = AMPRIONAssetSecondaryEquipment;
|
|
25
|
+
AMPRIONAssetSecondaryEquipment.sparqlQuery = `
|
|
26
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
27
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
28
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
29
|
+
PREFIX amp: <http://amprion.net/CIM/Extensions#>
|
|
30
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
31
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
32
|
+
|
|
33
|
+
SELECT (STRAFTER(str(?aoUUID), '#_') AS ?uuid)
|
|
34
|
+
(CONCAT(STRBEFORE(str(?aoUUID), '#_'), '#_') AS ?baseIRI)
|
|
35
|
+
?name ?description
|
|
36
|
+
(group_concat(STRAFTER(str(?aUUIDs), '#_');separator=',') as ?assetUUIDs)
|
|
37
|
+
|
|
38
|
+
WHERE {
|
|
39
|
+
GRAPH<http://default/> {
|
|
40
|
+
?aoUUID rdf:type amp:AMPRIONAssetSecondaryEquipment .
|
|
41
|
+
OPTIONAL { ?aoUUID cim:IdentifiedObject.name ?name .}
|
|
42
|
+
OPTIONAL { ?aoUUID cim:IdentifiedObject.description ?description .}
|
|
43
|
+
OPTIONAL { ?aoUUID cim:AssetOrganisationRole.Assets ?aUUIDs .}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
GROUP BY ?aoUUID ?baseIRI ?name ?description
|
|
47
|
+
`;
|
|
48
|
+
//# sourceMappingURL=AMPRIONAssetSecondaryEquipment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AMPRIONAssetSecondaryEquipment.js","sourceRoot":"","sources":["../../../../../src/model/extensions/amprion/assets/AMPRIONAssetSecondaryEquipment.ts"],"names":[],"mappings":";;;AAAA,iFAA8E;AAG9E,MAAa,8BAA+B,SAAQ,6CAAqB;IACvE,YAAsB,IAAa,EAAE,IAAa,EAAE,SAAkB,EAAE,WAAoB;QAC1F,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC;IAC5C,CAAC;IA4BM,MAAM,CAAC,cAAc,CAAC,QAAgB;QAC3C,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;YACvB,OAAO,8BAA8B,CAAC,WAAW,CAAC,OAAO,CAAC,mBAAmB,EAAE,QAAQ,CAAC,CAAC;SAC1F;QACD,OAAO,8BAA8B,CAAC,WAAW,CAAC;IACpD,CAAC;IAGM,MAAM,CAAC,sBAAsB,CAAC,IAAS,EAAE,QAAsB;;QACpE,YAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,0CAAE,QAAQ,0CAAE,OAAO,CAAC,CAAC,KAAU,EAAE,EAAE;YAC9C,MAAM,QAAQ,GAAG,IAAI,8BAA8B,EAAE,CAAC;YACtD,QAAQ,CAAC,2BAA2B,CAAC,KAAK,CAAC,CAAC;YAC5C,QAAQ,CAAC,0BAA0B,CAAC,QAAQ,CAAC,CAAC;QAChD,CAAC,EAAE;IACL,CAAC;;AA7CH,wEA+CC;AAzCe,0CAAW,GAAW;;;;;;;;;;;;;;;;;;;;;;KAsBjC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AssetOrganisationRole } from '../../../assets/AssetOrganisationRole';
|
|
2
|
+
import { AMPRIONModel } from '../model/AMPRIONModel';
|
|
3
|
+
export declare class AMPRIONContractingAuthority extends AssetOrganisationRole {
|
|
4
|
+
protected constructor(mrid?: string, name?: string, shortName?: string, description?: string);
|
|
5
|
+
static sparqlQuery: string;
|
|
6
|
+
static getQuerySPARQL(graphURI: string): string;
|
|
7
|
+
static resolveClassFusekiJSON(data: any, cimModel: AMPRIONModel): void;
|
|
8
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AMPRIONContractingAuthority = void 0;
|
|
4
|
+
const AssetOrganisationRole_1 = require("../../../assets/AssetOrganisationRole");
|
|
5
|
+
class AMPRIONContractingAuthority extends AssetOrganisationRole_1.AssetOrganisationRole {
|
|
6
|
+
constructor(mrid, name, shortName, description) {
|
|
7
|
+
super(mrid, name, shortName, description);
|
|
8
|
+
}
|
|
9
|
+
static getQuerySPARQL(graphURI) {
|
|
10
|
+
if (graphURI.length > 0) {
|
|
11
|
+
return AMPRIONContractingAuthority.sparqlQuery.replace('<http://default/>', graphURI);
|
|
12
|
+
}
|
|
13
|
+
return AMPRIONContractingAuthority.sparqlQuery;
|
|
14
|
+
}
|
|
15
|
+
static resolveClassFusekiJSON(data, cimModel) {
|
|
16
|
+
var _a, _b;
|
|
17
|
+
(_b = (_a = data === null || data === void 0 ? void 0 : data.results) === null || _a === void 0 ? void 0 : _a.bindings) === null || _b === void 0 ? void 0 : _b.forEach((value) => {
|
|
18
|
+
const newClass = new AMPRIONContractingAuthority();
|
|
19
|
+
newClass.resolveAttributesFusekiJSON(value);
|
|
20
|
+
cimModel.addContractingAuthority(newClass);
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.AMPRIONContractingAuthority = AMPRIONContractingAuthority;
|
|
25
|
+
AMPRIONContractingAuthority.sparqlQuery = `
|
|
26
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
27
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
28
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
29
|
+
PREFIX amp: <http://amprion.net/CIM/Extensions#>
|
|
30
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
31
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
32
|
+
|
|
33
|
+
SELECT (STRAFTER(str(?aoUUID), '#_') AS ?uuid)
|
|
34
|
+
(CONCAT(STRBEFORE(str(?aoUUID), '#_'), '#_') AS ?baseIRI)
|
|
35
|
+
?name ?description
|
|
36
|
+
(group_concat(STRAFTER(str(?aUUIDs), '#_');separator=',') as ?assetUUIDs)
|
|
37
|
+
|
|
38
|
+
WHERE {
|
|
39
|
+
GRAPH<http://default/> {
|
|
40
|
+
?aoUUID rdf:type amp:AMPRIONContractingAuthority .
|
|
41
|
+
OPTIONAL { ?aoUUID cim:IdentifiedObject.name ?name .}
|
|
42
|
+
OPTIONAL { ?aoUUID cim:IdentifiedObject.description ?description .}
|
|
43
|
+
OPTIONAL { ?aoUUID cim:AssetOrganisationRole.Assets ?aUUIDs .}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
GROUP BY ?aoUUID ?baseIRI ?name ?description
|
|
47
|
+
`;
|
|
48
|
+
//# sourceMappingURL=AMPRIONContractingAuthority.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AMPRIONContractingAuthority.js","sourceRoot":"","sources":["../../../../../src/model/extensions/amprion/assets/AMPRIONContractingAuthority.ts"],"names":[],"mappings":";;;AAAA,iFAA8E;AAG9E,MAAa,2BAA4B,SAAQ,6CAAqB;IACpE,YAAsB,IAAa,EAAE,IAAa,EAAE,SAAkB,EAAE,WAAoB;QAC1F,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC;IAC5C,CAAC;IA4BM,MAAM,CAAC,cAAc,CAAC,QAAgB;QAC3C,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;YACvB,OAAO,2BAA2B,CAAC,WAAW,CAAC,OAAO,CAAC,mBAAmB,EAAE,QAAQ,CAAC,CAAC;SACvF;QACD,OAAO,2BAA2B,CAAC,WAAW,CAAC;IACjD,CAAC;IAGM,MAAM,CAAC,sBAAsB,CAAC,IAAS,EAAE,QAAsB;;QACpE,YAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,0CAAE,QAAQ,0CAAE,OAAO,CAAC,CAAC,KAAU,EAAE,EAAE;YAC9C,MAAM,QAAQ,GAAG,IAAI,2BAA2B,EAAE,CAAC;YACnD,QAAQ,CAAC,2BAA2B,CAAC,KAAK,CAAC,CAAC;YAC5C,QAAQ,CAAC,uBAAuB,CAAC,QAAQ,CAAC,CAAC;QAC7C,CAAC,EAAE;IACL,CAAC;;AA7CH,kEA+CC;AAzCe,uCAAW,GAAW;;;;;;;;;;;;;;;;;;;;;;KAsBjC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AMPRIONModel } from '../model/AMPRIONModel';
|
|
2
|
+
import { IdentifiedObject } from '../../../core/IdentifiedObject';
|
|
3
|
+
import { AMPRIONState } from './AMPRIONState';
|
|
4
|
+
export declare class AMPRIONCountry extends IdentifiedObject {
|
|
5
|
+
states: Map<string, AMPRIONState>;
|
|
6
|
+
protected constructor(mrid?: string, name?: string, shortName?: string, description?: string);
|
|
7
|
+
static sparqlQuery: string;
|
|
8
|
+
addState(obj: AMPRIONState): void;
|
|
9
|
+
static getQuerySPARQL(graphURI: string): string;
|
|
10
|
+
static resolveClassFusekiJSON(data: any, cimModel: AMPRIONModel): void;
|
|
11
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AMPRIONCountry = void 0;
|
|
4
|
+
const IdentifiedObject_1 = require("../../../core/IdentifiedObject");
|
|
5
|
+
class AMPRIONCountry extends IdentifiedObject_1.IdentifiedObject {
|
|
6
|
+
constructor(mrid, name, shortName, description) {
|
|
7
|
+
super(mrid, name, shortName, description);
|
|
8
|
+
this.states = new Map();
|
|
9
|
+
}
|
|
10
|
+
addState(obj) {
|
|
11
|
+
this.states.set(obj.getUUID(), obj);
|
|
12
|
+
}
|
|
13
|
+
static getQuerySPARQL(graphURI) {
|
|
14
|
+
if (graphURI.length > 0) {
|
|
15
|
+
return AMPRIONCountry.sparqlQuery.replace('<http://default/>', graphURI);
|
|
16
|
+
}
|
|
17
|
+
return AMPRIONCountry.sparqlQuery;
|
|
18
|
+
}
|
|
19
|
+
static resolveClassFusekiJSON(data, cimModel) {
|
|
20
|
+
var _a, _b;
|
|
21
|
+
(_b = (_a = data === null || data === void 0 ? void 0 : data.results) === null || _a === void 0 ? void 0 : _a.bindings) === null || _b === void 0 ? void 0 : _b.forEach((value) => {
|
|
22
|
+
const newClass = new AMPRIONCountry();
|
|
23
|
+
newClass.resolveAttributesFusekiJSON(value);
|
|
24
|
+
cimModel.addCountry(newClass);
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.AMPRIONCountry = AMPRIONCountry;
|
|
29
|
+
AMPRIONCountry.sparqlQuery = `
|
|
30
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
31
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
32
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
33
|
+
PREFIX amp: <http://amprion.net/CIM/Extensions#>
|
|
34
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
35
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
36
|
+
|
|
37
|
+
SELECT (STRAFTER(str(?aoUUID), '#_') AS ?uuid)
|
|
38
|
+
(CONCAT(STRBEFORE(str(?aoUUID), '#_'), '#_') AS ?baseIRI)
|
|
39
|
+
?name ?description
|
|
40
|
+
|
|
41
|
+
WHERE {
|
|
42
|
+
GRAPH<http://default/> {
|
|
43
|
+
?aoUUID rdf:type amp:AMPRIONCountry .
|
|
44
|
+
OPTIONAL { ?aoUUID cim:IdentifiedObject.name ?name .}
|
|
45
|
+
OPTIONAL { ?aoUUID cim:IdentifiedObject.description ?description .}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
`;
|
|
49
|
+
//# sourceMappingURL=AMPRIONCountry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AMPRIONCountry.js","sourceRoot":"","sources":["../../../../../src/model/extensions/amprion/assets/AMPRIONCountry.ts"],"names":[],"mappings":";;;AACA,qEAAkE;AAGlE,MAAa,cAAe,SAAQ,mCAAgB;IAIlD,YAAsB,IAAa,EAAE,IAAa,EAAE,SAAkB,EAAE,WAAoB;QAC1F,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC;QAH5C,WAAM,GAA8B,IAAI,GAAG,EAAE,CAAC;IAI9C,CAAC;IAyBM,QAAQ,CAAC,GAAiB;QAC/B,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,OAAO,EAAE,EAAE,GAAG,CAAC,CAAC;IACtC,CAAC;IAEM,MAAM,CAAC,cAAc,CAAC,QAAgB;QAC3C,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;YACvB,OAAO,cAAc,CAAC,WAAW,CAAC,OAAO,CAAC,mBAAmB,EAAE,QAAQ,CAAC,CAAC;SAC1E;QACD,OAAO,cAAc,CAAC,WAAW,CAAC;IACpC,CAAC;IAGM,MAAM,CAAC,sBAAsB,CAAC,IAAS,EAAE,QAAsB;;QACpE,YAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,0CAAE,QAAQ,0CAAE,OAAO,CAAC,CAAC,KAAU,EAAE,EAAE;YAC9C,MAAM,QAAQ,GAAG,IAAI,cAAc,EAAE,CAAC;YACtC,QAAQ,CAAC,2BAA2B,CAAC,KAAK,CAAC,CAAC;YAC5C,QAAQ,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;QAChC,CAAC,EAAE;IACL,CAAC;;AAjDH,wCAmDC;AA1Ce,0BAAW,GAAW;;;;;;;;;;;;;;;;;;;KAmBjC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Facility } from '../../../assets/Facility';
|
|
2
2
|
import { AMPRIONModel } from "../model/AMPRIONModel";
|
|
3
3
|
import { AMPRIONStatusTypeKind } from "./AMPRIONStatusTypeKind";
|
|
4
|
+
import { AMPRIONState } from './AMPRIONState';
|
|
4
5
|
export declare class AMPRIONFacility extends Facility {
|
|
5
6
|
rcmValue: number;
|
|
6
7
|
installationDate: string;
|
|
@@ -16,6 +17,8 @@ export declare class AMPRIONFacility extends Facility {
|
|
|
16
17
|
plannedName: string;
|
|
17
18
|
plannedShortName: string;
|
|
18
19
|
shortName2: string;
|
|
20
|
+
state: AMPRIONState;
|
|
21
|
+
stateUUID: string;
|
|
19
22
|
constructor(mrid?: string, name?: string, shortName?: string, description?: string);
|
|
20
23
|
static resolveClassFusekiJSON(data: any, cimModel: AMPRIONModel): void;
|
|
21
24
|
resolveAttributesFusekiJSON(value: any): void;
|
|
@@ -18,8 +18,6 @@ class AMPRIONFacility extends Facility_1.Facility {
|
|
|
18
18
|
}
|
|
19
19
|
resolveAttributesFusekiJSON(value) {
|
|
20
20
|
super.resolveAttributesFusekiJSON(value);
|
|
21
|
-
if (this.mrid === "023a4854-11a8-66bc-e053-2d02780a1139")
|
|
22
|
-
console.log(".");
|
|
23
21
|
this.rcmValue = utils_1.getNumberValue(value, 'rcmValue');
|
|
24
22
|
this.installationDate = utils_1.getValue(value, 'installationDate');
|
|
25
23
|
this.number = utils_1.getValue(value, 'number');
|
|
@@ -34,9 +32,11 @@ class AMPRIONFacility extends Facility_1.Facility {
|
|
|
34
32
|
this.plannedName = utils_1.getValue(value, 'plannedName');
|
|
35
33
|
this.plannedShortName = utils_1.getValue(value, 'plannedShortName');
|
|
36
34
|
this.shortName2 = utils_1.getValue(value, 'shortName2');
|
|
35
|
+
this.stateUUID = utils_1.getValue(value, 'stateUUID');
|
|
37
36
|
}
|
|
38
37
|
resolveParsedAssociations(cimModel) {
|
|
39
38
|
super.resolveParsedAssociations(cimModel);
|
|
39
|
+
this.state = cimModel.states.get(this.stateUUID);
|
|
40
40
|
}
|
|
41
41
|
static getQuerySPARQL(graphURI) {
|
|
42
42
|
if (graphURI.length > 0) {
|
|
@@ -62,6 +62,9 @@ AMPRIONFacility.sparqlQuery = `
|
|
|
62
62
|
|
|
63
63
|
?installationDate2 ?name2 ?plannedInstallation ?plannedName ?plannedShortName ?shortName2
|
|
64
64
|
(strafter(strafter(str(?aContainerUUID), '#'), '_') AS ?assetContainerUUID)
|
|
65
|
+
(strafter(strafter(str(?sUUID), '#'), '_') AS ?stateUUID)
|
|
66
|
+
(strafter(strafter(str(?aiUUID), '#'), '_') AS ?assetInfoUUID)
|
|
67
|
+
(group_concat(STRAFTER(str(?psrUUIDs), '#_');separator=',') as ?powerSystemResourceUUIDs)
|
|
65
68
|
|
|
66
69
|
WHERE {
|
|
67
70
|
GRAPH <http://default/> {
|
|
@@ -89,10 +92,19 @@ AMPRIONFacility.sparqlQuery = `
|
|
|
89
92
|
OPTIONAL { ?mrid amp:Facility.plannedShortName ?plannedShortName .}
|
|
90
93
|
OPTIONAL { ?mrid amp:Facility.shortName2 ?shortName2 .}
|
|
91
94
|
|
|
92
|
-
OPTIONAL { ?mrid cim:Asset.AssetContainer ?aContainerUUID .}
|
|
93
|
-
|
|
94
95
|
OPTIONAL { ?mrid cim:Facility.kind ?kind .}
|
|
96
|
+
OPTIONAL { ?mrid cim:Asset.AssetContainer ?aContainerUUID .}
|
|
97
|
+
OPTIONAL { ?mrid amp:AMPRIONAsset.State ?sUUID .}
|
|
98
|
+
|
|
99
|
+
OPTIONAL { ?mrid cim:Asset.AssetInfo ?aiUUID .}
|
|
100
|
+
|
|
101
|
+
OPTIONAL {?mrid cim:Asset.PowerSystemResources ?psrUUIDs . }
|
|
95
102
|
}
|
|
96
103
|
}
|
|
104
|
+
GROUP BY ?mrid ?baseIRI ?name ?shortName ?description ?installationDate
|
|
105
|
+
?rcmValue ?number ?importance ?operatingLife ?exchangeYear
|
|
106
|
+
?kind ?type ?statusEnum ?installationDate2 ?name2 ?plannedInstallation
|
|
107
|
+
?plannedName ?plannedShortName ?shortName2
|
|
108
|
+
?aContainerUUID ?sUUID ?aiUUID
|
|
97
109
|
`;
|
|
98
110
|
//# sourceMappingURL=AMPRIONFacility.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AMPRIONFacility.js","sourceRoot":"","sources":["../../../../../src/model/extensions/amprion/assets/AMPRIONFacility.ts"],"names":[],"mappings":";;;AAAA,uDAAkD;AAElD,kDAA8E;AAC9E,mEAA8D;
|
|
1
|
+
{"version":3,"file":"AMPRIONFacility.js","sourceRoot":"","sources":["../../../../../src/model/extensions/amprion/assets/AMPRIONFacility.ts"],"names":[],"mappings":";;;AAAA,uDAAkD;AAElD,kDAA8E;AAC9E,mEAA8D;AAG9D,MAAa,eAAgB,SAAQ,mBAAQ;IAwB3C,YAAY,IAAa,EAAE,IAAa,EAAE,SAAkB,EAAE,WAAoB;QAChF,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC;IAC5C,CAAC;IAGM,MAAM,CAAC,sBAAsB,CAAC,IAAS,EAAE,QAAsB;;QACpE,YAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,0CAAE,QAAQ,0CAAE,OAAO,CAAC,CAAC,KAAU,EAAE,EAAE;YAC9C,MAAM,QAAQ,GAAG,IAAI,eAAe,EAAE,CAAC;YACvC,QAAQ,CAAC,2BAA2B,CAAC,KAAK,CAAC,CAAC;YAC5C,QAAQ,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;QACjC,CAAC,EAAE;IACL,CAAC;IAGM,2BAA2B,CAAC,KAAU;QAC3C,KAAK,CAAC,2BAA2B,CAAC,KAAK,CAAC,CAAC;QACzC,IAAI,CAAC,QAAQ,GAAG,sBAAc,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;QAClD,IAAI,CAAC,gBAAgB,GAAG,gBAAQ,CAAC,KAAK,EAAE,kBAAkB,CAAC,CAAC;QAC5D,IAAI,CAAC,MAAM,GAAG,gBAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;QACxC,IAAI,CAAC,UAAU,GAAG,sBAAc,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC;QACtD,IAAI,CAAC,aAAa,GAAG,sBAAc,CAAC,KAAK,EAAE,eAAe,CAAC,CAAC;QAC5D,IAAI,CAAC,YAAY,GAAG,gBAAQ,CAAC,KAAK,EAAE,cAAc,CAAC,CAAC;QACpD,IAAI,CAAC,SAAS,GAAG,sBAAc,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC;QAEpD,IAAI,CAAC,SAAS,GAAG,6CAAqB,CAAC,oBAAY,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC;QAEtE,IAAI,CAAC,iBAAiB,GAAG,gBAAQ,CAAC,KAAK,EAAE,mBAAmB,CAAC,CAAC;QAC9D,IAAI,CAAC,KAAK,GAAG,gBAAQ,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QACtC,IAAI,CAAC,mBAAmB,GAAG,gBAAQ,CAAC,KAAK,EAAE,qBAAqB,CAAC,CAAC;QAClE,IAAI,CAAC,WAAW,GAAG,gBAAQ,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC;QAClD,IAAI,CAAC,gBAAgB,GAAG,gBAAQ,CAAC,KAAK,EAAE,kBAAkB,CAAC,CAAC;QAC5D,IAAI,CAAC,UAAU,GAAG,gBAAQ,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC;QAEhD,IAAI,CAAC,SAAS,GAAG,gBAAQ,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC;IAChD,CAAC;IAGM,yBAAyB,CAAC,QAAsB;QACrD,KAAK,CAAC,yBAAyB,CAAC,QAAQ,CAAC,CAAC;QAC1C,IAAI,CAAC,KAAK,GAAG,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IACnD,CAAC;IAGM,MAAM,CAAC,cAAc,CAAC,QAAgB;QAC3C,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;YACvB,OAAO,eAAe,CAAC,WAAW,CAAC,OAAO,CAAC,mBAAmB,EAAE,QAAQ,CAAC,CAAC;SAC3E;QACD,OAAO,eAAe,CAAC,WAAW,CAAC;IACrC,CAAC;;AAxEH,0CAwIC;AA7De,2BAAW,GAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA4DjC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AssetOrganisationRole } from '../../../assets/AssetOrganisationRole';
|
|
2
|
+
import { AMPRIONModel } from '../model/AMPRIONModel';
|
|
3
|
+
export declare class AMPRIONLeaseholder extends AssetOrganisationRole {
|
|
4
|
+
protected constructor(mrid?: string, name?: string, shortName?: string, description?: string);
|
|
5
|
+
static sparqlQuery: string;
|
|
6
|
+
static getQuerySPARQL(graphURI: string): string;
|
|
7
|
+
static resolveClassFusekiJSON(data: any, cimModel: AMPRIONModel): void;
|
|
8
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AMPRIONLeaseholder = void 0;
|
|
4
|
+
const AssetOrganisationRole_1 = require("../../../assets/AssetOrganisationRole");
|
|
5
|
+
class AMPRIONLeaseholder extends AssetOrganisationRole_1.AssetOrganisationRole {
|
|
6
|
+
constructor(mrid, name, shortName, description) {
|
|
7
|
+
super(mrid, name, shortName, description);
|
|
8
|
+
}
|
|
9
|
+
static getQuerySPARQL(graphURI) {
|
|
10
|
+
if (graphURI.length > 0) {
|
|
11
|
+
return AMPRIONLeaseholder.sparqlQuery.replace('<http://default/>', graphURI);
|
|
12
|
+
}
|
|
13
|
+
return AMPRIONLeaseholder.sparqlQuery;
|
|
14
|
+
}
|
|
15
|
+
static resolveClassFusekiJSON(data, cimModel) {
|
|
16
|
+
var _a, _b;
|
|
17
|
+
(_b = (_a = data === null || data === void 0 ? void 0 : data.results) === null || _a === void 0 ? void 0 : _a.bindings) === null || _b === void 0 ? void 0 : _b.forEach((value) => {
|
|
18
|
+
const newClass = new AMPRIONLeaseholder();
|
|
19
|
+
newClass.resolveAttributesFusekiJSON(value);
|
|
20
|
+
cimModel.addLeaseholder(newClass);
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.AMPRIONLeaseholder = AMPRIONLeaseholder;
|
|
25
|
+
AMPRIONLeaseholder.sparqlQuery = `
|
|
26
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
27
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
28
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
29
|
+
PREFIX amp: <http://amprion.net/CIM/Extensions#>
|
|
30
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
31
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
32
|
+
|
|
33
|
+
SELECT (STRAFTER(str(?aoUUID), '#_') AS ?uuid)
|
|
34
|
+
(CONCAT(STRBEFORE(str(?aoUUID), '#_'), '#_') AS ?baseIRI)
|
|
35
|
+
?name ?description
|
|
36
|
+
(group_concat(STRAFTER(str(?aUUIDs), '#_');separator=',') as ?assetUUIDs)
|
|
37
|
+
|
|
38
|
+
WHERE {
|
|
39
|
+
GRAPH<http://default/> {
|
|
40
|
+
?aoUUID rdf:type amp:AMPRIONLeaseholder .
|
|
41
|
+
OPTIONAL { ?aoUUID cim:IdentifiedObject.name ?name .}
|
|
42
|
+
OPTIONAL { ?aoUUID cim:IdentifiedObject.description ?description .}
|
|
43
|
+
OPTIONAL { ?aoUUID cim:AssetOrganisationRole.Assets ?aUUIDs .}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
GROUP BY ?aoUUID ?baseIRI ?name ?description
|
|
47
|
+
`;
|
|
48
|
+
//# sourceMappingURL=AMPRIONLeaseholder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AMPRIONLeaseholder.js","sourceRoot":"","sources":["../../../../../src/model/extensions/amprion/assets/AMPRIONLeaseholder.ts"],"names":[],"mappings":";;;AAAA,iFAA8E;AAG9E,MAAa,kBAAmB,SAAQ,6CAAqB;IAC3D,YAAsB,IAAa,EAAE,IAAa,EAAE,SAAkB,EAAE,WAAoB;QAC1F,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC;IAC5C,CAAC;IA4BM,MAAM,CAAC,cAAc,CAAC,QAAgB;QAC3C,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;YACvB,OAAO,kBAAkB,CAAC,WAAW,CAAC,OAAO,CAAC,mBAAmB,EAAE,QAAQ,CAAC,CAAC;SAC9E;QACD,OAAO,kBAAkB,CAAC,WAAW,CAAC;IACxC,CAAC;IAGM,MAAM,CAAC,sBAAsB,CAAC,IAAS,EAAE,QAAsB;;QACpE,YAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,0CAAE,QAAQ,0CAAE,OAAO,CAAC,CAAC,KAAU,EAAE,EAAE;YAC9C,MAAM,QAAQ,GAAG,IAAI,kBAAkB,EAAE,CAAC;YAC1C,QAAQ,CAAC,2BAA2B,CAAC,KAAK,CAAC,CAAC;YAC5C,QAAQ,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;QACpC,CAAC,EAAE;IACL,CAAC;;AA7CH,gDA+CC;AAzCe,8BAAW,GAAW;;;;;;;;;;;;;;;;;;;;;;KAsBjC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AssetOrganisationRole } from '../../../assets/AssetOrganisationRole';
|
|
2
|
+
import { AMPRIONModel } from '../model/AMPRIONModel';
|
|
3
|
+
export declare class AMPRIONLineDistrict extends AssetOrganisationRole {
|
|
4
|
+
protected constructor(mrid?: string, name?: string, shortName?: string, description?: string);
|
|
5
|
+
static sparqlQuery: string;
|
|
6
|
+
static getQuerySPARQL(graphURI: string): string;
|
|
7
|
+
static resolveClassFusekiJSON(data: any, cimModel: AMPRIONModel): void;
|
|
8
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AMPRIONLineDistrict = void 0;
|
|
4
|
+
const AssetOrganisationRole_1 = require("../../../assets/AssetOrganisationRole");
|
|
5
|
+
class AMPRIONLineDistrict extends AssetOrganisationRole_1.AssetOrganisationRole {
|
|
6
|
+
constructor(mrid, name, shortName, description) {
|
|
7
|
+
super(mrid, name, shortName, description);
|
|
8
|
+
}
|
|
9
|
+
static getQuerySPARQL(graphURI) {
|
|
10
|
+
if (graphURI.length > 0) {
|
|
11
|
+
return AMPRIONLineDistrict.sparqlQuery.replace('<http://default/>', graphURI);
|
|
12
|
+
}
|
|
13
|
+
return AMPRIONLineDistrict.sparqlQuery;
|
|
14
|
+
}
|
|
15
|
+
static resolveClassFusekiJSON(data, cimModel) {
|
|
16
|
+
var _a, _b;
|
|
17
|
+
(_b = (_a = data === null || data === void 0 ? void 0 : data.results) === null || _a === void 0 ? void 0 : _a.bindings) === null || _b === void 0 ? void 0 : _b.forEach((value) => {
|
|
18
|
+
const newClass = new AMPRIONLineDistrict();
|
|
19
|
+
newClass.resolveAttributesFusekiJSON(value);
|
|
20
|
+
cimModel.addLineDistrict(newClass);
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.AMPRIONLineDistrict = AMPRIONLineDistrict;
|
|
25
|
+
AMPRIONLineDistrict.sparqlQuery = `
|
|
26
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
27
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
28
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
29
|
+
PREFIX amp: <http://amprion.net/CIM/Extensions#>
|
|
30
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
31
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
32
|
+
|
|
33
|
+
SELECT (STRAFTER(str(?aoUUID), '#_') AS ?uuid)
|
|
34
|
+
(CONCAT(STRBEFORE(str(?aoUUID), '#_'), '#_') AS ?baseIRI)
|
|
35
|
+
?name ?description
|
|
36
|
+
(group_concat(STRAFTER(str(?aUUIDs), '#_');separator=',') as ?assetUUIDs)
|
|
37
|
+
|
|
38
|
+
WHERE {
|
|
39
|
+
GRAPH<http://default/> {
|
|
40
|
+
?aoUUID rdf:type amp:AMPRIONLineDistrict .
|
|
41
|
+
OPTIONAL { ?aoUUID cim:IdentifiedObject.name ?name .}
|
|
42
|
+
OPTIONAL { ?aoUUID cim:IdentifiedObject.description ?description .}
|
|
43
|
+
OPTIONAL { ?aoUUID cim:AssetOrganisationRole.Assets ?aUUIDs .}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
GROUP BY ?aoUUID ?baseIRI ?name ?description
|
|
47
|
+
`;
|
|
48
|
+
//# sourceMappingURL=AMPRIONLineDistrict.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AMPRIONLineDistrict.js","sourceRoot":"","sources":["../../../../../src/model/extensions/amprion/assets/AMPRIONLineDistrict.ts"],"names":[],"mappings":";;;AAAA,iFAA8E;AAG9E,MAAa,mBAAoB,SAAQ,6CAAqB;IAC5D,YAAsB,IAAa,EAAE,IAAa,EAAE,SAAkB,EAAE,WAAoB;QAC1F,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC;IAC5C,CAAC;IA4BM,MAAM,CAAC,cAAc,CAAC,QAAgB;QAC3C,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;YACvB,OAAO,mBAAmB,CAAC,WAAW,CAAC,OAAO,CAAC,mBAAmB,EAAE,QAAQ,CAAC,CAAC;SAC/E;QACD,OAAO,mBAAmB,CAAC,WAAW,CAAC;IACzC,CAAC;IAGM,MAAM,CAAC,sBAAsB,CAAC,IAAS,EAAE,QAAsB;;QACpE,YAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,0CAAE,QAAQ,0CAAE,OAAO,CAAC,CAAC,KAAU,EAAE,EAAE;YAC9C,MAAM,QAAQ,GAAG,IAAI,mBAAmB,EAAE,CAAC;YAC3C,QAAQ,CAAC,2BAA2B,CAAC,KAAK,CAAC,CAAC;YAC5C,QAAQ,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC;QACrC,CAAC,EAAE;IACL,CAAC;;AA7CH,kDA+CC;AAzCe,+BAAW,GAAW;;;;;;;;;;;;;;;;;;;;;;KAsBjC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AssetOrganisationRole } from '../../../assets/AssetOrganisationRole';
|
|
2
|
+
import { AMPRIONModel } from '../model/AMPRIONModel';
|
|
3
|
+
export declare class AMPRIONServiceProvider extends AssetOrganisationRole {
|
|
4
|
+
protected constructor(mrid?: string, name?: string, shortName?: string, description?: string);
|
|
5
|
+
static sparqlQuery: string;
|
|
6
|
+
static getQuerySPARQL(graphURI: string): string;
|
|
7
|
+
static resolveClassFusekiJSON(data: any, cimModel: AMPRIONModel): void;
|
|
8
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AMPRIONServiceProvider = void 0;
|
|
4
|
+
const AssetOrganisationRole_1 = require("../../../assets/AssetOrganisationRole");
|
|
5
|
+
class AMPRIONServiceProvider extends AssetOrganisationRole_1.AssetOrganisationRole {
|
|
6
|
+
constructor(mrid, name, shortName, description) {
|
|
7
|
+
super(mrid, name, shortName, description);
|
|
8
|
+
}
|
|
9
|
+
static getQuerySPARQL(graphURI) {
|
|
10
|
+
if (graphURI.length > 0) {
|
|
11
|
+
return AMPRIONServiceProvider.sparqlQuery.replace('<http://default/>', graphURI);
|
|
12
|
+
}
|
|
13
|
+
return AMPRIONServiceProvider.sparqlQuery;
|
|
14
|
+
}
|
|
15
|
+
static resolveClassFusekiJSON(data, cimModel) {
|
|
16
|
+
var _a, _b;
|
|
17
|
+
(_b = (_a = data === null || data === void 0 ? void 0 : data.results) === null || _a === void 0 ? void 0 : _a.bindings) === null || _b === void 0 ? void 0 : _b.forEach((value) => {
|
|
18
|
+
const newClass = new AMPRIONServiceProvider();
|
|
19
|
+
newClass.resolveAttributesFusekiJSON(value);
|
|
20
|
+
cimModel.addServiceProvider(newClass);
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.AMPRIONServiceProvider = AMPRIONServiceProvider;
|
|
25
|
+
AMPRIONServiceProvider.sparqlQuery = `
|
|
26
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
27
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
28
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
29
|
+
PREFIX amp: <http://amprion.net/CIM/Extensions#>
|
|
30
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
31
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
32
|
+
|
|
33
|
+
SELECT (STRAFTER(str(?aoUUID), '#_') AS ?uuid)
|
|
34
|
+
(CONCAT(STRBEFORE(str(?aoUUID), '#_'), '#_') AS ?baseIRI)
|
|
35
|
+
?name ?description
|
|
36
|
+
(group_concat(STRAFTER(str(?aUUIDs), '#_');separator=',') as ?assetUUIDs)
|
|
37
|
+
|
|
38
|
+
WHERE {
|
|
39
|
+
GRAPH<http://default/> {
|
|
40
|
+
?aoUUID rdf:type amp:AMPRIONServiceProvider .
|
|
41
|
+
OPTIONAL { ?aoUUID cim:IdentifiedObject.name ?name .}
|
|
42
|
+
OPTIONAL { ?aoUUID cim:IdentifiedObject.description ?description .}
|
|
43
|
+
OPTIONAL { ?aoUUID cim:AssetOrganisationRole.Assets ?aUUIDs .}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
GROUP BY ?aoUUID ?baseIRI ?name ?description
|
|
47
|
+
`;
|
|
48
|
+
//# sourceMappingURL=AMPRIONServiceProvider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AMPRIONServiceProvider.js","sourceRoot":"","sources":["../../../../../src/model/extensions/amprion/assets/AMPRIONServiceProvider.ts"],"names":[],"mappings":";;;AAAA,iFAA8E;AAG9E,MAAa,sBAAuB,SAAQ,6CAAqB;IAC/D,YAAsB,IAAa,EAAE,IAAa,EAAE,SAAkB,EAAE,WAAoB;QAC1F,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC;IAC5C,CAAC;IA4BM,MAAM,CAAC,cAAc,CAAC,QAAgB;QAC3C,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;YACvB,OAAO,sBAAsB,CAAC,WAAW,CAAC,OAAO,CAAC,mBAAmB,EAAE,QAAQ,CAAC,CAAC;SAClF;QACD,OAAO,sBAAsB,CAAC,WAAW,CAAC;IAC5C,CAAC;IAGM,MAAM,CAAC,sBAAsB,CAAC,IAAS,EAAE,QAAsB;;QACpE,YAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,0CAAE,QAAQ,0CAAE,OAAO,CAAC,CAAC,KAAU,EAAE,EAAE;YAC9C,MAAM,QAAQ,GAAG,IAAI,sBAAsB,EAAE,CAAC;YAC9C,QAAQ,CAAC,2BAA2B,CAAC,KAAK,CAAC,CAAC;YAC5C,QAAQ,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CAAC;QACxC,CAAC,EAAE;IACL,CAAC;;AA7CH,wDA+CC;AAzCe,kCAAW,GAAW;;;;;;;;;;;;;;;;;;;;;;KAsBjC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AMPRIONModel } from '../model/AMPRIONModel';
|
|
2
|
+
import { IdentifiedObject } from '../../../core/IdentifiedObject';
|
|
3
|
+
import { AMPRIONCountry } from './AMPRIONCountry';
|
|
4
|
+
export declare class AMPRIONState extends IdentifiedObject {
|
|
5
|
+
country: AMPRIONCountry;
|
|
6
|
+
countryUUID: string;
|
|
7
|
+
protected constructor(mrid?: string, name?: string, shortName?: string, description?: string);
|
|
8
|
+
static sparqlQuery: string;
|
|
9
|
+
static getQuerySPARQL(graphURI: string): string;
|
|
10
|
+
static resolveClassFusekiJSON(data: any, cimModel: AMPRIONModel): void;
|
|
11
|
+
protected resolveAttributesFusekiJSON(value: any): void;
|
|
12
|
+
resolveParsedAssociations(cimModel: AMPRIONModel): void;
|
|
13
|
+
}
|