Skip to content

Commit

Permalink
feat: CCTV 데이터 추가 (#69) (#KAN-142)
Browse files Browse the repository at this point in the history
  • Loading branch information
kimmatches committed Nov 6, 2024
1 parent 0b70592 commit 6bc3a68
Showing 1 changed file with 24 additions and 4 deletions.
28 changes: 24 additions & 4 deletions app/src/main/java/com/example/mhnfe/data/model/CCTV.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ package com.example.mhnfe.data.model

data class CCTV(
val id: String,
val name: String,
val deviceName: String, // 기기명
val model: String, // 기종
val os: String, // OS
val appVersion: String, // 앱 버전
val batteryStatus: Int, // 배터리 상태
val networkStatus: String // 네트워크 상태
)

//아무것도 없는거 테스트 할때
Expand All @@ -12,14 +17,29 @@ val emptyCCTVList = emptyList<CCTV>()
val sampleCCTVList = listOf(
CCTV(
id = "1",
name = "주방"
deviceName = "주방",
model = "Flip5",
os = "Android 10",
appVersion = "2.3.1",
batteryStatus = 70,
networkStatus = "양호"
),
CCTV(
id = "2",
name = "거실"
deviceName = "거실",
model = "s24",
os = "Android 10",
appVersion = "3.0.0",
batteryStatus = 30,
networkStatus = "나쁨"
),
CCTV(
id = "3",
name = "방1"
deviceName = "방1",
model = "s23",
os = "Android 12",
appVersion = "1.5.2",
batteryStatus = 95,
networkStatus = "나쁨"
)
)

0 comments on commit 6bc3a68

Please sign in to comment.