⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dk20dieselizedynamotor.h

📁 485通讯接口模块的编程应用
💻 H
字号:
// DK20DieselizeDynamotor.h : main header file for the DK20DIESELIZEDYNAMOTOR application
//

#if !defined(AFX_DK20DIESELIZEDYNAMOTOR_H__D54DE7D2_325C_4ABA_A4CB_600507BC796E__INCLUDED_)
#define AFX_DK20DIESELIZEDYNAMOTOR_H__D54DE7D2_325C_4ABA_A4CB_600507BC796E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"		// main symbols

/////////////////////////////////////////////////////////////////////////////
// CDK20DieselizeDynamotorApp:
// See DK20DieselizeDynamotor.cpp for the implementation of this class
//

typedef struct MOUDLE_VALUE {
	CString strValuename; //模块对应的值的名称 
	float iCurrentvalue ; //当前读取的值
	float iWarningvalueuper ; //报警值 
	float iWarningvaluelower ; //报警下限
	float   fTimedelay  ; //报警延时
	int iStatus       ; //根据当前值与报警值比较,最终确定状态 0, 1,2 
	int iTotalCount  ; //目前具有的总个数

} n3;

typedef struct VIRTUALMOUDLE {
	CString strCommand ;                  //模块命令
//	vector <MOUDLE_VALUE> vcorValue;      //模块值
	MOUDLE_VALUE vcorValue[16];      //模块值

} n4 ;
typedef struct{
	HWND hWnd;  // Windows Handle for display data
	unsigned char *Para_1;  // parameter-1 pointer
	unsigned char *Para_2;  // parameter-2 pointer
	BOOL *lpKillThread;  // Thread flag for start/stop
} THREAD_INFO;

class CDK20DieselizeDynamotorApp : public CWinApp
{
public:
	CDK20DieselizeDynamotorApp();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDK20DieselizeDynamotorApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementation

	//{{AFX_MSG(CDK20DieselizeDynamotorApp)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DK20DIESELIZEDYNAMOTOR_H__D54DE7D2_325C_4ABA_A4CB_600507BC796E__INCLUDED_)

⌨️ 快捷键说明

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