tanjera / infirmary-integrated

Medical device simulator for training healthcare professionals.
http://www.infirmary-integrated.com/
Other
43 stars 5 forks source link

Auto-apply parameters (e.g. vital signs) repeatedly causes stuttering Tracings; needs time smoothing. #142

Closed tanjera closed 2 years ago

tanjera commented 2 years ago

For example, using NumericUpDown (holding down up or down button) repeatedly changes parameter (e.g. vital sign) If set to auto-apply, repeatedly triggers a reset of Patient baseline Timers... shows as stuttering Tracings (e.g. string of P waves)

Solution: time smoothing. Maybe only auto-apply vital signs once per second? Save changes to a buffer and pass the buffer every second? Using a while(true) { Task.Sleep(1000); pass_buffer_to_patient(); } loop?

tanjera commented 2 years ago

Implemented fix in b441d018e55645c5ea67a4e6b3c2bd95cd9b71df