hlp:桂林国际齿轮泵代码

This commit is contained in:
kite_lucs
2026-10-09 10:25:24 +08:00
commit fd606b3c81
2447 changed files with 999531 additions and 0 deletions
@@ -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