Index: tools/Code_Report.csv =================================================================== diff -u -rdbf00081f018e6e52c5686220e757cf412d7f96b -rcb4bb2804ddf85b31701714fd004b9dca6f9735e --- tools/Code_Report.csv (.../Code_Report.csv) (revision dbf00081f018e6e52c5686220e757cf412d7f96b) +++ tools/Code_Report.csv (.../Code_Report.csv) (revision cb4bb2804ddf85b31701714fd004b9dca6f9735e) @@ -70,7 +70,7 @@ ./dg/dialysate_generator.py, Function, cmd_dg_software_reset_request(self) -> None: ./dg/dialysate_generator.py, Function, cmd_dg_op_mode_broadcast_interval_override(self, ms:int=250, reset:int=NO_RESET) -> int: ./dg/dialysate_generator.py, Function, cmd_block_dg_message_transmissions(self, msg1: int = 0, msg2: int = 0, msg3: int = 0, msg4: int = 0, -./dg/drain_pump.py, Function, cmd_drain_pump_set_outlet_target_pressure(self, pressure: float) -> int: +./dg/drain_pump.py, Function, cmd_drain_pump_set_outlet_target_flow_lpm(self, flow: float) -> int: ./dg/drain_pump.py, Function, cmd_drain_pump_set_rpm(self, rpm: int) -> int: ./dg/drain_pump.py, Function, cmd_drain_pump_measured_rpm_override(self, rpm: int, reset: int = NO_RESET) -> int: ./dg/drain_pump.py, Function, cmd_drain_pump_measured_current_override(self, current: float, reset: int = NO_RESET) -> int: @@ -136,16 +136,17 @@ ./dg/heat_disinfect.py, Function, get_heat_disinfect_r2_level(self) -> int: ./dg/heat_disinfect.py, Function, get_heat_disinfect_heat_disinfect_ui_state(self) -> int: ./dg/heat_disinfect.py, Function, clear_heat_disinfect_info(self) -> None: +./dg/heaters.py, Function, get_trimmer_heater_duty_cycle(self): ./dg/heaters.py, Function, get_primary_heater_target_temperature(self): ./dg/heaters.py, Function, get_trimmer_heater_target_temperature(self): ./dg/heaters.py, Function, cmd_start_stop_primary_heater(self, state: int = HeatersStartStop.STOP.value) -> None: ./dg/heaters.py, Function, cmd_start_stop_trimmer_heater(self, state: int = HeatersStartStop.STOP.value) -> None: ./dg/heaters.py, Function, cmd_hd_proxy_start_stop_trimmer_heater(self, state: int = HeatersStartStop.STOP.value) -> None: ./dg/heaters.py, Function, cmd_set_primary_and_trimmer_heaters_target_temperature(self, +./dg/heaters.py, Function, cmd_heater_duty_cycle_override(self, heater: int, duty_cycle: float, reset: int = NO_RESET) -> int: ./dg/heaters.py, Function, cmd_heaters_broadcast_interval_override(self, ms: int, reset: int = NO_RESET) -> int: ./dg/heaters.py, Function, get_main_primary_heater_duty_cycle(self): ./dg/heaters.py, Function, get_small_primary_heater_duty_cycle(self): -./dg/heaters.py, Function, get_trimmer_heater_duty_cycle(self): ./dg/load_cells.py, Function, cmd_load_cell_data_broadcast_interval_override(self, ms: int, reset: int = NO_RESET) -> int: ./dg/load_cells.py, Function, get_load_cells(self): ./dg/load_cells.py, Function, cmd_load_cell_override(self, sensor: int, grams: float, raw: int, reset: int = NO_RESET) -> int: @@ -306,18 +307,14 @@ ./hd/blood_flow.py, Function, get_measured_blood_pump_speed(self): ./hd/blood_flow.py, Function, get_measured_blood_pump_motor_controller_speed(self): ./hd/blood_flow.py, Function, get_measured_blood_pump_motor_controller_current(self): -./hd/blood_leak.py, Function, get_blood_leak_status(self): ./hd/blood_leak.py, Function, get_blood_leak_state(self): -./hd/blood_leak.py, Function, get_blood_leak_detect_set_point(self): -./hd/blood_leak.py, Function, get_blood_leak_detect_level(self): -./hd/blood_leak.py, Function, get_blood_leak_led_intensity(self): -./hd/blood_leak.py, Function, get_blood_leak_emb_mode_command_response(self): +./hd/blood_leak.py, Function, get_blood_leak_emb_mode_command_response(self, emb_mod_cmd: int) -> str: ./hd/blood_leak.py, Function, cmd_blood_leak_detector_override(self, detected, reset=NO_RESET): ./hd/blood_leak.py, Function, cmd_blood_leak_zero_request(self): ./hd/blood_leak.py, Function, cmd_blood_leak_data_broadcast_interval_override(self, ms, reset=NO_RESET): ./hd/blood_leak.py, Function, cmd_blood_leak_set_to_embedded_mode(self): ./hd/blood_leak.py, Function, cmd_blood_leak_set_embedded_mode_command(self, command: int, msg_payload: int = None): -./hd/blood_leak.py, Function, update(self, message): +./hd/blood_leak.py, Function, get_blood_leak_status(self): ./hd/buttons.py, Function, cmd_stop_button_override(self, state: int, reset: int = NO_RESET) -> int: ./hd/buttons.py, Function, get_power_timeout_expired(self): ./hd/buttons.py, Function, reset_poweroff_timeout_expired(self): @@ -921,14 +918,10 @@ hd/blood_flow.py, Variable, measured_blood_pump_mc_current hd/blood_flow.py, Variable, pwm_duty_cycle_pct hd/blood_flow.py, Variable, rotor_count -hd/blood_leak.py, Variable, received -hd/blood_leak.py, Variable, prop hd/blood_leak.py, Variable, blood_leak_status hd/blood_leak.py, Variable, blood_leak_state -hd/blood_leak.py, Variable, blood_leak_detect_set_point -hd/blood_leak.py, Variable, blood_leak_detect_level -hd/blood_leak.py, Variable, blood_leak_led_intensity -hd/blood_leak.py, Variable, blood_leak_emb_mode_cmd_response +hd/blood_leak.py, Variable, blood_leak_emb_mode_cmds +hd/blood_leak.py, Variable, blood_leak_emb_mode_cmds[cmd] hd/buttons.py, Variable, poweroff_timeout_expired hd/calibration_record.py, Variable, hd_calibration_record hd/dialysate_inlet_flow.py, Variable, target_dialysate_inlet_flow_rate @@ -2363,7 +2356,7 @@ common/msg_ids.py, Enum, MsgIds, MSG_ID_DG_ACCEL_SEND_INTERVAL_OVERRIDE common/msg_ids.py, Enum, MsgIds, MSG_ID_DG_MONITORED_VOLTAGES_SEND_INTERVAL_OVERRIDE common/msg_ids.py, Enum, MsgIds, MSG_ID_DG_MONITORED_VOLTAGES_OVERRIDE -common/msg_ids.py, Enum, MsgIds, MSG_ID_DRAIN_PUMP_TARGET_OUTLET_PRESSURE +common/msg_ids.py, Enum, MsgIds, MSG_ID_DRAIN_PUMP_TARGET_OUTLET_FLOW common/msg_ids.py, Enum, MsgIds, MSG_ID_DG_SWITCHES_STATUS_OVERRIDE common/msg_ids.py, Enum, MsgIds, MSG_ID_DG_SWITCHES_PUBLISH_INTERVAL_OVERRIDE common/msg_ids.py, Enum, MsgIds, MSG_ID_DG_OP_MODE_PUBLISH_INTERVAL_OVERRIDE @@ -2431,6 +2424,7 @@ common/msg_ids.py, Enum, MsgIds, MSG_ID_DG_CONC_PUMP_PARK_STATUS_OVERRIDE common/msg_ids.py, Enum, MsgIds, MSG_ID_DG_CONC_PUMP_PARK_FAULT_STATUS_OVERRIDE common/msg_ids.py, Enum, MsgIds, MSG_ID_DG_CONC_PUMP_PARK_COMMAND +common/msg_ids.py, Enum, MsgIds, MSG_ID_DG_HEATERS_DUTY_CYCLE_OVERRIDE common/msg_ids.py, Enum, MsgIds, MSG_ID_HD_DEBUG_EVENT common/msg_ids.py, Enum, MsgIds, MSG_ID_DG_DEBUG_EVENT common/msg_ids.py, Enum, MsgIds, MSG_ID_ACK_MESSAGE_THAT_REQUIRES_ACK @@ -2519,8 +2513,16 @@ dg/heaters.py, Enum, HeatersStartStop, START dg/heaters.py, Enum, HeatersState, HeatersState dg/heaters.py, Enum, HeatersState, HEATER_EXEC_STATE_OFF -dg/heaters.py, Enum, HeatersState, HEATER_EXEC_STATE_RAMP_UP_TO_TARGET -dg/heaters.py, Enum, HeatersState, HEATER_EXEC_STATE_CONTROL_TO_TARGET +dg/heaters.py, Enum, HeatersState, HEATER_EXEC_STATE_PRIMARY_RAMP_TO_TARGET +dg/heaters.py, Enum, HeatersState, HEATER_EXEC_STATE_PRIMARY_CONTROL_TO_TARGET +dg/heaters.py, Enum, HeatersState, HEATER_EXEC_STATE_CONTROL_TO_DISINFECT_TARGE +dg/heaters.py, Enum, HeatersState, HEATER_EXEC_STATE_TRIMMER_RAMP_TO_TARGET +dg/heaters.py, Enum, HeatersState, HEATER_EXEC_STATE_TRIMMER_CONTROL_TO_TARGET +dg/heaters.py, Enum, HeatersState, NUM_OF_HEATERS_STATE +dg/heaters.py, Enum, HeatersNames, HeatersNames +dg/heaters.py, Enum, HeatersNames, DG_PRIMARY_HEATER +dg/heaters.py, Enum, HeatersNames, DG_TRIMMER_HEATER +dg/heaters.py, Enum, HeatersNames, NUM_OF_DG_HEATERS dg/reservoirs.py, Enum, DGReservoirsNames, DGReservoirsNames dg/reservoirs.py, Enum, DGReservoirsNames, RESERVOIR1 dg/reservoirs.py, Enum, DGReservoirsNames, RESERVOIR2 @@ -2697,6 +2699,12 @@ hd/blood_leak.py, Enum, EmbModeCommands, Q hd/blood_leak.py, Enum, EmbModeCommands, D hd/blood_leak.py, Enum, EmbModeCommands, C +hd/blood_leak.py, Enum, BloodLeakStates, BloodLeakStates +hd/blood_leak.py, Enum, BloodLeakStates, BLOOD_LEAK_WAIT_FOR_POST_STATE +hd/blood_leak.py, Enum, BloodLeakStates, BLOOD_LEAK_CHECK_SET_POINT_STATE +hd/blood_leak.py, Enum, BloodLeakStates, BLOOD_LEAK_INIT_STATE +hd/blood_leak.py, Enum, BloodLeakStates, BLOOD_LEAK_CHECK_ZERO_AND_SELF_TEST_STATE +hd/blood_leak.py, Enum, BloodLeakStates, BLOOD_LEAK_NORMAL_STATE hd/fans.py, Enum, HDFansNames, HDFansNames hd/fans.py, Enum, HDFansNames, FAN_INLET_1 hd/post_treatment.py, Enum, HDPostTreatmentDrainStates, HDPostTreatmentDrainStates