feat(fragment): 实现调料秤重量增加高亮提醒功能

主设备订阅 allScales StateFlow 检测所有子设备秤重量变化,
超过10g且秤稳定时高亮对应格子,15秒后自动恢复
This commit is contained in:
2026-04-17 16:56:36 +08:00
parent 768bde79a1
commit 87bf11454c
9 changed files with 295 additions and 4 deletions
@@ -5,10 +5,12 @@
android:layout_width="match_parent"
android:layout_height="120dp"
android:orientation="horizontal"
android:gravity="center_vertical"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:paddingTop="8dp"
android:paddingBottom="8dp">
android:paddingBottom="8dp"
android:background="@drawable/shape_scale_cell">
<!-- 秤编号 -->
<TextView
+1
View File
@@ -29,5 +29,6 @@
<color name="black333">#333333</color>
<color name="gray_c8">#C8C8C8</color>
<color name="gray_e6">#E6E6E6</color>
<color name="red_ff4444">#FF4444</color>
</resources>