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);