Subversion Repositories HomeAutomation

Rev

Rev 1642 | Rev 1956 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1642 Rev 1939
Line 108... Line 108...
108
       
108
       
109
        common::StringMap variables = payload->GetVariables();
109
        common::StringMap variables = payload->GetVariables();
110
       
110
       
111
        for (common::StringMap::iterator it = variables.begin(); it != variables.end(); it++)
111
        for (common::StringMap::iterator it = variables.begin(); it != variables.end(); it++)
112
        {
112
        {
113
            if (it->second != "")
-
 
114
            {
-
 
115
                line += " " + it->first + "=" + it->second;
113
          line += " " + it->first + "=" + common::ToHexIfNumber(it->second);
116
            }
-
 
117
        }
114
        }
118
       
115
       
119
        line += "\n";
116
        line += "\n";
120
       
117
       
121
        net::Manager::Instance()->SendToAll(this->server_id_, common::Byteset(line));
118
        net::Manager::Instance()->SendToAll(this->server_id_, common::Byteset(line));