From cc50a6fb99afb5fde8e1cd0476d217f0045e74f2 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Sat, 30 Dec 2017 16:25:08 +0100 Subject: [PATCH] missing inheritance --- .../plugins/IobCobCalculator/{events => }/BasalData.java | 2 +- .../plugins/IobCobCalculator/IobCobCalculatorPlugin.java | 1 - .../androidaps/plugins/Overview/graphData/GraphData.java | 2 +- .../plugins/PumpDanaRS/events/EventDanaRSDeviceChange.java | 4 +++- .../plugins/PumpDanaRS/events/EventDanaRSPacket.java | 3 ++- .../plugins/PumpDanaRS/events/EventDanaRSPairingSuccess.java | 4 +++- 6 files changed, 10 insertions(+), 6 deletions(-) rename app/src/main/java/info/nightscout/androidaps/plugins/IobCobCalculator/{events => }/BasalData.java (71%) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/IobCobCalculator/events/BasalData.java b/app/src/main/java/info/nightscout/androidaps/plugins/IobCobCalculator/BasalData.java similarity index 71% rename from app/src/main/java/info/nightscout/androidaps/plugins/IobCobCalculator/events/BasalData.java rename to app/src/main/java/info/nightscout/androidaps/plugins/IobCobCalculator/BasalData.java index 4e1dcc1bf6..d8bde8acbb 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/IobCobCalculator/events/BasalData.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/IobCobCalculator/BasalData.java @@ -1,4 +1,4 @@ -package info.nightscout.androidaps.plugins.IobCobCalculator.events; +package info.nightscout.androidaps.plugins.IobCobCalculator; /** * Created by mike on 10.06.2017. diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/IobCobCalculator/IobCobCalculatorPlugin.java b/app/src/main/java/info/nightscout/androidaps/plugins/IobCobCalculator/IobCobCalculatorPlugin.java index 82022fe163..93f1b69b0f 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/IobCobCalculator/IobCobCalculatorPlugin.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/IobCobCalculator/IobCobCalculatorPlugin.java @@ -31,7 +31,6 @@ import info.nightscout.androidaps.events.EventNewBasalProfile; import info.nightscout.androidaps.events.EventPreferenceChange; import info.nightscout.androidaps.interfaces.PluginBase; import info.nightscout.androidaps.plugins.ConfigBuilder.ConfigBuilderPlugin; -import info.nightscout.androidaps.plugins.IobCobCalculator.events.BasalData; import info.nightscout.androidaps.plugins.IobCobCalculator.events.EventAutosensCalculationFinished; import info.nightscout.androidaps.plugins.IobCobCalculator.events.EventNewHistoryData; diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/Overview/graphData/GraphData.java b/app/src/main/java/info/nightscout/androidaps/plugins/Overview/graphData/GraphData.java index 8bead45e85..99f53ad2ef 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/Overview/graphData/GraphData.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/Overview/graphData/GraphData.java @@ -27,7 +27,7 @@ import info.nightscout.androidaps.db.Treatment; import info.nightscout.androidaps.plugins.ConfigBuilder.ConfigBuilderPlugin; import info.nightscout.androidaps.plugins.IobCobCalculator.AutosensData; import info.nightscout.androidaps.plugins.IobCobCalculator.IobCobCalculatorPlugin; -import info.nightscout.androidaps.plugins.IobCobCalculator.events.BasalData; +import info.nightscout.androidaps.plugins.IobCobCalculator.BasalData; import info.nightscout.androidaps.plugins.OpenAPSAMA.DetermineBasalResultAMA; import info.nightscout.androidaps.plugins.Overview.graphExtensions.AreaGraphSeries; import info.nightscout.androidaps.plugins.Overview.graphExtensions.DataPointWithLabelInterface; diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRS/events/EventDanaRSDeviceChange.java b/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRS/events/EventDanaRSDeviceChange.java index 8ae02d47ff..dd9b86ebce 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRS/events/EventDanaRSDeviceChange.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRS/events/EventDanaRSDeviceChange.java @@ -1,8 +1,10 @@ package info.nightscout.androidaps.plugins.PumpDanaRS.events; +import info.nightscout.androidaps.events.Event; + /** * Created by mike on 05.09.2017. */ -public class EventDanaRSDeviceChange { +public class EventDanaRSDeviceChange extends Event { } diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRS/events/EventDanaRSPacket.java b/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRS/events/EventDanaRSPacket.java index 5815399194..e42b6b1440 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRS/events/EventDanaRSPacket.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRS/events/EventDanaRSPacket.java @@ -1,12 +1,13 @@ package info.nightscout.androidaps.plugins.PumpDanaRS.events; +import info.nightscout.androidaps.events.Event; import info.nightscout.androidaps.plugins.PumpDanaRS.comm.DanaRS_Packet; /** * Created by mike on 01.09.2017. */ -public class EventDanaRSPacket { +public class EventDanaRSPacket extends Event{ public EventDanaRSPacket(DanaRS_Packet data) { this.data = data; } diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRS/events/EventDanaRSPairingSuccess.java b/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRS/events/EventDanaRSPairingSuccess.java index d50091de55..433cdec9bf 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRS/events/EventDanaRSPairingSuccess.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRS/events/EventDanaRSPairingSuccess.java @@ -1,8 +1,10 @@ package info.nightscout.androidaps.plugins.PumpDanaRS.events; +import info.nightscout.androidaps.events.Event; + /** * Created by mike on 01.09.2017. */ -public class EventDanaRSPairingSuccess { +public class EventDanaRSPairingSuccess extends Event{ }