#ifndef SIMULATERMODBUS_H #define SIMULATERMODBUS_H #include #include class Simulatermodbus : public QObject { Q_OBJECT public: explicit Simulatermodbus(QObject *parent = nullptr); void init(); void open(QString serialPort , int slaveAddress); signals: public: QTimer *timer; }; #endif // SIMULATERMODBUS_H