UX improvements to Air Alarm UI (#12681)

Co-authored-by: Eoin Mcloughlin <helloworld@eoinrul.es>
This commit is contained in:
eoineoineoin
2022-12-06 23:46:07 +00:00
committed by GitHub
parent dadd34286e
commit ff9cf108b6
16 changed files with 649 additions and 495 deletions

View File

@@ -1,16 +1,24 @@
- type: alarmThreshold
id: stationTemperature
upperBound: 393.15 # T20C + 200
lowerBound: 193.15 # T20C - 100
upperWarnAround: 0.8
lowerWarnAround: 1.1
upperBound: !type:AlarmThresholdSetting
threshold: 393.15 # T20C + 200
lowerBound: !type:AlarmThresholdSetting
threshold: 193.15 # T20C - 100
upperWarnAround: !type:AlarmThresholdSetting
threshold: 0.8
lowerWarnAround: !type:AlarmThresholdSetting
threshold: 1.1
- type: alarmThreshold
id: stationPressure
upperBound: 550 # as defined in Atmospherics.cs
lowerBound: 20 # as defined in Atmospherics.cs
upperWarnAround: 0.7
lowerWarnAround: 2.5
upperBound: !type:AlarmThresholdSetting
threshold: 550 # as defined in Atmospherics.cs
lowerBound: !type:AlarmThresholdSetting
threshold: 20 # as defined in Atmospherics.cs
upperWarnAround: !type:AlarmThresholdSetting
threshold: 0.7
lowerWarnAround: !type:AlarmThresholdSetting
threshold: 2.5
# a reminder that all of these are percentages (where 1 is 100%),
# so 0.01 is 1%,
@@ -19,23 +27,31 @@
- type: alarmThreshold
id: stationOxygen
lowerBound: 0.10
lowerWarnAround: 1.5
lowerBound: !type:AlarmThresholdSetting
threshold: 0.10
lowerWarnAround: !type:AlarmThresholdSetting
threshold: 1.5
- type: alarmThreshold
id: stationCO2
upperBound: 0.0025
upperWarnAround: 0.5
upperBound: !type:AlarmThresholdSetting
threshold: 0.0025
upperWarnAround: !type:AlarmThresholdSetting
threshold: 0.5
- type: alarmThreshold
id: stationNO
upperBound: 0.01
upperWarnAround: 0.5
upperBound: !type:AlarmThresholdSetting
threshold: 0.01
upperWarnAround: !type:AlarmThresholdSetting
threshold: 0.5
- type: alarmThreshold
id: stationMiasma
upperBound: 0.05
upperWarnAround: 0.5
upperBound: !type:AlarmThresholdSetting
threshold: 0.05
upperWarnAround: !type:AlarmThresholdSetting
threshold: 0.5
- type: alarmThreshold
id: ignore # just ignore nitrogen??? ??? ???
@@ -43,4 +59,5 @@
- type: alarmThreshold
id: danger # just any gas you don't want at all
upperBound: 0.0001
upperBound: !type:AlarmThresholdSetting
threshold: 0.0001