Temperature Measurement & MODBUS Integration #17
|
@ -164,24 +164,24 @@ td > span {
|
||||||
<tr>
|
<tr>
|
||||||
<th rowspan="4">Temperatures</th>
|
<th rowspan="4">Temperatures</th>
|
||||||
<th>DP Bottom</th>
|
<th>DP Bottom</th>
|
||||||
<td id="temp-dp-bottom">{{ .Temperatures.DPBottom }}</td>
|
<td id="temp-dp-bottom">{{ .Temperatures.DPBottom }} °C</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>DP Top</th>
|
<th>DP Top</th>
|
||||||
<td id="temp-dp-top">{{ .Temperatures.DPTop }}</td>
|
<td id="temp-dp-top">{{ .Temperatures.DPTop }} °C</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>DP Inlet</th>
|
<th>DP Inlet</th>
|
||||||
<td id="temp-dp-inlet">{{ .Temperatures.DPInlet }}</td>
|
<td id="temp-dp-inlet">{{ .Temperatures.DPInlet }} °C</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>SEM Environment</th>
|
<th>SEM Environment</th>
|
||||||
<td id="temp-sem">{{ .Temperatures.SEM }}</td>
|
<td id="temp-sem">{{ .Temperatures.SEM }} °C</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Humidity</th>
|
<th>Humidity</th>
|
||||||
<th>SEM Environment</th>
|
<th>SEM Environment</th>
|
||||||
<td id="humidity-sem">{{ .Humidity.SEM }}</td>
|
<td id="humidity-sem">{{ .Humidity.SEM }}%</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
@ -419,7 +419,7 @@ window.addEventListener("load", (_) => {
|
||||||
tempSEM.innerHTML = data.Temperatures.SEM + " °C";
|
tempSEM.innerHTML = data.Temperatures.SEM + " °C";
|
||||||
tempSEM.style = (data.Temperatures.SEM > 30) ?
|
tempSEM.style = (data.Temperatures.SEM > 30) ?
|
||||||
colors.highlightCaution : colors.default;
|
colors.highlightCaution : colors.default;
|
||||||
humiditySEM.innerHTML = data.Humidity.SEM + " %";
|
humiditySEM.innerHTML = data.Humidity.SEM + "%";
|
||||||
humiditySEM.style = (data.Humidity.SEM > 59) ?
|
humiditySEM.style = (data.Humidity.SEM > 59) ?
|
||||||
colors.highlightCaution : colors.default;
|
colors.highlightCaution : colors.default;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue