From 1318cc77e20a82b3328aa82ea6b8d8ca600de44f Mon Sep 17 00:00:00 2001 From: mrDarker <mr.darker@163.com> Date: 星期二, 10 六月 2025 15:51:55 +0800 Subject: [PATCH] 1. 拆分数据库,每一个管理类是单独的数据库文件 2. 修复复制产生的ID错误 --- SourceCode/Bond/Servo/ToolUnits.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/SourceCode/Bond/Servo/ToolUnits.h b/SourceCode/Bond/Servo/ToolUnits.h index fddb2e3..b91ca36 100644 --- a/SourceCode/Bond/Servo/ToolUnits.h +++ b/SourceCode/Bond/Servo/ToolUnits.h @@ -15,6 +15,7 @@ static CString& floatToString1(float value, CString& strOut); static CString& floatToString3(float value, CString& strOut); static ULONGLONG getTimestamp(); + static time_t getUnixTimestamp(); static void createDir(const char* pszDir); static BOOL copyTextToClipboard(CWnd* pWnd, const CString& strText); static std::string getCurrentExePath(); @@ -30,5 +31,6 @@ static std::string getCurrentTimeString(); static bool startsWith(const std::string& str, const std::string& prefix); static std::string& toHexString(int value, std::string& strOut); + static void convertString(const char* pszBuffer, int size, std::string& strOut); }; -- Gitblit v1.9.3