26 lines
535 B
C++
26 lines
535 B
C++
#ifndef CANWATCHDOGCONFIG_H
|
|
#define CANWATCHDOGCONFIG_H
|
|
|
|
#include <QDataStream>
|
|
#include <QString>
|
|
|
|
#include "PCANBasic.h"
|
|
|
|
|
|
class CCANWatchdogConfig
|
|
{
|
|
public:
|
|
CCANWatchdogConfig();
|
|
|
|
quint8 mCANDeviceID;
|
|
TPCANBaudrate mCANDeviceBaudrate;
|
|
unsigned int mWatchdogTimeout;
|
|
|
|
CCANWatchdogConfig &operator=(const CCANWatchdogConfig &source);
|
|
|
|
};
|
|
|
|
QDataStream &operator<<(QDataStream &out, const CCANWatchdogConfig &source);
|
|
QDataStream &operator>>(QDataStream &in, CCANWatchdogConfig &dest);
|
|
#endif // CANWATCHDOGCONFIG_H
|