unique autosens debug tag
This commit is contained in:
parent
0601cba2d9
commit
213a45c1e5
|
@ -33,7 +33,7 @@ public class Config {
|
||||||
public static final boolean logNSUpload = true;
|
public static final boolean logNSUpload = true;
|
||||||
public static final boolean logPumpActions = true;
|
public static final boolean logPumpActions = true;
|
||||||
public static final boolean logCongigBuilderActions = true;
|
public static final boolean logCongigBuilderActions = true;
|
||||||
public static final boolean logAutosensData = true;
|
public static final boolean logAutosensData = false;
|
||||||
public static final boolean logEvents = false;
|
public static final boolean logEvents = false;
|
||||||
public static final boolean logProfile = false;
|
public static final boolean logProfile = false;
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ import info.nightscout.utils.SP;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class AutosensData implements DataPointWithLabelInterface {
|
public class AutosensData implements DataPointWithLabelInterface {
|
||||||
private static Logger log = LoggerFactory.getLogger(AutosensData.class);
|
private static Logger log = LoggerFactory.getLogger("AUTOSENS");
|
||||||
|
|
||||||
public void setChartTime(long chartTime) {
|
public void setChartTime(long chartTime) {
|
||||||
this.chartTime = chartTime;
|
this.chartTime = chartTime;
|
||||||
|
|
|
@ -9,7 +9,7 @@ import org.slf4j.LoggerFactory;
|
||||||
* Created by mike on 06.01.2017.
|
* Created by mike on 06.01.2017.
|
||||||
*/
|
*/
|
||||||
public class AutosensResult {
|
public class AutosensResult {
|
||||||
private static Logger log = LoggerFactory.getLogger(AutosensResult.class);
|
private static Logger log = LoggerFactory.getLogger("AUTOSENS");
|
||||||
|
|
||||||
//default values to show when autosens algorithm is not called
|
//default values to show when autosens algorithm is not called
|
||||||
public double ratio = 1d;
|
public double ratio = 1d;
|
||||||
|
|
|
@ -48,7 +48,7 @@ import static info.nightscout.utils.DateUtil.now;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class IobCobCalculatorPlugin extends PluginBase {
|
public class IobCobCalculatorPlugin extends PluginBase {
|
||||||
private Logger log = LoggerFactory.getLogger(IobCobCalculatorPlugin.class);
|
private Logger log = LoggerFactory.getLogger("AUTOSENS");
|
||||||
|
|
||||||
private static IobCobCalculatorPlugin plugin = null;
|
private static IobCobCalculatorPlugin plugin = null;
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@ import static java.util.Calendar.MINUTE;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class IobCobOref1Thread extends Thread {
|
public class IobCobOref1Thread extends Thread {
|
||||||
private static Logger log = LoggerFactory.getLogger(IobCobOref1Thread.class);
|
private static Logger log = LoggerFactory.getLogger("AUTOSENS");
|
||||||
private final Event cause;
|
private final Event cause;
|
||||||
|
|
||||||
private IobCobCalculatorPlugin iobCobCalculatorPlugin;
|
private IobCobCalculatorPlugin iobCobCalculatorPlugin;
|
||||||
|
|
|
@ -42,7 +42,7 @@ import static info.nightscout.utils.DateUtil.now;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class IobCobThread extends Thread {
|
public class IobCobThread extends Thread {
|
||||||
private static Logger log = LoggerFactory.getLogger(IobCobThread.class);
|
private static Logger log = LoggerFactory.getLogger("AUTOSENS");
|
||||||
private final Event cause;
|
private final Event cause;
|
||||||
|
|
||||||
private IobCobCalculatorPlugin iobCobCalculatorPlugin;
|
private IobCobCalculatorPlugin iobCobCalculatorPlugin;
|
||||||
|
|
|
@ -14,7 +14,7 @@ import info.nightscout.utils.SafeParse;
|
||||||
|
|
||||||
public abstract class AbstractSensitivityPlugin extends PluginBase implements SensitivityInterface {
|
public abstract class AbstractSensitivityPlugin extends PluginBase implements SensitivityInterface {
|
||||||
|
|
||||||
private static final Logger log = LoggerFactory.getLogger(SensitivityInterface.class);
|
private static final Logger log = LoggerFactory.getLogger("AUTOSENS");
|
||||||
|
|
||||||
public AbstractSensitivityPlugin(PluginDescription pluginDescription) {
|
public AbstractSensitivityPlugin(PluginDescription pluginDescription) {
|
||||||
super(pluginDescription);
|
super(pluginDescription);
|
||||||
|
|
|
@ -28,7 +28,7 @@ import info.nightscout.utils.SP;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class SensitivityAAPSPlugin extends AbstractSensitivityPlugin {
|
public class SensitivityAAPSPlugin extends AbstractSensitivityPlugin {
|
||||||
private static Logger log = LoggerFactory.getLogger(SensitivityAAPSPlugin.class);
|
private static Logger log = LoggerFactory.getLogger("AUTOSENS");
|
||||||
|
|
||||||
static SensitivityAAPSPlugin plugin = null;
|
static SensitivityAAPSPlugin plugin = null;
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ import info.nightscout.utils.DateUtil;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class SensitivityOref0Plugin extends AbstractSensitivityPlugin {
|
public class SensitivityOref0Plugin extends AbstractSensitivityPlugin {
|
||||||
private static Logger log = LoggerFactory.getLogger(IobCobCalculatorPlugin.class);
|
private static Logger log = LoggerFactory.getLogger("AUTOSENS");
|
||||||
|
|
||||||
static SensitivityOref0Plugin plugin = null;
|
static SensitivityOref0Plugin plugin = null;
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ import info.nightscout.utils.DateUtil;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class SensitivityOref1Plugin extends AbstractSensitivityPlugin {
|
public class SensitivityOref1Plugin extends AbstractSensitivityPlugin {
|
||||||
private static Logger log = LoggerFactory.getLogger(IobCobCalculatorPlugin.class);
|
private static Logger log = LoggerFactory.getLogger("AUTOSENS");
|
||||||
|
|
||||||
static SensitivityOref1Plugin plugin = null;
|
static SensitivityOref1Plugin plugin = null;
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ import info.nightscout.utils.SP;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class SensitivityWeightedAveragePlugin extends AbstractSensitivityPlugin {
|
public class SensitivityWeightedAveragePlugin extends AbstractSensitivityPlugin {
|
||||||
private static Logger log = LoggerFactory.getLogger(SensitivityWeightedAveragePlugin.class);
|
private static Logger log = LoggerFactory.getLogger("AUTOSENS");
|
||||||
|
|
||||||
private static SensitivityWeightedAveragePlugin plugin = null;
|
private static SensitivityWeightedAveragePlugin plugin = null;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue