Skip to content

Commit

Permalink
Fix comments (#29330)
Browse files Browse the repository at this point in the history
  • Loading branch information
Partmedia authored Jun 22, 2024
1 parent b5f6aa0 commit dfe01c7
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions Resources/Prototypes/Atmospherics/thresholds.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# Threshold prototypes for AtmosMonitors

# NOTE: Warning thresholds are given as multipliers of the danger bound. For
# example, if upperBound=10 (kPa) and upperWarnRound=0.5, that means the upper
# warning threshold is actually 5 (kPa).
#
# As a result, all upperWarn's should be <1 and lowerWarn's should be >1,
# otherwise the warning will never kick in.

- type: alarmThreshold
id: stationTemperature
upperBound: !type:AlarmThresholdSetting
Expand All @@ -21,11 +30,7 @@
lowerWarnAround: !type:AlarmThresholdSetting
threshold: 1.05 # ~90 kPa

# a reminder that all of these are percentages (where 1 is 100%),
# so 0.01 is 1%,
# 0.0001 is 0.01%
# etc.

# For gas concentrations, threshold=0.1 means 10%
- type: alarmThreshold
id: stationOxygen
lowerBound: !type:AlarmThresholdSetting
Expand All @@ -47,6 +52,7 @@
upperWarnAround: !type:AlarmThresholdSetting
threshold: 0.5

# this is a hack, but 150% means never danger on water, but warn at 75%
- type: alarmThreshold
id: stationWaterVapor
upperBound: !type:AlarmThresholdSetting
Expand Down

0 comments on commit dfe01c7

Please sign in to comment.