Index: leahi_dialin/common/msg_ids.py =================================================================== diff -u -r099095611e541d69aee3afc90ec06a2046836079 -r685c057e3f5b9dc9370b0571b37aba7f231ed415 --- leahi_dialin/common/msg_ids.py (.../msg_ids.py) (revision 099095611e541d69aee3afc90ec06a2046836079) +++ leahi_dialin/common/msg_ids.py (.../msg_ids.py) (revision 685c057e3f5b9dc9370b0571b37aba7f231ed415) @@ -197,6 +197,9 @@ MSG_ID_UI_TUBE_SET_AUTHENTICATION_ACK_RESPONSE = 0xAF MSG_ID_TD_SYRINGE_PUMP_DATA = 0xB1 MSG_ID_TD_HEPARIN_PAUSE_RESUME_RESPONSE= 0xB2 + MSG_ID_TD_UI_CONFIRMATION_REQUEST = 0xB5 + MSG_ID_UI_CONFIRMATION_RESULT_RESPONSE = 0xB6 + MSG_ID_TD_POWER_OFF_REQUEST = 0xB7 MSG_ID_DD_PISTON_PUMP_CONTROL_DATA = 0xF0 Index: leahi_dialin/ui/td_messaging.py =================================================================== diff -u -r7e864b8d034f7a5cb961402d4f6672b180a57bb5 -r685c057e3f5b9dc9370b0571b37aba7f231ed415 --- leahi_dialin/ui/td_messaging.py (.../td_messaging.py) (revision 7e864b8d034f7a5cb961402d4f6672b180a57bb5) +++ leahi_dialin/ui/td_messaging.py (.../td_messaging.py) (revision 685c057e3f5b9dc9370b0571b37aba7f231ed415) @@ -1472,6 +1472,24 @@ self.can_interface.send(message, 0) + + def td_power_off(self, vStatus: int): + """ + rinseback command response message (Msg ID: 0x91, 145) + Args: + @param vRejectionReason : (int) rejection reason + @return: None + """ + payload = conversions.unsigned_byte_to_bytearray(vStatus) + + message = CAN.CanMessage.build_message( + channel_id=CAN.CanChannels.td_to_ui_ch_id, + message_id=msg_ids.MsgIds.MSG_ID_TD_POWER_OFF_REQUEST.value, + payload=payload) + self.can_interface.send(message, 0) + + + def td_isolated_uf_duration_change_response(self, vRejectionReason: int, vVolumeMax: int): """ the isolated uf duration change response message (msg id: 0x9C, 156)