src/main/kotlin/com/flightfeather/uav/lightshare/bean/DataVo.kt
@@ -35,6 +35,15 @@ return null } fun setFactorData(type: FactorType, value: Double?) { if (values == null) throw IllegalStateException(this.javaClass.name + ": 监测数据数组为null") for (d in values!!) { if (d.factorName == type.name) { d.factorData = value } } } fun toRowContent(): Array<Any> { val row = mutableListOf<Any>() row.add(deviceCode ?: "")