feat: add data model for sensor response and new image assets

This commit is contained in:
Cutiful 2025-06-13 13:47:54 +07:00
parent b0a3130cb9
commit 7c427b7945
16 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,29 @@
package com.syaroful.agrilinkvocpro.data.model
data class SensorDataResponse(
val data: SensorData?,
val message: String?,
val statusCode: Int?
)
data class SensorData(
val dht: Dht?,
val npk1: Npk?,
val npk2: Npk?
)
data class Dht(
val vicitemperature: Number?,
val vicihumidity: Number?,
val viciluminosity: Number?
)
data class Npk(
val soiltemperature: Number?,
val soilhumidity: Number?,
val soilconductivity: Number?,
val soilph: Number?,
val soilnitrogen: Number?,
val soilphosphorus: Number?,
val soilpotassium: Number?
)

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 803 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 KiB