Set last command date.

Though this is only relevant when starting to fetch data from the pump.
This commit is contained in:
Johannes Mockenhaupt 2017-07-14 21:57:30 +02:00
parent 336315823e
commit 264e252300
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1

View file

@ -301,6 +301,7 @@ public class ComboPlugin implements PluginBase, PumpInterface {
return ruffyScripter.runCommand(command);
} finally {
// MainApp.bus().post(new EventPumpStatusChanged(EventPumpStatusChanged.DISCONNECTING));
lastCmdTime = new Date();
ruffyScripter.disconnect();
// MainApp.bus().post(new EventPumpStatusChanged(EventPumpStatusChanged.DISCONNECTED));
// MainApp.bus().post(new EventComboPumpUpdateGUI());