Index: dialin/hd/pressure_occlusion.py =================================================================== diff -u -r2abf398a7fffa390c46f8d41403de44575ffd97e -r2327e872a74d64f517132a2572b326a3e6b2fa28 --- dialin/hd/pressure_occlusion.py (.../pressure_occlusion.py) (revision 2abf398a7fffa390c46f8d41403de44575ffd97e) +++ dialin/hd/pressure_occlusion.py (.../pressure_occlusion.py) (revision 2327e872a74d64f517132a2572b326a3e6b2fa28) @@ -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