From acfd40e6d1d1512bdd95a4f0e668b5b132951103 Mon Sep 17 00:00:00 2001 From: Bart Sopers Date: Fri, 26 Feb 2021 02:49:13 +0100 Subject: [PATCH] Add methods to OmnipodDashManager --- .../pump/omnipod/dash/driver/OmnipodDashManager.kt | 4 ++++ .../pump/omnipod/dash/driver/OmnipodDashManagerImpl.kt | 10 ++++++++++ 2 files changed, 14 insertions(+) diff --git a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/OmnipodDashManager.kt b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/OmnipodDashManager.kt index 1c4e63ea99..153bcfd9b6 100644 --- a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/OmnipodDashManager.kt +++ b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/OmnipodDashManager.kt @@ -25,4 +25,8 @@ interface OmnipodDashManager { fun bolus(amount: Double): Observable fun cancelBolus(): Observable + + fun silenceAlerts(): Observable + + fun deactivatePod(): Observable } \ No newline at end of file diff --git a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/OmnipodDashManagerImpl.kt b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/OmnipodDashManagerImpl.kt index af4e3c8700..f80e6bc207 100644 --- a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/OmnipodDashManagerImpl.kt +++ b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/OmnipodDashManagerImpl.kt @@ -65,4 +65,14 @@ class OmnipodDashManagerImpl @Inject constructor( // TODO return Observable.empty() } + + override fun silenceAlerts(): Observable { + // TODO + return Observable.empty() + } + + override fun deactivatePod(): Observable { + // TODO + return Observable.empty() + } } \ No newline at end of file