123456789101112131415161718192021222324 |
- #ifndef COMSTATISTICS_H
- #define COMSTATISTICS_H
- #include <QString>
- class ComStatistics
- {
- public:
- ComStatistics(QString sensor_name);
- void ReQuestCount_increase();
- void CrcErrorCount_increase();
- void TimeoutCount_increase();
- void Save2File(QString filepath);
- private:
- int request_count;
- int crcerror_count;
- int timeout_count;
- QString tag_name;
- };
- #endif // COMSTATISTICS_H
|