fix(dev): 배터리 부하 테스트 버튼을 PiezoMonitoring dev 패널로 이동
홈 화면이 아니라 PiezoMonitoring 페이지가 맞는 위치. dev 패널 (개발자 도구 아코디언) 안 Scan Log 버튼 아래로 배치. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -158,18 +158,6 @@ fun HomeView(appState: AppState) {
|
|||||||
) {
|
) {
|
||||||
Text(stringResource(R.string.home_clinical_mode_dev), color = Color.White, fontWeight = FontWeight.SemiBold)
|
Text(stringResource(R.string.home_clinical_mode_dev), color = Color.White, fontWeight = FontWeight.SemiBold)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 2026-08-21 · 기기 배터리 성능(소모율) 실측용 임시 부하 테스트.
|
|
||||||
// mim? 1초 / mbb? 10초 고정 주기. PiezoMonitoring 에서 연결한 뒤 홈으로
|
|
||||||
// 돌아와 실행. 루프는 BatteryDrainTester (Handler) 가 소유하므로 화면을
|
|
||||||
// 벗어나도 계속 돌고, "정지" 를 눌러야 끝난다.
|
|
||||||
com.medithings.vesiscan.dev.BatteryDrainTestButton(
|
|
||||||
bleManager = remember { com.medithings.vesiscan.ble.BleManager.getInstance(context) },
|
|
||||||
modifier = Modifier
|
|
||||||
.fillMaxWidth()
|
|
||||||
.padding(horizontal = 32.dp)
|
|
||||||
.padding(bottom = 8.dp)
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
// 2026-08-03 (cloud-mvp 672e679 이식): 프로브 firmware 업데이트 진입점.
|
// 2026-08-03 (cloud-mvp 672e679 이식): 프로브 firmware 업데이트 진입점.
|
||||||
TextButton(
|
TextButton(
|
||||||
|
|||||||
@@ -1770,6 +1770,15 @@ fun PiezoMonitoringView(appState: AppState) {
|
|||||||
fontWeight = FontWeight.SemiBold,
|
fontWeight = FontWeight.SemiBold,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 2026-08-21 · 기기 배터리 성능(소모율) 실측용 임시 부하 테스트.
|
||||||
|
// mim? 1초 / mbb? 10초 고정 주기. 루프는 BatteryDrainTester (Handler) 가
|
||||||
|
// 소유하므로 화면을 벗어나도 계속 돌고, "정지" 를 눌러야 끝난다.
|
||||||
|
Spacer(modifier = Modifier.height(8.dp))
|
||||||
|
com.medithings.vesiscan.dev.BatteryDrainTestButton(
|
||||||
|
bleManager = bleManager,
|
||||||
|
modifier = Modifier.fillMaxWidth(),
|
||||||
|
)
|
||||||
}
|
}
|
||||||
} // end scrollable Column
|
} // end scrollable Column
|
||||||
} // end BoxWithConstraints
|
} // end BoxWithConstraints
|
||||||
|
|||||||
Reference in New Issue
Block a user