Insight CancelBolusTaskRunner refactor
This commit is contained in:
parent
c019b4c533
commit
07cdee0533
1 changed files with 3 additions and 3 deletions
|
@ -1,9 +1,9 @@
|
||||||
package info.nightscout.androidaps.plugins.PumpInsight.connector;
|
package info.nightscout.androidaps.plugins.PumpInsight.connector;
|
||||||
|
|
||||||
import sugar.free.sightparser.applayer.AppLayerMessage;
|
import sugar.free.sightparser.applayer.AppLayerMessage;
|
||||||
|
import sugar.free.sightparser.applayer.descriptors.ActiveBolusType;
|
||||||
import sugar.free.sightparser.applayer.remote_control.CancelBolusMessage;
|
import sugar.free.sightparser.applayer.remote_control.CancelBolusMessage;
|
||||||
import sugar.free.sightparser.applayer.status.ActiveBolusesMessage;
|
import sugar.free.sightparser.applayer.status.ActiveBolusesMessage;
|
||||||
import sugar.free.sightparser.applayer.status.BolusType;
|
|
||||||
import sugar.free.sightparser.handling.SightServiceConnector;
|
import sugar.free.sightparser.handling.SightServiceConnector;
|
||||||
import sugar.free.sightparser.handling.TaskRunner;
|
import sugar.free.sightparser.handling.TaskRunner;
|
||||||
|
|
||||||
|
@ -11,9 +11,9 @@ import sugar.free.sightparser.handling.TaskRunner;
|
||||||
|
|
||||||
public class CancelBolusTaskRunner extends TaskRunner {
|
public class CancelBolusTaskRunner extends TaskRunner {
|
||||||
|
|
||||||
private BolusType bolusType;
|
private ActiveBolusType bolusType;
|
||||||
|
|
||||||
public CancelBolusTaskRunner(SightServiceConnector serviceConnector, BolusType bolusType) {
|
public CancelBolusTaskRunner(SightServiceConnector serviceConnector, ActiveBolusType bolusType) {
|
||||||
super(serviceConnector);
|
super(serviceConnector);
|
||||||
this.bolusType = bolusType;
|
this.bolusType = bolusType;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue