bcbc7b440c
사용자앱 (feature/tab-navigation) 과 패키지 이름 일치. namespace + applicationId 둘 다 com.medithings.vesiscan 로 변경 (기존 데모 앱은 재설치 필요). ## 변경 범위 - Kotlin 148 파일: package + import 문 (714 occurrences) - 디렉토리 이동: com/example/medilightv2android → com/medithings/vesiscan (main, test, androidTest 각각) - app/build.gradle.kts: namespace, applicationId - docs/FLAVOR_DEMO_STABLE.md: 참조 갱신 - V41DetectorCH4Test: BvDispatchResult.methodChosen → method (dto field name fix) ## 주의 - applicationId 가 바뀌므로 기존 데모 앱 (com.example.medilightv2android.demo) 은 Android 관점에서 다른 앱으로 취급 — 재설치 시 PIN/설정 초기화됨. - Fresh install 권장. 기존 앱 (com.example...) 은 별도로 uninstall 필요. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
24 lines
834 B
Kotlin
24 lines
834 B
Kotlin
package com.medithings.vesiscan.models
|
|
|
|
enum class Posture(val displayName: String) {
|
|
STANDING("Standing"),
|
|
SITTING("Sitting"),
|
|
LYING("Lying Down")
|
|
}
|
|
|
|
enum class SensorPosition(val displayName: String, val description: String) {
|
|
LOWER_ABDOMEN("Lower Abdomen", "Below the navel"),
|
|
SUPRAPUBIC("Suprapubic", "Above the pubic bone")
|
|
}
|
|
|
|
data class PiezoSettings(
|
|
var posture: Posture = Posture.SITTING,
|
|
var sensorPosition: SensorPosition = SensorPosition.LOWER_ABDOMEN,
|
|
var maxVolume: Int = 500,
|
|
// Charles 833c110: BV calculation tweak — anterior-wall pull-in magnitude in millimetres.
|
|
var antOffsetMm: Int = 0,
|
|
// 우리 4ae25d9: Auto Scan 측정 사이클 목표 간격 (ms).
|
|
// BleManager.canSendMaa() time gate와 동일 값이 기본 (500ms).
|
|
var autoScanIntervalMs: Int = 500
|
|
)
|