广播命令可以接收各个从机的返回数据
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "prot/prot_pc.h"
|
||||
#include "prot/prot_m4.h"
|
||||
#include "prot_cmd/cmd_slave.h"
|
||||
|
||||
|
||||
// 检测 自研批检仪
|
||||
@@ -80,7 +81,7 @@ public:
|
||||
int dolater(int cmd, myarray data);
|
||||
void timeout();
|
||||
public slots:
|
||||
void slave_end_slot(int addr,int ack, myarray data);
|
||||
void slave_end_slot(int addr,int ack, slave_data data);
|
||||
signals:
|
||||
void send_to_m4_signal(myarray data);
|
||||
};
|
||||
@@ -100,7 +101,7 @@ public:
|
||||
int dolater(int cmd, myarray data);
|
||||
void timeout();
|
||||
public slots:
|
||||
void slave_end_slot(int addr,int ack, myarray data);
|
||||
void slave_end_slot(int addr,int ack, slave_data data);
|
||||
signals:
|
||||
void send_to_m4_signal(myarray data);
|
||||
};
|
||||
@@ -147,6 +148,7 @@ public:
|
||||
int dolater(int cmd, myarray data);
|
||||
void timeout();
|
||||
public slots:
|
||||
// void slave_end_slot(int addr,int ack, slave_data data);
|
||||
void slave_end_slot(int addr,int ack, myarray data);
|
||||
protected:
|
||||
QList<myarray> slave_acked;
|
||||
|
Reference in New Issue
Block a user