src/main/kotlin/com/flightfeather/uav/domain/entity/BaseRealTimeData.kt
@@ -122,7 +122,7 @@ } fun getByFactorType(type: FactorType?): Float? { return when (type) { val res = when (type) { FactorType.NO2 -> no2 FactorType.CO -> co FactorType.H2S -> h2s @@ -144,6 +144,7 @@ FactorType.NO -> no else -> null } return if (res != null) round(res * 100) / 100 else null } }