update seq file dict

This commit is contained in:
Robin Müller 2023-01-10 15:27:45 +01:00
parent dcd881bc14
commit 40831064d6

View File

@ -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