Compare commits
2 Commits
7712803ad6
...
2c1afa463f
Author | SHA1 | Date | |
---|---|---|---|
2c1afa463f | |||
927b488582 |
@ -50,12 +50,11 @@
|
||||
#define UPDATE_DOWNLOAD_JSON_START (91)
|
||||
#define UPDATE_DOWNLOAD_JSON_END (100)
|
||||
|
||||
|
||||
void MainWindow::onFileChanged(QString const& /*f*/) {
|
||||
static int i = 30;
|
||||
ui->updateProgress->setValue(++i);
|
||||
|
||||
qCritical() << QDateTime::currentDateTime().toString(Qt::ISODate) << "YYYYYYYYYYYYYYYYYY file changed" << i;
|
||||
|
||||
// TODO: daten an ISMAS senden
|
||||
}
|
||||
|
||||
|
@ -271,20 +271,18 @@ Worker::Worker(int customerNr,
|
||||
QString("/opt/app/tools/atbupdate/ATBUpdateDC")
|
||||
, this, ++next));
|
||||
|
||||
|
||||
// *** send json files down to device controller ***
|
||||
m_workList.push_back(
|
||||
std::make_unique<UpdateJsonCommand>(
|
||||
QString("echo ATBUpdateJsonFiles")
|
||||
//QString("/opt/app/tools/atbupdate/ATBUpdateJsonFiles --set-ppid %1").arg(QCoreApplication::applicationPid())
|
||||
, this, ++next, false));
|
||||
|
||||
// sync json files in repo etc-directory with /etc fs-directory
|
||||
m_workList.push_back(
|
||||
std::make_unique<UpdateFileSystemCommand>(
|
||||
QString("echo ATBUpdateSync")
|
||||
, this, ++next));
|
||||
|
||||
// *** send json files down to device controller ***
|
||||
m_workList.push_back(
|
||||
std::make_unique<UpdateJsonCommand>(
|
||||
//QString("echo ATBUpdateJsonFiles")
|
||||
QString("/opt/app/tools/atbupdate/ATBUpdateJsonFiles --set-ppid %1").arg(QCoreApplication::applicationPid())
|
||||
, this, ++next, false));
|
||||
|
||||
// show/send software-status
|
||||
m_workList.push_back(
|
||||
|
Loading…
x
Reference in New Issue
Block a user