From 2a21061d88d5533065dc57cfae0b1f2c1952e06f Mon Sep 17 00:00:00 2001 From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com> Date: 星期五, 22 八月 2025 16:01:32 +0800 Subject: [PATCH] 1.PorcessJob和Glass关系绑定; 2.对话框显示ProcessJob、Glass等数据; --- SourceCode/Bond/Servo/CVariable.h | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/SourceCode/Bond/Servo/CVariable.h b/SourceCode/Bond/Servo/CVariable.h index 7bac823..597b84d 100644 --- a/SourceCode/Bond/Servo/CVariable.h +++ b/SourceCode/Bond/Servo/CVariable.h @@ -9,7 +9,8 @@ U2, I2, A20, - A50 + A50, + L }; class CVariable @@ -26,12 +27,21 @@ std::string& getName(); SVFromat getFormat(); std::string& getRemark(); + void setValue(__int64 value); + void setValue(const char* pszValue); + void setValue(std::vector<CVariable>& vars); + std::string getValue(); + __int64 getIntValue(); + std::vector<CVariable>& getVarsValue(); private: unsigned int m_nVarialbeId; std::string m_strName; SVFromat m_format; std::string m_strRemark; + __int64 m_nValue; + std::string m_strValue; + std::vector<CVariable> m_varsValue; }; } -- Gitblit v1.9.3