forked from GerhardHoffmann/DCLibraries
Pass hwinf into constructor. Add pointer to download thread.
This commit is contained in:
parent
ee26eef50f
commit
cf621c02bd
@ -133,8 +133,8 @@
|
|||||||
#define SENDCOMBINED 0
|
#define SENDCOMBINED 0
|
||||||
|
|
||||||
|
|
||||||
|
class hwinf;
|
||||||
|
class DownloadThread;
|
||||||
class T_datif : public QObject
|
class T_datif : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
@ -165,13 +165,15 @@ class T_datif : public QObject
|
|||||||
T_prot *myDCIF;
|
T_prot *myDCIF;
|
||||||
QTimer *datif_trigger;
|
QTimer *datif_trigger;
|
||||||
uint8_t selectedSlaveAddr;
|
uint8_t selectedSlaveAddr;
|
||||||
|
DownloadThread *m_downloadThread;
|
||||||
|
hwinf *m_hw;
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
char datif_cycleSend();
|
char datif_cycleSend();
|
||||||
void StoredRecData();
|
void StoredRecData();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
T_datif(QObject *parent = nullptr);
|
T_datif(hwinf *hw, QObject *parent = nullptr);
|
||||||
|
|
||||||
void resetChain(void);
|
void resetChain(void);
|
||||||
char isPortOpen(void);
|
char isPortOpen(void);
|
||||||
|
Loading…
Reference in New Issue
Block a user