27 lines
380 B
C++
27 lines
380 B
C++
#ifndef RELAYMANAGER_H
|
|
#define RELAYMANAGER_H
|
|
|
|
#include <QObject>
|
|
#include <vector>
|
|
#include "relay.h"
|
|
#include "microcontroller.h"
|
|
|
|
class RelayManager : public QObject
|
|
{
|
|
Q_OBJECT
|
|
private:
|
|
std::vector<Relay> relays;
|
|
|
|
Microcontroller* micro_;
|
|
|
|
public:
|
|
explicit RelayManager(QObject *parent = nullptr);
|
|
|
|
signals:
|
|
|
|
public slots:
|
|
void
|
|
};
|
|
|
|
#endif // RELAYMANAGER_H
|