PL PCDU parameter update #247
@ -304,7 +304,7 @@ def pack_pl_pcdu_commands( # noqa C901: Complexity is okay here.
|
|||||||
if op_code == OpCode.UPDATE_V_LOWER_LIMIT:
|
if op_code == OpCode.UPDATE_V_LOWER_LIMIT:
|
||||||
q.add_log_cmd(Info.UPDATE_V_LOWER_LIMIT)
|
q.add_log_cmd(Info.UPDATE_V_LOWER_LIMIT)
|
||||||
print("Select device to update lower voltage limit for: ")
|
print("Select device to update lower voltage limit for: ")
|
||||||
param_id = dev_select_to_lower_u_update_param_id(dev_select_prompt(True))
|
param_id = dev_select_to_lower_u_update_param_id(dev_select_prompt(False))
|
||||||
new_param_value = float(
|
new_param_value = float(
|
||||||
input("Please specify new parameter value as a double: ")
|
input("Please specify new parameter value as a double: ")
|
||||||
)
|
)
|
||||||
@ -316,7 +316,7 @@ def pack_pl_pcdu_commands( # noqa C901: Complexity is okay here.
|
|||||||
if op_code == OpCode.UPDATE_V_UPPER_LIMIT:
|
if op_code == OpCode.UPDATE_V_UPPER_LIMIT:
|
||||||
q.add_log_cmd(Info.UPDATE_V_UPPER_LIMIT)
|
q.add_log_cmd(Info.UPDATE_V_UPPER_LIMIT)
|
||||||
print("Select device to update upper voltage limit for: ")
|
print("Select device to update upper voltage limit for: ")
|
||||||
param_id = dev_select_to_upper_u_update_param_id(dev_select_prompt(True))
|
param_id = dev_select_to_upper_u_update_param_id(dev_select_prompt(False))
|
||||||
new_param_value = float(
|
new_param_value = float(
|
||||||
input("Please specify new parameter value as a double: ")
|
input("Please specify new parameter value as a double: ")
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user