hlp:荆州版本
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
#ifndef SERIAL_H
|
||||
#define SERIAL_H
|
||||
#include <QtGui>
|
||||
#include "mycom.h"
|
||||
class serial : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
serial(QWidget *parent = 0);
|
||||
~serial();
|
||||
void init_serial( int baudrate, int portNumber,int stopbit );
|
||||
|
||||
public slots:
|
||||
void open_serial();
|
||||
void close_serial();
|
||||
void read_serial();
|
||||
void send_serial(char *buf,int len);
|
||||
};
|
||||
#endif // SERIAL_H
|
||||
#ifndef SERIAL_H
|
||||
#define SERIAL_H
|
||||
#include <QtGui>
|
||||
#include "mycom.h"
|
||||
class serial : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
serial(QWidget *parent = 0);
|
||||
~serial();
|
||||
void init_serial( int baudrate, int portNumber,int stopbit );
|
||||
|
||||
public slots:
|
||||
void open_serial();
|
||||
void close_serial();
|
||||
void read_serial();
|
||||
void send_serial(char *buf,int len);
|
||||
};
|
||||
#endif // SERIAL_H
|
||||
|
||||
Reference in New Issue
Block a user