fixed bug where ekg does not show "no data" and fixed bug where snmp was not closed correctly
This commit is contained in:
parent
3c2cb48eed
commit
cf756d4cf7
|
@ -107,7 +107,7 @@ public class ActorDisplay {
|
|||
|
||||
if (++counterEmg > timeout) {
|
||||
lblEmg.setForeground(offColor);
|
||||
lblEkg.setText(offText);
|
||||
lblEmg.setText(offText);
|
||||
} else {
|
||||
lblEmg.setForeground(onColor);
|
||||
}
|
||||
|
|
|
@ -67,6 +67,8 @@ public class SnmpStatClient {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
snmp.close();
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue