Browse Source

Updated positions, included ground icon PS

Thomas Thuemmler 2 months ago
parent
commit
ef6c857f29
2 changed files with 10 additions and 3 deletions
  1. 10 3
      SDS_status_main.php
  2. BIN
      pics/ground.png

+ 10 - 3
SDS_status_main.php

@@ -1366,8 +1366,8 @@ if ($PSmode == 5)
         $color = "#CCCCCC";
         if ($value < 800)
             {
-                $draw_x = 138;
-                $draw_y = 348;
+                $draw_x = 153;
+                $draw_y = 344;
                 placeBoxRight($draw_y, $draw_x,sprintf('%.1F &#176;C', $value), 65, 2, $color);
                 placePicWithLink($draw_y+2, $draw_x+5, "newTemperature.png", 15, "Average temperature of pre spectrometer vessel sensors 4023..33..43.", $link);
             }
@@ -1551,7 +1551,14 @@ if ($V4_open) {
 }
 
 
-// ########## HIGH VOLTAGE SWITCH ##########
+// ########## PS HIGH VOLTAGE SWITCH ##########
+$value = $adeiValue[48][0];
+$link = $adeiChannel[48][0];
+$pic = "ground";
+if ($value == 1) placePicWithLink(335, 250, $pic . ".png", 30, "status PS high-voltage grounding switch", $link);
+
+
+// ########## MS HIGH VOLTAGE SWITCH ##########
 $value = $adeiValue[31][1];
 $pic = "switch";
 if ($value == 1) $pic = $pic . "Open";

BIN
pics/ground.png