From 6fdacca914ef38e6cc91292ef07c5af32bd92991 Mon Sep 17 00:00:00 2001
From: hcong <1050828145@qq.com>
Date: 星期二, 03 十二月 2024 11:12:40 +0800
Subject: [PATCH] 1. BgTask增加onStatusChange参数,通过外界传递如何发送状态改变的消息 2. BackgroundTaskCtrl.kt 创建了BgTask对象并传递了onStatusChange参数 3. WebSocketMessageUtil 类名修改为 WebSocketMessageDecoder 4. SendWebSocketMessageUtil 类名修改为 WebSocketSendMessageUtil

---
 src/test/kotlin/cn/flightfeather/supervision/business/QRCodeTest.kt |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/test/kotlin/cn/flightfeather/supervision/business/QRCodeTest.kt b/src/test/kotlin/cn/flightfeather/supervision/business/QRCodeTest.kt
index 6a1c3f1..3ce47bd 100644
--- a/src/test/kotlin/cn/flightfeather/supervision/business/QRCodeTest.kt
+++ b/src/test/kotlin/cn/flightfeather/supervision/business/QRCodeTest.kt
@@ -1,5 +1,6 @@
 package cn.flightfeather.supervision.business
 
+import cn.flightfeather.supervision.common.executor.TaskStatus
 import cn.flightfeather.supervision.common.utils.QRCodeUtil
 import org.apache.poi.hssf.usermodel.HSSFWorkbook
 import org.junit.Test
@@ -243,4 +244,11 @@
 
         metadata.mergeTree("javax_imageio_1.0", root)
     }
+
+    @Test
+    fun foo1() {
+        val s = TaskStatus.WAITING
+        println(s.name)
+        println(s.ordinal)
+    }
 }
\ No newline at end of file

--
Gitblit v1.9.3