EOpatch -> :pump

This commit is contained in:
Milos Kozak 2022-11-03 14:24:53 +01:00
parent b0c755968e
commit 37da844b5e
149 changed files with 14 additions and 9 deletions

View file

@ -189,6 +189,7 @@ dependencies {
implementation project(':pump:danars')
implementation project(':pump:danar')
implementation project(':pump:diaconn')
implementation project(':pump:eopatch')
implementation project(':insight')
implementation project(':pump:medtronic')
implementation project(':pump:pump-common')
@ -198,7 +199,6 @@ dependencies {
implementation project(':pump:omnipod-dash')
implementation project(':automation')
implementation project(':openhumans')
implementation project(':eopatch')
implementation fileTree(include: ['*.jar'], dir: 'libs')

View file

@ -70,7 +70,7 @@ import javax.inject.Singleton
WorkersModule::class,
DiaconnG8Module::class,
OpenHumansModule::class,
SharedModule::class
SharedModule::class,
EopatchModule::class,
SharedModule::class,
UiModule::class,

View file

@ -43,8 +43,8 @@ files:
translation: /insight/src/main/res/values-%android_code%/exceptions.xml
- source: /automation/src/main/res/values/strings.xml
translation: /automation/src/main/res/values-%android_code%/strings.xml
- source: /eopatch/src/main/res/values/strings.xml
translation: /eopatch/src/main/res/values-%android_code%/strings.xml
- source: /pump/eopatch/src/main/res/values/strings.xml
translation: /pump/eopatch/src/main/res/values-%android_code%/strings.xml
- source: /pump/diaconn/src/main/res/values/strings.xml
translation: /pump/diaconn/src/main/res/values-%android_code%/strings.xml
- source: /pump/pump-common/src/main/res/values/strings.xml

View file

@ -19,9 +19,10 @@ android {
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation (files("libs/eopatch_core.aar"))
implementation project(':core')
implementation project(':libraries')
implementation project(':shared')
implementation project(':database')
implementation project(':core')
//RxAndroidBle
implementation "com.polidea.rxandroidble3:rxandroidble:1.16.0"

View file

@ -199,7 +199,7 @@ class EopatchPumpPlugin @Inject constructor(
disposable.dispose()
aapsLogger.info(LTag.PUMP, "Basal Profile was set: ${isSuccess?:false}")
if(isSuccess?:false) {
if(isSuccess == true) {
rxBus.send(EventNewNotification(Notification(Notification.PROFILE_SET_OK, rh.gs(R.string.profile_set_ok), Notification.INFO, 60)))
return PumpEnactResult(injector).success(true).enacted(true)
}else{

View file

@ -2,7 +2,6 @@ package info.nightscout.androidaps.plugins.pump.eopatch.alarm
import android.content.Context
import android.content.Intent
import android.util.Log
import info.nightscout.androidaps.interfaces.ActivePlugin
import info.nightscout.androidaps.interfaces.CommandQueue
import info.nightscout.androidaps.interfaces.PumpSync
@ -14,7 +13,12 @@ import info.nightscout.androidaps.plugins.pump.common.defs.PumpType
import info.nightscout.androidaps.plugins.pump.eopatch.EONotification
import info.nightscout.androidaps.plugins.pump.eopatch.EoPatchRxBus
import info.nightscout.androidaps.plugins.pump.eopatch.R
import info.nightscout.androidaps.plugins.pump.eopatch.alarm.AlarmCode.*
import info.nightscout.androidaps.plugins.pump.eopatch.alarm.AlarmCode.A005
import info.nightscout.androidaps.plugins.pump.eopatch.alarm.AlarmCode.A016
import info.nightscout.androidaps.plugins.pump.eopatch.alarm.AlarmCode.A020
import info.nightscout.androidaps.plugins.pump.eopatch.alarm.AlarmCode.B000
import info.nightscout.androidaps.plugins.pump.eopatch.alarm.AlarmCode.B001
import info.nightscout.androidaps.plugins.pump.eopatch.alarm.AlarmCode.B012
import info.nightscout.androidaps.plugins.pump.eopatch.ble.IPatchManager
import info.nightscout.androidaps.plugins.pump.eopatch.ble.IPreferenceManager
import info.nightscout.androidaps.plugins.pump.eopatch.code.AlarmCategory

Some files were not shown because too many files have changed in this diff Show more