Index: dialin/hd/pressure_occlusion.py =================================================================== diff -u -r1f6af0afb3388e3a491e1446f336fff9997a3dba -reb33e8230a243dfe2de80a0d854c6083d7c2614b --- dialin/hd/pressure_occlusion.py (.../pressure_occlusion.py) (revision 1f6af0afb3388e3a491e1446f336fff9997a3dba) +++ dialin/hd/pressure_occlusion.py (.../pressure_occlusion.py) (revision eb33e8230a243dfe2de80a0d854c6083d7c2614b) @@ -97,8 +97,17 @@ def get_pressure_limits_state(self): """ Gets the current pressure limits state. + Pressure states: + PRESSURE_LIMITS_STATE_OFF = 0 Off - not pressure low/high alarms will be detected) + PRESSURE_LIMITS_STATE_IDLE = 1 Idle - in Treatment mode state where BP is stopped - no pressure low/high alarms + PRESSURE_LIMITS_STATE_WIDE = 2 Wide - in Treatment mode state where BP is running but wide limits apply + PRESSURE_LIMITS_STATE_STABILIZATION = 3 Stabilization - in Treatment mode state where BP is running (dialysis + or stop), but need to stabilize first + PRESSURE_LIMITS_STATE_STABLE = 4 Stable - in Treatment mode state where BP is running (dialysis or stop) and + limit windows apply - @return: (int) The pressure limits state (0=stabilization, 1=stable) + + @return: (int) The pressure limits state """ return self.pressure_limits_state