Changes between Version 11 and Version 12 of Proposal
- Timestamp:
- May 27, 2013, 3:32:45 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Proposal
v11 v12 79 79 80 80 # Check alarm speed 81 if speed >= self.dp["wind_speed_limit"].value and self.dp["wind_alarm_enable"].value == "Enable": 82 self.dp["wind_alarm"].value = "Alarm" 81 if self.dp["wind_alarm_enable"].value == "Enable" 82 if speed >= self.dp["wind_speed_limit"].value: 83 self.dp["wind_alarm"].value = "Alarm" 84 elif speed < self.dp["wind_speed_limit"].value - 5.: 85 self.dp["wind_alarm"].value = "No alarm" 83 86 84 87 # Instanciation of the weather station device object