📄 fspsoftview.h
字号:
// FspSoftView.h : interface of the CFspSoftView class
//
/////////////////////////////////////////////////////////////////////////////
#include "CSpreadSheet.h"
#include "dll/GpibDll.h"
#include "FspSoftDoc.h"
#if !defined(AFX_FSPSOFTVIEW_H__60B78318_F174_4BB4_81FC_41A8B5DE5D9B__INCLUDED_)
#define AFX_FSPSOFTVIEW_H__60B78318_F174_4BB4_81FC_41A8B5DE5D9B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CFspSoftView : public CFormView
{
protected: // create from serialization only
CFspSoftView();
DECLARE_DYNCREATE(CFspSoftView)
public:
//{{AFX_DATA(CFspSoftView)
enum { IDD = IDD_FSPSOFT_FORM };
CRichEditCtrl m_edit;
CString m_SendMessage;
CString m_Number;
//}}AFX_DATA
// Attributes
public:
CFspSoftDoc* GetDocument();
CFsp13 m_fsp13;
Csum200 m_sum200;
int Strlong;
BOOL bsysinit;
CString tempstr;
CString m_csExcel;
CString m_AddressExel;
CString *strName;
//////////////////////////////////////////////////////////////////////////
double m_dwel;
double m_portsum;
double m_addrsum;
double m_portfsp;
double m_addrfsp;
HANDLE hthreadtest;
HANDLE hthreadtime;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFspSoftView)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate(); // called first time after construct
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CFspSoftView();
public:
double Comparemax(double *p,int length,double m_stand);
void OutPut(CString Str,COLORREF cColor = RGB( 0, 0, 0));
void OnSetExcel();
double ReadData(short icolumn, long irow, CString &csResult,CFspSoftView *lpUnit);
void WriteData(short icolumn, long irow, CString csResult,CFspSoftView *lpUnit);
void AddRow(CString csResult,CString csResult2,CFspSoftView *lpUnit);
void OnSaveini(CString strSection,CString strSectionKey,double bValue,CFspSoftView *lpUnit) ;
void OnReadini(CString strSection,CString strSectionKey,double &strValue,CFspSoftView *lpUnit);
void OnTest();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CFspSoftView)
afx_msg void SendMessage();
afx_msg void OnButton4();
afx_msg void OnButton5();
afx_msg void OnRead();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in FspSoftView.cpp
inline CFspSoftDoc* CFspSoftView::GetDocument()
{ return (CFspSoftDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FSPSOFTVIEW_H__60B78318_F174_4BB4_81FC_41A8B5DE5D9B__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -