Index: leahi_dialin/dd/proxies/td_proxy.py =================================================================== diff -u -rf9dd375900151a5daafe3b687187187645d5f1ab -rb5aa0da384c5cc177f83d59aa221ae28881cd26a --- leahi_dialin/dd/proxies/td_proxy.py (.../td_proxy.py) (revision f9dd375900151a5daafe3b687187187645d5f1ab) +++ leahi_dialin/dd/proxies/td_proxy.py (.../td_proxy.py) (revision b5aa0da384c5cc177f83d59aa221ae28881cd26a) @@ -5,7 +5,7 @@ # THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN # WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. # -# @file buttons.py +# @file td_proxy.py # # @author (last) Micahel Garthwaite # @date (last) 18-Aug-2023 @@ -29,7 +29,7 @@ def __init__(self, can_interface: DenaliCanMessenger, logger: Logger): """ - HD_Buttons constructor + TDProxy constructor @param can_interface: the Denali CAN interface object """ @@ -60,6 +60,12 @@ "dialysate_delivery_request_bicarb", ]) def _handler_dialysate_delivery_request_response(self, message, timestamp=0.0): + """ + Handles published dialysate delivery request response data messages. + + @param message: published dialysate delivery request response data message + @return: None + """ self.dialysate_delivery_request_start = struct.unpack('i', bytearray( message['message'][MsgFieldPositions.START_POS_FIELD_1:MsgFieldPositions.END_POS_FIELD_1]))[0] self.dialysate_delivery_request_dial_rate = struct.unpack('f', bytearray(