ddecalcpub.h

来自「通过DDE实现从InTouch取泵站机组功率、叶片角度、扬程来计算机组流量和效率」· C头文件 代码 · 共 37 行

H
37
字号
//DDECalcPub.h

#ifndef   DDECalcPub_H
#define   DDECalcPub_H 

#ifndef TRUE
#define TRUE      1
#endif

#ifndef FALSE
#define FALSE     0
#endif

#define MchNum			5 
#define DDE_READ_NUM	16
#define DDE_WRITE_NUM	10
#define BAD_DATA		9999

#define MAX_DDE_RETRY	8

#define DDE_INIT		0
#define DDE_READ		1
#define DDE_WRITE		2

#define  DDE_APP_NAME	"view"
#define  DDE_TOP_NAME	"tagname"

#define  DDE_TIMER		234
#define  WATCH_TIMER	456

typedef struct{
	char  Tagname[24];
	float value;
}DDE_DATA;


#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?