-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
How about having the ability to deal with delta temperatures, or delta speeds or delta whatever?
Like being able to specify a delta temperature of x degrees (3 C, 4 F or 7 K). This would allow to compute a new temperature by adding or subtracting a delta temperature to a temperature that is not necessarily in the same unit.
It would be useful when dealing with thresholds or safety margins, all while implementing user's unit preferences.
For example :
# current_temperature is a temperature
# safety_margin is a delta-temperature
# threshold_temperature is a temperature
if (current_temperature - safety_margin) > threshold_temperature
raise_alarmMetadata
Metadata
Assignees
Labels
No labels