pez-globo / pufferfish-software

All software for the Pufferfish ventilator.
Apache License 2.0
0 stars 1 forks source link

Generate alarm events in the backend simulator #152

Closed ethanjli closed 4 years ago

ethanjli commented 4 years ago

Sudhir will be working on the events log and alarms, so we will need a way to exercise that from the backend simulator. It should generate two kinds of things:

  1. A history of 20 "previous" alarms/events, randomly generated at startup
  2. PatientAlarmEvent (with the event code and all states) randomly triggered once every ~30 sec - these alarm events also need to get added to the history