update seq file dict
This commit is contained in:
parent
dcd881bc14
commit
40831064d6
@ -38,12 +38,14 @@ mpsoc_file_dict = {
|
|||||||
"2": ["0:/flash", "0:/flash"],
|
"2": ["0:/flash", "0:/flash"],
|
||||||
}
|
}
|
||||||
|
|
||||||
sequence_file_dict = {
|
SEQ_FILE_DICT = {
|
||||||
MANUAL_INPUT: ["manual input", ""],
|
MANUAL_INPUT: ["manual input", ""],
|
||||||
"2": ["0:/EM16/231", "0:/EM16/231"],
|
"2": ["16QRM On Carrier 200 MBd", "0:/EM16/231"],
|
||||||
"3": ["0:/EQ04/E-75", "0:/EQ04/E-75"],
|
"3": ["QPSK On Carrier 780 MBd", "0:/EQ04/E-75"],
|
||||||
|
"4": ["Maximum Bandwidth QPSK", "0:/EQ01/E130"]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
CARRIAGE_RETURN = 0xD
|
CARRIAGE_RETURN = 0xD
|
||||||
|
|
||||||
|
|
||||||
@ -344,10 +346,10 @@ def get_mpsoc_file() -> str:
|
|||||||
|
|
||||||
def get_sequence_file() -> str:
|
def get_sequence_file() -> str:
|
||||||
LOGGER.info("Specify sequence file")
|
LOGGER.info("Specify sequence file")
|
||||||
input_helper = InputHelper(sequence_file_dict)
|
input_helper = InputHelper(SEQ_FILE_DICT)
|
||||||
key = input_helper.get_key()
|
key = input_helper.get_key()
|
||||||
if key == MANUAL_INPUT:
|
if key == MANUAL_INPUT:
|
||||||
file = input("Ploc MPSoC: Specify absolute name file: ")
|
file = input("Ploc MPSoC: Specify absolute name file: ")
|
||||||
else:
|
else:
|
||||||
file = sequence_file_dict[key][1]
|
file = SEQ_FILE_DICT[key][1]
|
||||||
return file
|
return file
|
||||||
|
Loading…
Reference in New Issue
Block a user