revert wrong autosens fix
This commit is contained in:
parent
e4e0e64eef
commit
d97e195ad1
3 changed files with 4 additions and 5 deletions
|
@ -33,7 +33,7 @@ public class Config {
|
|||
public static final boolean logNSUpload = true;
|
||||
public static final boolean logPumpActions = true;
|
||||
public static final boolean logCongigBuilderActions = true;
|
||||
public static final boolean logAutosensData = false;
|
||||
public static final boolean logAutosensData = true;
|
||||
public static final boolean logEvents = false;
|
||||
public static final boolean logProfile = false;
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ public class SensitivityOref0Plugin extends AbstractSensitivityPlugin {
|
|||
|
||||
AutosensData current = IobCobCalculatorPlugin.getPlugin().getAutosensData(toTime); // this is running inside lock already
|
||||
if (current == null) {
|
||||
log.debug("No current autosens data available");
|
||||
log.debug("No autosens data available");
|
||||
return new AutosensResult();
|
||||
}
|
||||
|
||||
|
|
|
@ -70,10 +70,9 @@ public class SensitivityOref1Plugin extends AbstractSensitivityPlugin {
|
|||
}
|
||||
|
||||
// the current
|
||||
AutosensData current = IobCobCalculatorPlugin.getPlugin()
|
||||
.getLastAutosensDataSynchronized("SensitivityOref1Plugin"); // this is running inside lock already
|
||||
AutosensData current = IobCobCalculatorPlugin.getPlugin().getAutosensData(toTime); // this is running inside lock already
|
||||
if (current == null) {
|
||||
log.debug("No current autosens data available");
|
||||
log.debug("No autosens data available");
|
||||
return new AutosensResult();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue