small fixes

This commit is contained in:
Ziver Koc 2016-08-25 21:37:35 +02:00
parent 72bd17569d
commit 3cb72a1d17
3 changed files with 3 additions and 3 deletions

View file

@ -17,7 +17,7 @@
<tr> <tr>
<td><a href="?id={{.getId()}}">{{.getName()}}</a></td> <td><a href="?id={{.getId()}}">{{.getName()}}</a></td>
<td>{{.getDeviceData().getClass().getSimpleName()}}</td> <td>{{.getDeviceData().getClass().getSimpleName()}}</td>
<td>{{.getDeviceData().getData()}}</td> <td>{{.getDeviceData()}}</td>
<td><span class="timestamp">{{.getDeviceData().getTimestamp()}}</span></td> <td><span class="timestamp">{{.getDeviceData().getTimestamp()}}</span></td>
<td> <td>
<form method="POST"> <form method="POST">

View file

@ -16,7 +16,7 @@
<tr> <tr>
<td><a href="?id={{.getId()}}">{{.getName()}}</a></td> <td><a href="?id={{.getId()}}">{{.getName()}}</a></td>
<td>{{.getDeviceData().getClass().getSimpleName()}}</td> <td>{{.getDeviceData().getClass().getSimpleName()}}</td>
<td>{{.getDeviceData().getData()}}</td> <td>{{.getDeviceData()}}</td>
<td><span class="timestamp">{{.getDeviceData().getTimestamp()}}</span></td> <td><span class="timestamp">{{.getDeviceData().getTimestamp()}}</span></td>
</tr> </tr>
{{/sensors}} {{/sensors}}

View file

@ -49,7 +49,7 @@ public class NutUpsDevice implements HalSensorConfig{
} }
public String toString(){ public String toString(){
return "id: "+ upsId; return "upsId: "+ upsId;
} }
@Override @Override