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.
 
 

19 lines
345 B

#ifndef SIMULATERMODBUS_H
#define SIMULATERMODBUS_H
#include <QObject>
#include <QTimer>
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