Subversion Repositories HomeAutomation

Rev

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

Rev 1939 Rev 1956
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
          line += " " + it->first + "=" + common::ToHexIfNumber(it->second);
113
          line += " " + it->first + "=" + it->second;
114
        }
114
        }
115
       
115
       
116
        line += "\n";
116
        line += "\n";
117
       
117
       
118
        net::Manager::Instance()->SendToAll(this->server_id_, common::Byteset(line));
118
        net::Manager::Instance()->SendToAll(this->server_id_, common::Byteset(line));