회의 #8 페이지 통합 - 별도 화면(AUTO_SCAN_SETUP) 폐기 — Personalization 한 화면에 3카드: 1) Max Capacity, 2) Catheter Threshold, 3) Auto Scan Interval - 캐릭터 작게 (220→120dp) + 카드 영역 verticalScroll - 'Scan Interval' → 'Auto Scan Interval' 이름 복귀 - 한글 설명 제거 - 흐름: PiezoPersonalization → PlacementGuide (AUTO_SCAN_SETUP 단계 없음) 회의 #9 새 형식 — 모든 위치에서 통일 - 범위 0.5 ~ 10 (sec/min 모드 동일) - 0.5 단위 (이전 200ms/30s 단위) - sec/min 토글 숫자 우측에 위치 - SEC 모드: ms = value × 1000 (예: 1.5sec = 1500ms) - MIN 모드: ms = value × 60000 (예: 1.5min = 90000ms) - 모드 전환 시 같은 숫자 값 유지 (1.5sec ↔ 1.5min) 회의 #10 in-monitoring settings 동일 적용 PiezoMonitoringView 설정 페이지의 Auto Scan Interval 슬라이더도 새 형식으로 갱신. 같은 로직 (unitMode + valueClamped + sec/min 토글 + 0.5 step). 정리: - AppState.AUTO_SCAN_SETUP enum value 제거 - autoScanSetupComplete() 함수 제거 (호출처 없음) - backFromPlacementGuide() → PIEZO_PERSONALIZATION으로 (AUTO_SCAN_SETUP 단계 폐기) - MainActivity 라우팅/Back handler에서 AUTO_SCAN_SETUP 분기 제거 - AutoScanIntervalSetupView.kt 파일 삭제 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -32,7 +32,6 @@ import com.example.medilightv2android.ui.views.monitoring.VivamyoMonitoringView
|
||||
import com.example.medilightv2android.ui.views.monitoring.UrineCameraScreen
|
||||
import com.example.medilightv2android.ui.views.monitoring.VoidingDiaryView
|
||||
import com.example.medilightv2android.ui.views.onboarding.OnboardingView
|
||||
import com.example.medilightv2android.ui.views.personalization.AutoScanIntervalSetupView
|
||||
import com.example.medilightv2android.ui.views.personalization.PiezoPersonalizationView
|
||||
import com.example.medilightv2android.ui.views.pin.PinMode
|
||||
import com.example.medilightv2android.ui.views.pin.PinView
|
||||
@@ -104,7 +103,6 @@ fun MedilightApp(modifier: Modifier = Modifier) {
|
||||
AppScreen.CLINICAL_HOME
|
||||
else AppScreen.HOME
|
||||
AppScreen.PIEZO_PERSONALIZATION -> appState.currentScreen = AppScreen.DEVICE_SCAN
|
||||
AppScreen.AUTO_SCAN_SETUP -> appState.currentScreen = AppScreen.PIEZO_PERSONALIZATION
|
||||
// 임상 모드 측정 중이면 endMeasurement → ClinicalHome 복귀
|
||||
AppScreen.PLACEMENT_GUIDE ->
|
||||
if (com.example.medilightv2android.services.ClinicalSessionStore.currentSession != null) {
|
||||
@@ -154,7 +152,6 @@ fun MedilightApp(modifier: Modifier = Modifier) {
|
||||
AppScreen.DEVICE_SCAN -> DeviceScanView(appState)
|
||||
AppScreen.NIRS_CALIBRATION -> CalibrationView(appState)
|
||||
AppScreen.PIEZO_PERSONALIZATION -> PiezoPersonalizationView(appState)
|
||||
AppScreen.AUTO_SCAN_SETUP -> AutoScanIntervalSetupView(appState)
|
||||
AppScreen.PLACEMENT_GUIDE -> PlacementGuideView(appState)
|
||||
AppScreen.PIN_SETUP -> PinView(appState, PinMode.SETUP, context)
|
||||
AppScreen.PIN_ENTRY -> PinView(appState, PinMode.ENTER, context)
|
||||
|
||||
Reference in New Issue
Block a user