7 #ifndef __INVERTORS_H__
8 #define __INVERTORS_H__
13 #include <QCoreApplication>
44 QList<INVERTOR_status>
status();
Manages list of invertors and their threads.
QTimer * m_timerWorking
Timer for periodic status update.
QTimer * m_timer
Timer for database changes responses.
void data(DBT_DATA)
For debugging only, writes read data to console.
void slotQuitInvertors()
Slot is called a few seconds after configuration change.
QList< INVERTOR * > m_invertors
List of all invertors.
Class describing database table DATA.
void databaseChanged()
Slot is called when configuration changed in database.
void storeData(DBT_DATA)
Signal for database to store invertor data.
QList< DBT_LINES_STATUS > m_working
List of working invertors.
void openLines()
Opens all configured invertors.
void slotLoopFinished(int number_of_ok, int number_of_err)
Slot is called when the line finished the reading cycle.
QList< INVERTOR_status > status()
Returns list of current invertors status.
void closeLines()
Closes all existing invertors and destoroy their instances.
void slotCountWorking()
Count working invertors.
void quitInvertors()
Signal for invertors to quit.
void slotStoreData(DBT_DATA)
Slot for handling of requests for storing of invertor data in database.