From 6c4bf07e45597633335d2df2b98a330122e9b8af Mon Sep 17 00:00:00 2001 From: liup <1454939542@qq.com> Date: Thu, 30 May 2024 13:06:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/deploymentTargetSelector.xml | 4 +- app/src/main/AndroidManifest.xml | 8 ++ .../Communication/Modbus/ModbusMaster.java | 10 +- .../bnframework/Service/ModbusHelper.java | 25 +++-- .../ActivityViewModel/LoginActivity.java | 5 + .../ActivityViewModel/WelcomeActivity.java | 6 ++ .../ViewModel/CustomView/imagebuttom.java | 4 + .../business/NewExecuteTheRecipe.java | 41 ++++---- .../bnframework/common/base/BaseActivity.java | 1 - .../common/constant/ConfigName.java | 2 +- .../common/utils/AdbCommandUtil.java | 49 ++++++++++ .../ui/activity/CookingActivity.java | 39 ++++---- .../ui/activity/DiyProcessActivity.java | 24 ++--- .../bnframework/ui/activity/MainActivity.java | 5 + .../ui/activity/RecProcessActivity.java | 94 +++++++++++-------- .../bnframework/ui/dialog/AddGoodsDialog.java | 2 + .../ui/dialog/AttributeSelectDialog.java | 2 + .../ui/dialog/DeviceControlDialog.java | 20 ++-- .../ui/dialog/EditGoodsDialog.java | 17 +++- .../ui/fragment/goods/LocalGoodsFragment.java | 3 +- .../bnframework/ui/widget/NewToastUtil.java | 27 +++++- app/src/main/res/layout/activity_cook.xml | 6 +- .../main/res/layout/activity_rec_process.xml | 6 +- .../dialog/layout/dialog_rec_save_process.xml | 15 ++- .../main/res/layout/fragment_cloud_goods.xml | 28 +++--- app/src/main/res/values/styles.xml | 4 +- 26 files changed, 294 insertions(+), 153 deletions(-) create mode 100644 app/src/main/java/com/bonait/bnframework/common/utils/AdbCommandUtil.java diff --git a/.idea/deploymentTargetSelector.xml b/.idea/deploymentTargetSelector.xml index 21234be0..41499f1c 100644 --- a/.idea/deploymentTargetSelector.xml +++ b/.idea/deploymentTargetSelector.xml @@ -4,10 +4,10 @@