task(740424d0-c60b-47bd-a601-ded7a24bf7a6): Add M5 survey point data module (2.9/2.14/2.15 + manual entry)

补偿提交:commitOnArchive 连续第三轮未落盘(M3/M4 同款故障),由主控在子会话工作树直接补交。

M5 采集·测点数据模块四功能点:
- M5-01 (2.9) PointApi/PointModels/PointRepository 归一提取 + SurveyGroupPointSource
  平台测点选择器(pointId 贯通 payload)+ 测组监测点列表页(TaskDetail 入口)
- M5-02 (2.14) + M5-03 (2.15) 采集页上下文信息卡(并发拉取、失败降级不阻塞)
- M5-04 手动录入:buildManual 同构 payload 入同一条 Room 上传队列
  (entrySource=MANUAL),复核确认 + 已入队反馈
- upload_queue entry_source 列迁移 v1→v2(ALTER TABLE 非破坏迁移)
This commit is contained in:
阿猫
2026-09-04 02:26:32 +08:00
parent 3cb82169b6
commit 65a693052e
25 changed files with 1839 additions and 34 deletions

View File

@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- 测组监测点条目M5-01点名/简称 + 初值/上次观测 + 报警值 + 观测时间/轴力类型 -->
<com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
app:cardBackgroundColor="@color/brand_surface"
app:cardCornerRadius="14dp"
app:cardElevation="0dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="14dp">
<TextView
android:id="@+id/tv_point_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="?attr/colorOnSurface"
android:textSize="15sp"
android:textStyle="bold" />
<TextView
android:id="@+id/tv_point_meta"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:alpha="0.75"
android:textSize="12sp" />
<TextView
android:id="@+id/tv_point_monitor"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:alpha="0.75"
android:textSize="12sp" />
<TextView
android:id="@+id/tv_point_alarm"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:textColor="?attr/colorError"
android:textSize="12sp"
android:visibility="gone" />
</LinearLayout>
</com.google.android.material.card.MaterialCardView>