提交原始齿轮泵代码

This commit is contained in:
kite_lucs
2026-08-26 16:13:59 +08:00
commit afc8fcf2a4
1688 changed files with 316635 additions and 0 deletions
+27
View File
@@ -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