Browse Source

updated condensation alert

Thomas Thümmler 10 months ago
parent
commit
27c9a0ae48
1 changed files with 5 additions and 5 deletions
  1. 5 5
      SDS_status_main.php

+ 5 - 5
SDS_status_main.php

@@ -1742,15 +1742,15 @@ placeTextWithLink($draw_y+50, $draw_x+30, sprintf('%.1F %', $Opus_relH_perc
 
 // ########## MS condensation alert during HV operation ##########
 
-if ($MSmode == 5) {
+if ($MSmode == 5)
+  {
   if ($global_max_dewpoint - $global_MS_temperature > -1)  // check dewpoint 1 °C below tank temperature
     {
-      placePic(-130+12, 857, "alarm_flash.gif", 50, "Condensation alert, don't operate high voltage!");
+      placePic(-130+96, 425, "alarm_flash.gif", 25, "Condensation alert, don't operate high voltage!");
       $color = "#FFD800"; // yellow 
-      placeBox(-130+60, 805, "CONDENSATION ALERT" , 150, 3, $color);
+      placeBox(-130+120, 363, "CONDENSATION ALERT" , 150, 3, $color);
     }  
-}
-
+  }
 
 
 ?>