提交原始齿轮泵代码
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
#ifndef _DEMO_H
|
||||
#define _DEMO_H
|
||||
|
||||
|
||||
/* ----------------------- Modbus includes ----------------------------------*/
|
||||
#include "mb.h"
|
||||
#include "mbport.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
PR_BEGIN_EXTERN_C
|
||||
#endif
|
||||
|
||||
static enum ThreadState
|
||||
{
|
||||
STOPPED,
|
||||
RUNNING,
|
||||
SHUTDOWN
|
||||
} ePollThreadState;
|
||||
|
||||
BOOL active_modbus( USHORT* mPara, USHORT* mStatus,USHORT port_num);
|
||||
void vSetPollingThreadState( enum ThreadState eNewState );
|
||||
enum ThreadState eGetPollingThreadState( void );
|
||||
#ifdef __cplusplus
|
||||
PR_END_EXTERN_C
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user