You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
345 B

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