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_START (91)
|
||||||
#define UPDATE_DOWNLOAD_JSON_END (100)
|
#define UPDATE_DOWNLOAD_JSON_END (100)
|
||||||
|
|
||||||
|
|
||||||
void MainWindow::onFileChanged(QString const& /*f*/) {
|
void MainWindow::onFileChanged(QString const& /*f*/) {
|
||||||
static int i = 30;
|
static int i = 30;
|
||||||
ui->updateProgress->setValue(++i);
|
ui->updateProgress->setValue(++i);
|
||||||
|
|
||||||
qCritical() << QDateTime::currentDateTime().toString(Qt::ISODate) << "YYYYYYYYYYYYYYYYYY file changed" << i;
|
|
||||||
|
|
||||||
// TODO: daten an ISMAS senden
|
// TODO: daten an ISMAS senden
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -271,20 +271,18 @@ Worker::Worker(int customerNr,
|
|||||||
QString("/opt/app/tools/atbupdate/ATBUpdateDC")
|
QString("/opt/app/tools/atbupdate/ATBUpdateDC")
|
||||||
, this, ++next));
|
, 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
|
// sync json files in repo etc-directory with /etc fs-directory
|
||||||
m_workList.push_back(
|
m_workList.push_back(
|
||||||
std::make_unique<UpdateFileSystemCommand>(
|
std::make_unique<UpdateFileSystemCommand>(
|
||||||
QString("echo ATBUpdateSync")
|
QString("echo ATBUpdateSync")
|
||||||
, this, ++next));
|
, 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
|
// show/send software-status
|
||||||
m_workList.push_back(
|
m_workList.push_back(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user