www-thermferm/liveview.php

changeset 294
e07b08283d96
parent 284
9e6fb5aed618
child 295
e88d182657ca
equal deleted inserted replaced
293:881b1ae75468 294:e07b08283d96
28 28
29 function showunit($unit, $unr) 29 function showunit($unit, $unr)
30 { 30 {
31 global $my_style; 31 global $my_style;
32 32
33 $outstr = ''; 33 $outstr = ' <!-- showunit(' . $unit . ', ' . $unr . ') -->' . PHP_EOL;
34 $air_state = $beer_state = 1; 34 $air_state = $beer_state = 1;
35 $answer = send_cmd("UNIT GET ".$unit); 35 $answer = send_cmd("UNIT GET ".$unit);
36 $arr = explode("\r\n", $answer); 36 $arr = explode("\r\n", $answer);
37 37
38 if (startsWith($arr[0], "213")) { 38 if (startsWith($arr[0], "213")) {

mercurial