Skip to content

Commit be224e6

Browse files
authored
add voltage level topology modification type (#752)
Signed-off-by: Rehili Ghazwa <[email protected]>
1 parent f7e9a35 commit be224e6

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

src/translations/en/networkModificationsEn.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,5 @@ export const networkModificationsEn = {
6565
'network_modifications.STATIC_VAR_COMPENSATOR_CREATION': 'Creating static var compensator {computedLabel}',
6666
'network_modifications.VOLTAGE_LEVEL_CREATION_SUBSTATION_CREATION':
6767
'Creating voltage level {voltageLevelEquipmentId} and substation {substationEquipmentId}',
68+
'network_modifications.VOLTAGE_LEVEL_TOPOLOGY_MODIFICATION': 'Modifying voltage level topology {computedLabel}',
6869
};

src/translations/fr/networkModificationsFr.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,6 @@ export const networkModificationsFr = {
6868
'network_modifications.STATIC_VAR_COMPENSATOR_CREATION': 'Création de CSPR {computedLabel}',
6969
'network_modifications.VOLTAGE_LEVEL_CREATION_SUBSTATION_CREATION':
7070
'Création du poste {voltageLevelEquipmentId} et du site {substationEquipmentId}',
71+
'network_modifications.VOLTAGE_LEVEL_TOPOLOGY_MODIFICATION':
72+
'Modification de la topologie du poste {computedLabel}',
7173
};

src/utils/types/modificationType.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export enum ModificationType {
4848
COMPOSITE_MODIFICATION = 'COMPOSITE_MODIFICATION',
4949
LCC_CONVERTER_STATION_CREATION = 'LCC_CONVERTER_STATION_CREATION',
5050
LCC_CREATION = 'LCC_CREATION',
51+
VOLTAGE_LEVEL_TOPOLOGY_MODIFICATION = 'VOLTAGE_LEVEL_TOPOLOGY_MODIFICATION',
5152
}
5253

5354
export const MODIFICATION_TYPES = {
@@ -180,4 +181,7 @@ export const MODIFICATION_TYPES = {
180181
VOLTAGE_LEVEL_CREATION_SUBSTATION_CREATION: {
181182
type: 'VOLTAGE_LEVEL_CREATION_SUBSTATION_CREATION',
182183
},
184+
VOLTAGE_LEVEL_TOPOLOGY_MODIFICATION: {
185+
type: ModificationType.VOLTAGE_LEVEL_TOPOLOGY_MODIFICATION,
186+
},
183187
};

0 commit comments

Comments
 (0)