Add new members to worker-class.

This commit is contained in:
Gerhard Hoffmann 2023-11-07 09:10:01 +01:00
parent 3cc71cb69b
commit 90de2f415e

View File

@ -111,22 +111,25 @@ Worker::Worker(int customerNr,
int machineNr,
int zoneNr,
QString branchName,
QString pluginDir,
QString pluginName,
QString workingDirectory,
bool noUpdatePsaHardware,
bool dryRun,
QObject *parent,
char const *serialInterface,
char const *baudrate)
: m_workerThread("workerThread")
, m_customerNr(customerNr)
: m_customerNr(customerNr)
, m_customerNrStr(QString("customer_") + QString::number(m_customerNr).rightJustified(3, '0'))
, m_machineNr(machineNr)
, m_zoneNr(zoneNr)
, m_pluginDir(pluginDir)
, m_pluginName(pluginName)
, m_workingDirectory(workingDirectory)
, m_branchName(branchName)
, m_customerRepositoryPath(QString("https://git.mimbach49.de/GerhardHoffmann/%1.git").arg(m_customerNrStr))
, m_customerRepository(QDir::cleanPath(m_workingDirectory + QDir::separator() + m_customerNrStr))
, m_noUpdatePsaHardware(noUpdatePsaHardware)
, m_dryRun(dryRun)
, m_parent(parent)
, m_serialInterface(serialInterface)