Skip to content

Commit

Permalink
front: fix pr comments
Browse files Browse the repository at this point in the history
Signed-off-by: Egor Berezovskiy <[email protected]>
  • Loading branch information
Wadjetz committed Jan 7, 2025
1 parent 93433a5 commit 005d0e0
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions front/src/applications/stdcm/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,6 @@ export const STDCM_REQUEST_STATUS = Object.freeze({

export const STDCM_TRAIN_ID = -10;

export const COMPOSITION_CODES = [
'HLP',
'MA100',
'MA80',
'MA90',
'ME100',
'ME120',
'ME140',
'MV160',
'MVGV',
];

export const COMPOSITION_CODES_MAX_SPEEDS: Record<string, number | undefined> = {
MA80: 80,
MA90: 90,
Expand All @@ -32,3 +20,5 @@ export const COMPOSITION_CODES_MAX_SPEEDS: Record<string, number | undefined> =
HLP: 100,
MVGV: 200,
};

export const COMPOSITION_CODES = Object.keys(COMPOSITION_CODES_MAX_SPEEDS);

0 comments on commit 005d0e0

Please sign in to comment.