signal.h

来自「三容水箱的模糊控制设计」· C头文件 代码 · 共 60 行

H
60
字号
#if !defined(AFX_SIGNAL_H__BAD31078_0C92_4498_AEFE_C13FA42C1358__INCLUDED_)
#define AFX_SIGNAL_H__BAD31078_0C92_4498_AEFE_C13FA42C1358__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Signal.h : header file
//
#include "Mserial.h"
#include "FakeMserial.h"


/////////////////////////////////////////////////////////////////////////////
// CSignal command target

class CSignal : public CCmdTarget
{
	DECLARE_DYNCREATE(CSignal)

	CSignal();           // protected constructor used by dynamic creation

// Attributes
public:

// Operations
public:
	double Produce();
	void Initial();
	virtual ~CSignal();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSignal)
	//}}AFX_VIRTUAL

// Implementation
protected:
	

	// Generated message map functions
	//{{AFX_MSG(CSignal)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
private:
	double Time;
	double RangeArray[5];
	double TimeArray[5];
	CMserial Mserial;
	CFakeMserial FakeMserial;
};

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

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

#endif // !defined(AFX_SIGNAL_H__BAD31078_0C92_4498_AEFE_C13FA42C1358__INCLUDED_)

⌨️ 快捷键说明

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