feiyu02
7 天以前 594de76ed51fd49fb79b912212bb0052a63e7671
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 ?: "")