Compare commits
No commits in common. "2c1afa463f0aef5cbe597fc9a28d61e3b481e3b4" and "7712803ad67ac8f6582ab5abd52dda61c404168e" have entirely different histories.
2c1afa463f
...
7712803ad6
@ -50,11 +50,12 @@
|
|||||||
#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,18 +271,20 @@ 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