From b83a460a6e00d59444c70f0f707a66e37a8c0378 Mon Sep 17 00:00:00 2001 From: liup <1454939542@qq.com> Date: Tue, 11 Jun 2024 16:17:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=97=AE=E9=A2=98=EF=BC=9B?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=AE=BE=E5=A4=87=E4=BD=BF=E7=94=A8=E6=AC=A1?= =?UTF-8?q?=E6=95=B0=E7=BB=9F=E8=AE=A1=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/deploymentTargetSelector.xml | 4 +- app/src/main/AndroidManifest.xml | 5 + .../Communication/Modbus/ModbusMaster.java | 2 +- .../bnframework/Model/DeviceRecordBean.java | 32 +++++ .../bnframework/Service/ControlAdress.java | 14 ++ .../bnframework/Service/ModbusHelper.java | 87 ++++-------- .../BottomNavigationNewActivity.java | 61 +++++---- .../business/ExecuteTheRecipe.java | 59 +++++---- .../business/NewExecuteTheRecipe.java | 18 +-- .../common/constant/ConfigName.java | 4 +- .../common/helper/CrashHandler.java | 21 +-- .../common/utils/AdbCommandUtil.java | 10 +- .../ui/activity/CookingActivity.java | 51 ++++--- .../ui/activity/DeviceRecordActivity.java | 94 +++++++++++++ .../ui/activity/DiyProcessActivity.java | 125 +++++++++++++++--- .../ui/adapter/DeviceRecordAdapter.java | 47 +++++++ .../bnframework/ui/dialog/AddGoodsDialog.java | 24 ++++ .../ui/dialog/AttributeSelectDialog.java | 24 +++- .../ui/dialog/DeviceControlDialog.java | 47 ++++++- .../ui/dialog/EditGoodsDialog.java | 40 ++++-- .../bnframework/ui/dialog/SubOrderDialog.java | 24 +++- .../ui/fragment/HomeDevicesFragment.java | 22 ++- .../bnframework/ui/widget/NewToastUtil.java | 4 +- .../res/layout/activity_device_record.xml | 55 ++++++++ .../main/res/layout/activity_edit_process.xml | 12 +- .../dialog/layout/layout_stir_control.xml | 64 ++++++++- .../res/layout/dialog_with_cancel_confirm.xml | 10 +- .../main/res/layout/fragment_home_devices.xml | 17 +++ .../layout/item/layout/item_device_record.xml | 41 ++++++ .../layout/item/layout/view_layout_toast.xml | 10 +- build.gradle | 4 +- 31 files changed, 802 insertions(+), 230 deletions(-) create mode 100644 app/src/main/java/com/bonait/bnframework/Model/DeviceRecordBean.java create mode 100644 app/src/main/java/com/bonait/bnframework/ui/activity/DeviceRecordActivity.java create mode 100644 app/src/main/java/com/bonait/bnframework/ui/adapter/DeviceRecordAdapter.java create mode 100644 app/src/main/res/layout/activity_device_record.xml create mode 100644 app/src/main/res/layout/item/layout/item_device_record.xml diff --git a/.idea/deploymentTargetSelector.xml b/.idea/deploymentTargetSelector.xml index 64ff4e0d..08159c1a 100644 --- a/.idea/deploymentTargetSelector.xml +++ b/.idea/deploymentTargetSelector.xml @@ -4,10 +4,10 @@