Skip to content

Commit 37324e3

Browse files
Alex Rollandwoshilapin
Alex Rolland
authored andcommitted
fixup! core, editoast: add flag to ignore infra speed limits
Signed-off-by: Alex Rolland <alex.rolland@reseau.sncf.fr>
1 parent 866cf6d commit 37324e3

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

editoast/openapi.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -11884,6 +11884,8 @@ components:
1188411884
options:
1188511885
type: object
1188611886
properties:
11887+
ignore_infra_speed_limits:
11888+
type: boolean
1188711889
use_electrical_profiles:
1188811890
type: boolean
1188911891
additionalProperties: false
@@ -11979,6 +11981,8 @@ components:
1197911981
TrainScheduleOptions:
1198011982
type: object
1198111983
properties:
11984+
ignore_infra_speed_limits:
11985+
type: boolean
1198211986
use_electrical_profiles:
1198311987
type: boolean
1198411988
additionalProperties: false

editoast/src/views/train_schedule.rs

+1
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,7 @@ fn build_simulation_request(
643643
options: train_schedule.options.clone(),
644644
physics_consist,
645645
electrical_profile_set_id,
646+
ignore_infra_speed_limits: false,
646647
}
647648
}
648649

front/src/common/api/generatedEditoastApi.ts

+2
Original file line numberDiff line numberDiff line change
@@ -3254,6 +3254,7 @@ export type Margins = {
32543254
values: string[];
32553255
};
32563256
export type TrainScheduleOptions = {
3257+
ignore_infra_speed_limits?: boolean;
32573258
use_electrical_profiles?: boolean;
32583259
};
32593260
export type PathItem = PathItemLocation & {
@@ -3612,6 +3613,7 @@ export type TrainScheduleBase = {
36123613
values: string[];
36133614
};
36143615
options?: {
3616+
ignore_infra_speed_limits?: boolean;
36153617
use_electrical_profiles?: boolean;
36163618
};
36173619
path: (PathItemLocation & {

0 commit comments

Comments
 (0)