#ifndef LED_H #define LED_H #define LED_OFF 0x00 #define LED_COLOR_WHITE 0x01 #define LED_COLOR_GREEN 0x02 #define FUNCTION_CODE 3 #define LED_COLOR 4 #include #include "Logger.h" class Led : public QObject { Q_OBJECT private: char _functionCode; bool _hasLed; public: Led(); Led(char functionCode); signals: void ledChanged(char value); //uncrustify off public slots: //uncrustify on void newData(QByteArray data, Logger* log); }; #endif //LED_H