From 22122fe5fd927ccb8892cded1a2480d796e56ce9 Mon Sep 17 00:00:00 2001 From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com> Date: 星期二, 26 八月 2025 17:35:33 +0800 Subject: [PATCH] 1.修复加Job模式后,手臂号为0导致不能搬运的问题; --- 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