@@ -23,6 +23,8 @@ class CEventSystem
23
23
{
24
24
unsigned long long ID;
25
25
std::string Name;
26
+ std::string Interpreter;
27
+ std::string Type;
26
28
std::string Conditions;
27
29
std::string Actions;
28
30
int SequenceNo;
@@ -99,9 +101,9 @@ class CEventSystem
99
101
void EvaluatePython (const std::string &reason, const std::string &filename);
100
102
void EvaluatePython (const std::string &reason, const std::string &filename, const unsigned long long DeviceID, const std::string &devname, const int nValue, const char * sValue , std::string nValueWording, const unsigned long long varId);
101
103
#endif
102
- void EvaluateLua (const std::string &reason, const std::string &filename, const unsigned long long varId);
103
- void EvaluateLua (const std::string &reason, const std::string &filename);
104
- void EvaluateLua (const std::string &reason, const std::string &filename, const unsigned long long DeviceID, const std::string &devname, const int nValue, const char * sValue , std::string nValueWording, const unsigned long long varId);
104
+ void EvaluateLua (const std::string &reason, const std::string &filename, const std::string &LuaString, const unsigned long long varId);
105
+ void EvaluateLua (const std::string &reason, const std::string &filename, const std::string &LuaString );
106
+ void EvaluateLua (const std::string &reason, const std::string &filename, const std::string &LuaString, const unsigned long long DeviceID, const std::string &devname, const int nValue, const char * sValue , std::string nValueWording, const unsigned long long varId);
105
107
void luaThread (lua_State *lua_state, const std::string &filename);
106
108
static void luaStop (lua_State *L, lua_Debug *ar);
107
109
std::string nValueToWording (const unsigned char dType, const unsigned char dSubType, const _eSwitchType switchtype, const unsigned char nValue, const std::string &sValue , const std::map<std::string, std::string> & options);
0 commit comments