From 44360bc2cdeee16be72f9cc4bfb42e0ac26b5b44 Mon Sep 17 00:00:00 2001
From: chenluhua1980 <Chenluhua@qq.com>
Date: 星期一, 19 一月 2026 14:47:19 +0800
Subject: [PATCH] 1.修改优化

---
 SourceCode/Bond/Servo/TransferManager.h |   17 +----------------
 1 files changed, 1 insertions(+), 16 deletions(-)

diff --git a/SourceCode/Bond/Servo/TransferManager.h b/SourceCode/Bond/Servo/TransferManager.h
index 9dde8c8..a6739db 100644
--- a/SourceCode/Bond/Servo/TransferManager.h
+++ b/SourceCode/Bond/Servo/TransferManager.h
@@ -8,17 +8,6 @@
 #include "Database.h"
 
 /**
- * 任务状态枚举类型
- */
-enum class TransferStatus {
-    Ready = 0,
-    Running,
-    Error,
-    Abort,
-    Completed
-};
-
-/**
  * 搬运记录结构体
  */
 struct TransferData {
@@ -51,7 +40,7 @@
 	/**
 	 * 插入测试搬运记录
 	 */
-    void insertTestTransferRecord();
+    void insertTestTransferRecord(int nCount = 10000);
 
     /**
      * 终止数据库连接
@@ -157,10 +146,6 @@
     TransferManager& operator=(const TransferManager&) = delete;
 
     // 内联函数
-    inline int statusToInt(TransferStatus status);
-    inline TransferStatus intToStatus(int value);
-    inline std::string statusToString(TransferStatus status);
-    inline TransferStatus stringToStatus(const std::string& str);
     inline std::string ansiToUtf8(const std::string& ansiStr);
     inline std::string utf8ToAnsi(const std::string& utf8Str);
 

--
Gitblit v1.9.3