Commit 1fcb0bb9 authored by Giacomo Strangolino's avatar Giacomo Strangolino
Browse files

added acmd.h,cpp

parent a2f51fa8
......@@ -15,9 +15,9 @@ void Acmd::ack(const QTreeWidget *tw, bool all, CumbiaPool *cup, const CuControl
QuWriter *w = new QuWriter(nullptr, cup, fpoo);
const QStringList &alarms = map.values(dev);
w->setAutoDestroy(true);
w->setTarget(dev + "->Ack");
w->setTarget(QString("%1->Ack(%2)").arg(dev).arg(alarms.join(',')));
printf("AckCmd.ack: executing %s (%s)\n", qstoc(w->target()), qstoc(alarms.join(",")));
w->execute(alarms);
w->execute();
/* stop new */
QuWriter *stopNewWriter = new QuWriter(nullptr, cup, fpoo);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment