|
|
|
@ -30,7 +30,7 @@ object TestUtils {
|
|
|
|
|
|
|
|
|
|
fun insertData() {
|
|
|
|
|
TxtOverlay.setShowTip("co2:50%@co:44%")
|
|
|
|
|
PushHelper.setPushUrl("rtsp://192.168.5.16:554/123")
|
|
|
|
|
PushHelper.setPushUrl("rtsp://192.168.5.17:554/123")
|
|
|
|
|
GlobalScope.launch() {
|
|
|
|
|
// 插入类型
|
|
|
|
|
val typeDao = DBUtils.gasTypeDao()
|
|
|
|
@ -135,7 +135,7 @@ object TestUtils {
|
|
|
|
|
row.add(SimpleCellValue(it.unit))
|
|
|
|
|
allData.add(row)
|
|
|
|
|
}
|
|
|
|
|
val excelPath = ExcelUtils.writeStringListToExcel(allData, context)
|
|
|
|
|
val excelPath = ExcelUtils.writeStringListToExcel(allData, context, true)
|
|
|
|
|
// val dataPath = LztekUtil.getLztek()?.usbStoragePath + "/"
|
|
|
|
|
// // 直接copy到机身
|
|
|
|
|
// val command = arrayOf("remount","cp -r $excelPath $dataPath")
|
|
|
|
|