Index: leahi_dialin/td/proxies/dd_proxy.py =================================================================== diff -u -red37b7bb23aba19839c0c52610c669360914f5c1 -r2dab2b0329a56006e07cd36a3883ed099d7a367a --- leahi_dialin/td/proxies/dd_proxy.py (.../dd_proxy.py) (revision ed37b7bb23aba19839c0c52610c669360914f5c1) +++ leahi_dialin/td/proxies/dd_proxy.py (.../dd_proxy.py) (revision 2dab2b0329a56006e07cd36a3883ed099d7a367a) @@ -38,25 +38,3 @@ self.logger = logger # no current registered call back methods - - def cmd_td_send_dd_gen_dialysate_request(self, start: bool = 0, dial_rate: float = 0, uf_rate: float = 0, - dial_temp: float = 0, bypass: int = 0, acid: int = 0, bicarb: int = 0): - """ - Constructs and sends a TD gen dialysate request to the DD. - - @return: none - """ - stt = integer_to_bytearray(start) - dial = float_to_bytearray(dial_rate) - uf = float_to_bytearray(uf_rate) - temp = float_to_bytearray(dial_temp) - byp = integer_to_bytearray(bypass) - acd = integer_to_bytearray(acid) - bic = integer_to_bytearray(bicarb) - payload = bic +acd + byp + temp + uf + dial + stt - message = DenaliMessage.build_message(channel_id=DenaliChannels.td_to_dd_ch_id, - message_id=MsgIds.MSG_ID_DD_GEN_DIALYSATE_REQUEST_DATA.value, - payload=payload) - - self.logger.debug("Sending TD gen dialysate data request to DD.") - self.can_interface.send(message, 0) \ No newline at end of file