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

31 lines
539 B
C

1 year ago
#ifndef MODULESYSTIME_H
#define MODULESYSTIME_H
#include <QObject>
#include <QTimer>
class ModuleSysTime : public QObject
{
Q_OBJECT
public:
explicit ModuleSysTime(QObject *parent = nullptr);
signals:
/**
* @brief sigArmRtcTimeUpdate
* @param flag true:RTC false:RTC
*/
void sigArmRtcTimeUpdate(bool flag);
private slots:
void onTimerTimeOutPingNet();
void onTimerTimeOutCheckNet();
void onTimerTimeOutWaitNetTime();
private:
};
#endif // MODULESYSTIME_H