Continuage de dev

This commit is contained in:
2023-01-18 17:57:12 -05:00
parent 20e46bb60a
commit c6abea01d5
17 changed files with 461 additions and 80 deletions
+7 -2
View File
@@ -15,11 +15,16 @@ class CPCANInterface : public QObject
Q_OBJECT
public:
explicit CPCANInterface(QObject *parent = 0);
int Init();
int DeInit(unsigned short Channel);
int Init(TPCANHandle CANDeviceChannel, TPCANBaudrate CANBaudRate);
int DeInit();
bool IsInterfaceOpened(){return CANInterfaceOpened;}
bool CANInterfaceOpened;
QList<CCANMessage*> ReadCANFullBuffer(unsigned short Channel);
private:
TPCANBaudrate mInterfaceBaudrate;
TPCANHandle mInterfaceCANHandle;
signals: