@enervance/insight-cim-model 0.0.8 → 0.0.10
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/interfaces/model/operations/ISwitchingAction.d.ts +1 -1
- package/dist/model/extensions/enervance/operations/EVTerminalAction.d.ts +1 -1
- package/dist/model/extensions/enervance/operations/EVTerminalAction.js +1 -4
- package/dist/model/extensions/enervance/operations/EVTerminalAction.js.map +1 -1
- package/dist/model/operations/SwitchAction.d.ts +2 -0
- package/dist/model/operations/SwitchAction.js +3 -0
- package/dist/model/operations/SwitchAction.js.map +1 -1
- package/dist/model/operations/SwitchingAction.d.ts +1 -1
- package/dist/model/operations/SwitchingAction.js +1 -1
- package/dist/model/operations/SwitchingAction.js.map +1 -1
- package/package.json +1 -1
- package/src/interfaces/model/operations/ISwitchingAction.ts +1 -1
- package/src/model/extensions/enervance/operations/EVTerminalAction.ts +2 -5
- package/src/model/operations/SwitchAction.ts +6 -0
- package/src/model/operations/SwitchingAction.ts +2 -2
- package/test/integral7-converter/integral7-converter.tests.spec.ts +1 -0
- package/src/package.zip +0 -0
|
@@ -2,5 +2,5 @@ import { IIdentifiedObject } from '../core/IIdentifiedObject';
|
|
|
2
2
|
import { ISwitchingPlan } from './ISwitchingPlan';
|
|
3
3
|
export interface ISwitchingAction extends IIdentifiedObject {
|
|
4
4
|
switchingPlan: ISwitchingPlan;
|
|
5
|
-
getSwitchingEquipment(): IIdentifiedObject;
|
|
5
|
+
getSwitchingEquipment(): IIdentifiedObject[];
|
|
6
6
|
}
|
|
@@ -8,7 +8,7 @@ export declare class EVTerminalAction extends SwitchingAction {
|
|
|
8
8
|
terminals: Map<string, EVTerminal>;
|
|
9
9
|
terminalUUIDs: string[];
|
|
10
10
|
constructor(mrid?: string, name?: string, shortName?: string, description?: string, baseIRI?: string);
|
|
11
|
-
getSwitchingEquipment(): IIdentifiedObject;
|
|
11
|
+
getSwitchingEquipment(): IIdentifiedObject[];
|
|
12
12
|
protected resolveAttributesFusekiJSON(value: any): void;
|
|
13
13
|
resolveParsedAssociations(cimModel: Model): void;
|
|
14
14
|
addTerminal(terminal: EVTerminal): string;
|
|
@@ -11,10 +11,7 @@ class EVTerminalAction extends SwitchingAction_1.SwitchingAction {
|
|
|
11
11
|
this.baseIRI = baseIRI;
|
|
12
12
|
}
|
|
13
13
|
getSwitchingEquipment() {
|
|
14
|
-
|
|
15
|
-
return terminal.conductingEquipment;
|
|
16
|
-
}
|
|
17
|
-
return;
|
|
14
|
+
return [...this.terminals.values()];
|
|
18
15
|
}
|
|
19
16
|
resolveAttributesFusekiJSON(value) {
|
|
20
17
|
super.resolveAttributesFusekiJSON(value);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EVTerminalAction.js","sourceRoot":"","sources":["../../../../../src/model/extensions/enervance/operations/EVTerminalAction.ts"],"names":[],"mappings":";;;AAAA,yEAAsE;AAEtE,2EAAwE;AAExE,kDAAyE;AAIzE,MAAa,gBAAiB,SAAQ,iCAAe;IAMnD,YAAY,IAAa,EAAE,IAAa,EAAE,SAAkB,EAAE,WAAoB,EAAE,OAAgB;QAClG,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC;QAC1C,IAAI,CAAC,SAAS,GAAG,IAAI,GAAG,EAAE,CAAC;QAC3B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;IAED,qBAAqB;QACnB,
|
|
1
|
+
{"version":3,"file":"EVTerminalAction.js","sourceRoot":"","sources":["../../../../../src/model/extensions/enervance/operations/EVTerminalAction.ts"],"names":[],"mappings":";;;AAAA,yEAAsE;AAEtE,2EAAwE;AAExE,kDAAyE;AAIzE,MAAa,gBAAiB,SAAQ,iCAAe;IAMnD,YAAY,IAAa,EAAE,IAAa,EAAE,SAAkB,EAAE,WAAoB,EAAE,OAAgB;QAClG,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,C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C,CAAC;IAgCM,wBAAwB;QAE7B,OAAO;eACI,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,IAAI;;;SAG9B,CAAC;IACR,CAAC;IAED,OAAO,CAAC,IAAsB;QAC5B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QAEjB,OAAO,IAAI,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,IAAI,gGAAgG,IAAI,CAAC,IAAI,MAAM,CAAC;IACrJ,CAAC;;AAtIH,4CAuIC;AA5Ce,4BAAW,GAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;4EA2BsC,CAAC"}
|
|
@@ -2,6 +2,7 @@ import { SwitchActionKind } from './SwitchActionKind';
|
|
|
2
2
|
import { SwitchingAction } from './SwitchingAction';
|
|
3
3
|
import { Switch } from '../wires/Switch';
|
|
4
4
|
import { Model } from '../model/Model';
|
|
5
|
+
import { IIdentifiedObject } from '../../interfaces/model/core/IIdentifiedObject';
|
|
5
6
|
export declare class SwitchAction extends SwitchingAction {
|
|
6
7
|
kind: SwitchActionKind;
|
|
7
8
|
operatedSwitch: Switch;
|
|
@@ -18,4 +19,5 @@ export declare class SwitchAction extends SwitchingAction {
|
|
|
18
19
|
static getQuerySPARQL(graphURI: string): string;
|
|
19
20
|
static sparqlQuery: string;
|
|
20
21
|
createNewStatementSPARQL(): string;
|
|
22
|
+
getSwitchingEquipment(): IIdentifiedObject[];
|
|
21
23
|
}
|
|
@@ -66,6 +66,9 @@ class SwitchAction extends SwitchingAction_1.SwitchingAction {
|
|
|
66
66
|
cim:IdentifiedObject.name "SwitchAction" .
|
|
67
67
|
`;
|
|
68
68
|
}
|
|
69
|
+
getSwitchingEquipment() {
|
|
70
|
+
return [this.operatedSwitch];
|
|
71
|
+
}
|
|
69
72
|
}
|
|
70
73
|
exports.SwitchAction = SwitchAction;
|
|
71
74
|
SwitchAction.sparqlQuery = `
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwitchAction.js","sourceRoot":"","sources":["../../../src/model/operations/SwitchAction.ts"],"names":[],"mappings":";;;AAAA,yDAAsD;AACtD,uDAAoD;AAGpD,4CAA4C;
|
|
1
|
+
{"version":3,"file":"SwitchAction.js","sourceRoot":"","sources":["../../../src/model/operations/SwitchAction.ts"],"names":[],"mappings":";;;AAAA,yDAAsD;AACtD,uDAAoD;AAGpD,4CAA4C;AAG5C,MAAa,YAAa,SAAQ,iCAAe;IAM/C,YAAY,IAAa,EAAE,IAAa,EAAE,SAAkB,EAAE,WAAoB,EAAE,OAAgB;QAClG,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC;QAC1C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;IAED,SAAS,CAAC,cAAsB;QAC9B,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,OAAO,IAAI,CAAC,0BAA0B,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,cAAc,CAAC,IAAI,CAAC,CAAC;IAChI,CAAC;IAED,OAAO,CAAC,IAAsB;QAC5B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QAEjB,OAAO,IAAI,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,IAAI,sFAAsF,IAAI,CAAC,IAAI,MAAM,CAAC;IAC3I,CAAC;IAGM,MAAM;QACX,KAAK,CAAC,MAAM,EAAE,CAAC;QACf,IAAI,CAAC,gBAAgB,EAAE,CAAC;QACxB,IAAI,CAAC,kBAAkB,EAAE,CAAC;QAC1B,OAAO,IAAI,CAAC,IAAI,CAAC;IACnB,CAAC;IAEM,gBAAgB;QACrB,KAAK,CAAC,gBAAgB,EAAE,CAAC;QACzB,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;IAEhC,CAAC;IAEM,kBAAkB;QACvB,KAAK,CAAC,kBAAkB,EAAE,CA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AC,mBAAmB,EAAE,QAAQ,CAAC,CAAC;SACxE;QACD,OAAO,YAAY,CAAC,WAAW,CAAC;IAClC,CAAC;IA6BM,wBAAwB;QAE7B,OAAO;eACI,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,IAAI;;;SAG9B,CAAC;IACR,CAAC;IAED,qBAAqB;QACnB,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;IAC/B,CAAC;;AA/GH,oCAiHC;AAxCe,wBAAW,GAAW;;;;;;;;;;;;;;;;;;;;;;;;;UAyB5B,CAAC"}
|
|
@@ -7,7 +7,7 @@ export declare class SwitchingAction extends IdentifiedObject implements ISwitch
|
|
|
7
7
|
switchingPlan: ISwitchingPlan;
|
|
8
8
|
switchingPlanUUID: string;
|
|
9
9
|
protected constructor(mrid?: string, name?: string, shortName?: string, description?: string);
|
|
10
|
-
getSwitchingEquipment(): IIdentifiedObject;
|
|
10
|
+
getSwitchingEquipment(): IIdentifiedObject[];
|
|
11
11
|
setSwitchingPlan(switchingPlan: ISwitchingPlan): string;
|
|
12
12
|
resolveParsedAssociations(cimModel: Model): void;
|
|
13
13
|
toJSONAssociations(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwitchingAction.js","sourceRoot":"","sources":["../../../src/model/operations/SwitchingAction.ts"],"names":[],"mappings":";;;AAAA,+DAA4D;AAQ5D,MAAa,eAAgB,SAAQ,mCAAgB;IAKnD,YAAsB,IAAa,EAAE,IAAa,EAAE,SAAkB,EAAE,WAAoB;QAC1F,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC;IAC5C,CAAC;IAGD,qBAAqB;QACnB,OAAO;
|
|
1
|
+
{"version":3,"file":"SwitchingAction.js","sourceRoot":"","sources":["../../../src/model/operations/SwitchingAction.ts"],"names":[],"mappings":";;;AAAA,+DAA4D;AAQ5D,MAAa,eAAgB,SAAQ,mCAAgB;IAKnD,YAAsB,IAAa,EAAE,IAAa,EAAE,SAAkB,EAAE,WAAoB;QAC1F,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC;IAC5C,CAAC;IAGD,qBAAqB;QACnB,OAAO,EAAE,CAAC;IACZ,CAAC;IACD,gBAAgB,CAAC,aAA6B;QAC5C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,aAAa,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;QAC5C,OAAO,IAAI,CAAC,0BAA0B,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,aAAa,CAAC,IAAI,CAAC,CAAC;IACjI,CAAC;IAEM,yBAAyB,CAAC,QAAe;QAC9C,KAAK,CAAC,yBAAyB,CAAC,QAAQ,CAAC,CAAC;QAC1C,IAAI,QAAQ,CAAC,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,iBAAiB,CAAC,EAAE;YACvD,IAAI,CAAC,aAAa,GAAG,QAAQ,CAAC,gBAAgB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;YACvE,IAAI,CAAC,aAAa,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;SAC7C;aAAM;SAEN;IACH,CAAC;IAEM,kBAAkB;QACvB,KAAK,CAAC,kBAAkB,EAAE,CAAC;QAC3B,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,iBAAiB,CAAC;IAC1D,CAAC;CAEF;AAlCD,0CAkCC"}
|
package/package.json
CHANGED
|
@@ -5,5 +5,5 @@ import { SwitchActionKind } from '../../../model/operations/SwitchActionKind';
|
|
|
5
5
|
export interface ISwitchingAction extends IIdentifiedObject{
|
|
6
6
|
|
|
7
7
|
switchingPlan: ISwitchingPlan;
|
|
8
|
-
getSwitchingEquipment(): IIdentifiedObject;
|
|
8
|
+
getSwitchingEquipment(): IIdentifiedObject[];
|
|
9
9
|
}
|
|
@@ -18,11 +18,8 @@ export class EVTerminalAction extends SwitchingAction {
|
|
|
18
18
|
this.baseIRI = baseIRI;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
getSwitchingEquipment(): IIdentifiedObject {
|
|
22
|
-
|
|
23
|
-
return terminal.conductingEquipment;
|
|
24
|
-
}
|
|
25
|
-
return ;
|
|
21
|
+
getSwitchingEquipment(): IIdentifiedObject[] {
|
|
22
|
+
return [ ...this.terminals.values() ];
|
|
26
23
|
}
|
|
27
24
|
protected resolveAttributesFusekiJSON(value: any) {
|
|
28
25
|
super.resolveAttributesFusekiJSON(value);
|
|
@@ -3,6 +3,7 @@ import { SwitchingAction } from './SwitchingAction';
|
|
|
3
3
|
import { Switch } from '../wires/Switch';
|
|
4
4
|
import { Model } from '../model/Model';
|
|
5
5
|
import { getValue } from '../../util/utils';
|
|
6
|
+
import { IIdentifiedObject } from '../../interfaces/model/core/IIdentifiedObject';
|
|
6
7
|
|
|
7
8
|
export class SwitchAction extends SwitchingAction {
|
|
8
9
|
|
|
@@ -112,4 +113,9 @@ export class SwitchAction extends SwitchingAction {
|
|
|
112
113
|
cim:IdentifiedObject.name "SwitchAction" .
|
|
113
114
|
`;
|
|
114
115
|
}
|
|
116
|
+
|
|
117
|
+
getSwitchingEquipment(): IIdentifiedObject[] {
|
|
118
|
+
return [this.operatedSwitch];
|
|
119
|
+
}
|
|
120
|
+
|
|
115
121
|
}
|
|
@@ -16,8 +16,8 @@ export class SwitchingAction extends IdentifiedObject implements ISwitchingActio
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
getSwitchingEquipment(): IIdentifiedObject {
|
|
20
|
-
return;
|
|
19
|
+
getSwitchingEquipment(): IIdentifiedObject[] {
|
|
20
|
+
return [];
|
|
21
21
|
}
|
|
22
22
|
setSwitchingPlan(switchingPlan: ISwitchingPlan): string {
|
|
23
23
|
this.switchingPlan = switchingPlan;
|
|
@@ -39,6 +39,7 @@ describe('Converter integral 7', () => {
|
|
|
39
39
|
await converter.init(mySqlConfig);
|
|
40
40
|
const convertStatus = await converter.convert(FUEL_TYPE_CONFIG, tempDirPath);
|
|
41
41
|
const filePathZip = path.join(tempDirPath, 'cgmes.zip');
|
|
42
|
+
|
|
42
43
|
await writeZipFile(convertStatus.data, filePathZip);
|
|
43
44
|
|
|
44
45
|
console.log(filePathZip);
|
package/src/package.zip
DELETED
|
Binary file
|