danaR changes
This commit is contained in:
parent
5634aabd9f
commit
71c474ef5f
|
@ -59,6 +59,7 @@ public abstract class AbstractDanaRPlugin extends PluginBase implements PumpInte
|
|||
.pluginName(R.string.danarspump)
|
||||
.shortName(R.string.danarpump_shortname)
|
||||
.preferencesId(R.xml.pref_danars)
|
||||
.description(R.string.description_pump_dana_r)
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -163,6 +163,10 @@ public class DanaRFragment extends SubscriberFragment {
|
|||
new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
synchronized(DanaRFragment.this){
|
||||
|
||||
if(btConnectionView == null || pumpStatusView == null || pumpStatusLayout == null ) return;
|
||||
|
||||
if (c.sStatus == EventPumpStatusChanged.CONNECTING)
|
||||
btConnectionView.setText("{fa-bluetooth-b spin} " + c.sSecondsElapsed + "s");
|
||||
else if (c.sStatus == EventPumpStatusChanged.CONNECTED)
|
||||
|
@ -178,6 +182,7 @@ public class DanaRFragment extends SubscriberFragment {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -382,6 +382,6 @@ public class DanaRPlugin extends AbstractDanaRPlugin {
|
|||
|
||||
@Override
|
||||
public PumpEnactResult setUserOptions() {
|
||||
return null;
|
||||
return sExecutionService.setUserOptions();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -161,7 +161,7 @@ public class DanaRPump {
|
|||
public int lowReservoirRate;
|
||||
public int cannulaVolume;
|
||||
public int refillAmount;
|
||||
public byte[] userOptionsFrompump;
|
||||
|
||||
public double initialBolusAmount;
|
||||
// Bolus settings
|
||||
public int bolusCalculationOption;
|
||||
|
|
Loading…
Reference in a new issue