Browse Source

flipped PS TMP numbers

Thomas Thümmler 10 months ago
parent
commit
3e2890dadf
1 changed files with 4 additions and 4 deletions
  1. 4 4
      SDS_status_main.php

+ 4 - 4
SDS_status_main.php

@@ -348,8 +348,8 @@ if ((substr($ip, 0, 13) == "141.52.12.158") | (substr($ip, 0, 13) == "141.52.12.
 
 	for ($id = 0; $id < 2; $id++)
 	{
-                $value = $adeiValue[27][$id + 1];
-                $link = $adeiChannel[27][$id + 1];
+        $value = $adeiValue[27][$id + 1];
+        $link = $adeiChannel[27][$id + 1];
 		$pic = "tmp";
 		$text = "---";
 
@@ -369,8 +369,8 @@ if ((substr($ip, 0, 13) == "141.52.12.158") | (substr($ip, 0, 13) == "141.52.12.
 			}
 		}
 
-		placePicWithLink(370, 157 + $id * 35, $pic . ".png", 30, "status turbo-molecular pump TMP" . (1123 - $id) . "&#10;green: on, yellow: on but isolated, red: off, grey: undefined", $link);
-		placeTextWithLink(399, 148 + $id * 35, $text, 50, 4, "#000000", "rotational speed [Hz] turbo-molecular pump TMP" . (1123 - $id), $link);
+		placePicWithLink(370, 157 + $id * 35, $pic . ".png", 30, "status turbo-molecular pump TMP" . (1122 + $id) . "&#10;green: on, yellow: on but isolated, red: off, grey: undefined", $link);
+		placeTextWithLink(399, 148 + $id * 35, $text, 50, 4, "#000000", "rotational speed [Hz] turbo-molecular pump TMP" . (1122 + $id), $link);
 	}