You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.0 KiB
C

1 year ago
//#ifndef NET_THREAD_H
//#define NET_THREAD_H
//#include <QThread>
//#include <mainwindow.h>
//#include <QLabel>
//#include <QSharedMemory>
//#include "sharememory.h"
//extern int flag_thread;//子线程停止标志
//namespace Ui {
//class net_Thread;
//}
//class net_Thread : public QThread
//{
// Q_OBJECT
//public:
// explicit net_Thread(QObject *parent = 0);
// int workCount;//计数
// sharememory share;
// QByteArray prodata; //检测共享内存有无读到数据
//private:
// Ui::net_Thread *ui;
// virtual void run();//任务处理线程
// void fun_SharedMemory_recive();//从共享内存读数据
// void fun_SharedMemory_send();//往共享内存发数据
// void wlzt_tubiao();//网络状态图标
// void Check_Set();//往共享内存发数据
//signals:
// void Temperature_signal(int);
// void Qshare_signal_send(int);
// void Qshare_signal_recive(int);
// void Qshare_signal_recive_cspz(int);
// void TestSignal(int);
// void TestSignal_cspz(int);
//};
//#endif // NET_THREAD_H