181 const int idx1 = fMcpRunType->currentIndex();
182 const int idx2 = fMcpTime->currentIndex();
183 const int idx3 = fMcpNumEvents->currentIndex();
185 const int64_t v2 = fMcpTime->itemData(idx2).toInt();
186 const int64_t v3 = fMcpNumEvents->itemData(idx3).toInt();
188 const QString rt = fMcpRunType->itemData(idx1).toString();
190 const size_t len =
sizeof(Value)+rt.length()+1;
192 char *buf =
new char[len];
194 Value *val =
reinterpret_cast<Value*
>(buf);
199 strcpy(val->type, rt.toStdString().c_str());
bool SendCommand(const std::string &command)
Warning because the service this data corrsponds to might have been last updated longer ago than Local time