From da14175da4300689952ad392d368c62e2d127180 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Fri, 25 Nov 2022 22:59:24 +0100 Subject: [PATCH] DanaR: remove core dependency --- .idea/codeStyles/Project.xml | 1 + .../nightscout/core/wizard/BolusWizard.kt | 4 ++-- .../core-main/src/main/res/values/strings.xml | 11 ---------- .../src/main/res/values/fet_attrs.xml | 0 core/ui/src/main/res/values/strings.xml | 13 +++++++++++- .../src/main/res/values/validator.xml | 0 .../nightscout/plugins/aps/loop/LoopPlugin.kt | 6 +++--- .../general/actions/ActionsFragment.kt | 2 +- pump/danar/build.gradle | 4 +++- .../danaRKorean/DanaRKoreanPlugin.kt | 6 ++++-- .../comm/MsgInitConnStatusBasic_k.kt | 7 ++----- .../comm/MsgInitConnStatusBolus_k.kt | 4 +--- .../comm/MsgInitConnStatusTime_k.kt | 4 +--- .../services/DanaRKoreanExecutionService.java | 8 +++---- .../androidaps/danaRv2/DanaRv2Plugin.java | 8 ++++--- .../danaRv2/comm/MsgCheckValue_v2.kt | 7 ++----- .../services/DanaRv2ExecutionService.java | 4 +--- .../androidaps/danar/AbstractDanaRPlugin.java | 18 ++++++++-------- .../androidaps/danar/DanaRPlugin.java | 6 ++++-- .../androidaps/danar/comm/MessageBase.kt | 2 ++ .../danar/comm/MsgInitConnStatusBolus.kt | 4 +--- .../danar/comm/MsgInitConnStatusOption.kt | 4 +--- .../danar/comm/MsgInitConnStatusTime.kt | 4 +--- .../danar/comm/MsgSetBasalProfile.kt | 7 ++----- .../danar/comm/MsgSetSingleBasalProfile.kt | 7 ++----- .../androidaps/danar/comm/MsgSettingMeal.kt | 7 ++----- .../AbstractDanaRExecutionService.java | 21 +++++++------------ .../danar/services/DanaRExecutionService.java | 4 +--- .../plugins/pump/danaR/DanaRPluginTest.kt | 4 +++- .../plugins/pump/danaR/comm/DanaRTestBase.kt | 3 +++ .../pump/danaRKorean/DanaRKoreanPluginTest.kt | 5 ++++- .../plugins/pump/danaRv2/DanaRv2PluginTest.kt | 5 ++++- .../androidaps/danars/DanaRSPlugin.kt | 2 +- .../androidaps/diaconn/DiaconnG8Plugin.kt | 2 +- .../info/nightscout/ui/dialogs/LoopDialog.kt | 4 ++-- .../nightscout/ui/dialogs/TempBasalDialog.kt | 2 +- 36 files changed, 94 insertions(+), 106 deletions(-) rename core/{core-main => ui}/src/main/res/values/fet_attrs.xml (100%) rename core/{core-main => ui}/src/main/res/values/validator.xml (100%) diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index f9209c97b3..bf41126f8b 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -11,6 +11,7 @@