From 40831064d6a00680d76a24e430a99b7c9bf38192 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 10 Jan 2023 15:27:45 +0100 Subject: [PATCH] update seq file dict --- eive_tmtc/tmtc/payload/ploc_mpsoc.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/eive_tmtc/tmtc/payload/ploc_mpsoc.py b/eive_tmtc/tmtc/payload/ploc_mpsoc.py index 3e1710b..586f8ec 100644 --- a/eive_tmtc/tmtc/payload/ploc_mpsoc.py +++ b/eive_tmtc/tmtc/payload/ploc_mpsoc.py @@ -38,12 +38,14 @@ mpsoc_file_dict = { "2": ["0:/flash", "0:/flash"], } -sequence_file_dict = { +SEQ_FILE_DICT = { MANUAL_INPUT: ["manual input", ""], - "2": ["0:/EM16/231", "0:/EM16/231"], - "3": ["0:/EQ04/E-75", "0:/EQ04/E-75"], + "2": ["16QRM On Carrier 200 MBd", "0:/EM16/231"], + "3": ["QPSK On Carrier 780 MBd", "0:/EQ04/E-75"], + "4": ["Maximum Bandwidth QPSK", "0:/EQ01/E130"] } + CARRIAGE_RETURN = 0xD @@ -344,10 +346,10 @@ def get_mpsoc_file() -> str: def get_sequence_file() -> str: LOGGER.info("Specify sequence file") - input_helper = InputHelper(sequence_file_dict) + input_helper = InputHelper(SEQ_FILE_DICT) key = input_helper.get_key() if key == MANUAL_INPUT: file = input("Ploc MPSoC: Specify absolute name file: ") else: - file = sequence_file_dict[key][1] + file = SEQ_FILE_DICT[key][1] return file