# Dialin Changelog All notable changes to this project will be documented in this file. ### [0.5.0] - 2020-07-20 #### Added - The following alarms have been added: - `ALARM_ID_VALVE_CONTROL_FAILURE = 51` - `ALARM_ID_BLOOD_PUMP_FLOW_VS_MOTOR_SPEED_CHECK = 52` - `ALARM_ID_DIAL_IN_PUMP_FLOW_VS_MOTOR_SPEED_CHECK = 53` - `ALARM_ID_DIAL_OUT_PUMP_FLOW_VS_MOTOR_SPEED_CHECK = 54` - `ALARM_ID_BLOOD_PUMP_MOTOR_SPEED_CHECK = 55` - `ALARM_ID_DIAL_IN_PUMP_MOTOR_SPEED_CHECK = 56` - `ALARM_ID_DIAL_OUT_PUMP_MOTOR_SPEED_CHECK = 57` - `ALARM_ID_BLOOD_PUMP_ROTOR_SPEED_TOO_HIGH = 58` - `ALARM_ID_INLET_WATER_TEMPERATURE_OUT_OF_RANGE = 59` #### Fixed - Fixed base class subclassing and base class initialization of `utils.base._AbstractSubSystem` in - `dialin.dg.hd_proxy` - `dialin.dg.pressures` - `dialin.dg.reservoirs` - `dialin.dg.ro_pump` - `dialin.hd.buttons` - `dialin.hd` - `dialin.hd.rtc` - `dialin.hd.treatment` - `dialin.hd.ui_proxy` - `dialin.hd.watchdog` - Fixed code styling in - `dialin.dialysate_generator` - `dialin.dg.drain_pump` - `dialin.base` - Fixed inaccurate initialization function docstrings ### [0.4.1] - 2020-07-20 #### Fixed - Fixed invalid DG operation mode handler function registration ### [0.4.0] - 2020-07-20 #### Added - Migration of squishapi to dialin - `dialin.squish.crc` - `dialin.squish.denaliMessages` - `dialin.squish.globals` - `dialin.squish.messageBuilder` - `dialin.squish.unittests` - `dialin.squish.utils` - Test script to generate requirements - Unit test to sort the valve state dictionaries - Convenience script to build dialin wheel file and install it to a virtual environment #### Fixed - DG valves test to be compatible with valve state dictionary format - Improved PEP8 compliance - Method spacing: (1 line) - Function spacing: (2 lines) - Missing copyright headers ### [0.3.0] - 2020-07-15 #### Added - DG Dialysate Temperature monitoring - `dg.temperature_sensors` #### Fixed - PEP8 compliance of `dg.heaters` - Integration test for `dg.heaters` ### [0.2.0] - 2020-06-30 #### Added - Ability to attach / detach multiple observers - `dialin.base.AbstractObserver` class - `dialin.base._AbstractSubSystem` class - `dialin.base._publish` decorator - Getter functions for all publicly accessible variables - Branch and commit hash to docs - Data publishing from all subsystem classes (using the `@_publish` decorator) - Demo tests - Alarm simulation - `CAN-ONLY` logging with candump styled output #### Changed - Parent class for all submodules - Dialin version configuration and integration with sphinx, pip - Documentation now generated by sphinx instead of Doxygen - Handler functions are private - README #### Removed - Doxygen configuration #### Fixed - DG valves rate test - Alarms initialization - Valves bit masking - Documentation cleanup - Logging isolation - Ultrafiltration test script - Copyrights ### [0.1.0] - 2020-05-28 #### Added - Submodules: hd, dg, utils, and protocols - Setup dialin as a python package - Internal API Logging - Copyright headers - Unit test to import classes - HD demo test script - HD / DG integration tests #### Changed - Ensure PEP8 Compliance - Ensure snake case is used for all variables and functions - README - HD / UI messaging - Split up HD / DG subclasses into separate files #### Removed - Softlinks - Deprecated code #### Fixed - Doxygen output