📄 verifyammterview.h
字号:
// VerifyAmmterView.h : interface of the CVerifyAmmterView class
//
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INCLUDES()
#include "mscomm.h"
//}}AFX_INCLUDES
#if !defined(AFX_VERIFYAMMTERVIEW_H__6F951FC0_D207_40DB_8ADE_0665DBD435F2__INCLUDED_)
#define AFX_VERIFYAMMTERVIEW_H__6F951FC0_D207_40DB_8ADE_0665DBD435F2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CVerifyAmmterSet;
class CVerifyAmmterView : public CRecordView
{
protected: // create from serialization only
CVerifyAmmterView();
DECLARE_DYNCREATE(CVerifyAmmterView)
public:
//{{AFX_DATA(CVerifyAmmterView)
enum { IDD = IDD_VERIFYAMMTER_FORM };
CComboBox m_list44;
CComboBox m_list34;
CComboBox m_list24;
CComboBox m_list4;
CComboBox m_list41;
CComboBox m_list42;
CComboBox m_list43;
CComboBox m_list31;
CComboBox m_list32;
CComboBox m_list33;
CComboBox m_list21;
CComboBox m_list22;
CComboBox m_list23;
CComboBox m_list3;
CComboBox m_list2;
CComboBox m_list1;
CVerifyAmmterSet* m_pSet;
CMSComm m_ctrlcomm;
CString m_power;
CString m_phase;
double m_error1;
double m_error2;
CString m_current;
CString m_transfer2;
CString m_voltage;
CString m_transfer1;
CString m_number1;
CString m_power2;
CString m_phase2;
double m_error22;
CString m_transfer21;
CString m_voltage2;
CString m_transfer22;
CString m_current2;
CString m_power3;
CString m_power4;
CString m_phase3;
CString m_phase4;
double m_error21;
double m_error31;
double m_error41;
double m_error32;
double m_error42;
CString m_voltage3;
CString m_voltage4;
CString m_current3;
CString m_transfer32;
CString m_current4;
CString m_transfer42;
CString m_transfer31;
CString m_transfer41;
CString m_number2;
CString m_number3;
CString m_number4;
//}}AFX_DATA
// Attributes
public:
CVerifyAmmterDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CVerifyAmmterView)
public:
virtual CRecordset* OnGetRecordset();
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate(); // called first time after construct
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CVerifyAmmterView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
double power[10];
double error_power[10];
CString power11,power12,power13,power14;
double power2[10];
double error_power2[10];
CString power2_11,power2_12,power2_13,power2_14;
double power3[10];
double error_power3[10];
CString power3_11,power3_12,power3_13,power3_14;
double power4[10];
double error_power4[10];
CString power4_11,power4_12,power4_13,power4_14;
double phase[10];
double error_phase[10];
CString phase11,phase12,phase13,phase14;
double phase2[10];
double error_phase2[10];
CString phase2_11,phase2_12,phase2_13,phase2_14;
double phase3[10];
double error_phase3[10];
CString phase3_11,phase3_12,phase3_13,phase3_14;
double phase4[10];
double error_phase4[10];
CString phase4_11,phase4_12,phase4_13,phase4_14;
double voltage[10];
double disp_voltage[10];
CString voltage11,voltage12,voltage13,voltage14;
double voltage2[10];
double disp_voltage2[10];
CString voltage2_11,voltage2_12,voltage2_13,voltage2_14;
double voltage3[10];
double disp_voltage3[10];
CString voltage3_11,voltage3_12,voltage3_13,voltage3_14;
double voltage4[10];
double disp_voltage4[10];
CString voltage4_11,voltage4_12,voltage4_13,voltage4_14;
double current[10];
double disp_current[10];
CString current11,current12,current13,current14;
double current2[10];
double disp_current2[10];
CString current2_11,current2_12,current2_13,current2_14;
double current3[10];
double disp_current3[10];
CString current3_11,current3_12,current3_13,current3_14;
double current4[10];
double disp_current4[10];
CString current4_11,current4_12,current4_13,current4_14;
char sel1,sel2,sel3,sel4,sel21,sel22,sel23,sel24,sel31,sel32,sel33,sel34,sel41,sel42,sel43,sel44;
int transfer1;//上传电压数值
int transfer2;//上传电流数值
int transfer21;//上传电压数值
int transfer22;//上传电流数值
int transfer31;//上传电压数值
int transfer32;//上传电流数值
int transfer41;//上传电压数值
int transfer42;//上传电流数值
BOOL send;
// Generated message map functions
protected:
//{{AFX_MSG(CVerifyAmmterView)
afx_msg void OnComm();
afx_msg void OnCloseupList1Power();
afx_msg void OnCloseupList1Phase();
afx_msg void OnCloseupList1Current();
afx_msg void OnPower1VerifyButton();
afx_msg void OnPhase1VerifyButton();
afx_msg void OnVoltage1VerifyButton();
afx_msg void OnCurrent1VerifyButton();
afx_msg void OnPower1ManButton();
afx_msg void OnPhase1ManButton();
afx_msg void OnVolatge1ManButton();
afx_msg void OnCurrent1ManButton();
afx_msg void OnVoltage1TranButton();
afx_msg void OnCurrent1TranButton();
afx_msg void OnVerifyButton1();
afx_msg void OnAddButton1();
afx_msg void OnCloseupList2Phase();
afx_msg void OnCloseupList2Power();
afx_msg void OnCloseupList2Current();
afx_msg void OnPower2VerifyButton();
afx_msg void OnPhase2VerifyButton();
afx_msg void OnVoltage2VerifyButton();
afx_msg void OnCurrent2VerifyButton();
afx_msg void OnPower2ManButton();
afx_msg void OnPhase2ManButton();
afx_msg void OnVolatge2ManButton();
afx_msg void OnCurrent2ManButton();
afx_msg void OnVoltage2TranButton();
afx_msg void OnCurrent2TranButton();
afx_msg void OnVerifyButton2();
afx_msg void OnAddButton2();
afx_msg void OnCloseupList3Power();
afx_msg void OnCloseupList3Phase();
afx_msg void OnCloseupList3Current();
afx_msg void OnPower3VerifyButton();
afx_msg void OnPhase3VerifyButton();
afx_msg void OnVoltage3VerifyButton();
afx_msg void OnCurrent4VerifyButton();
afx_msg void OnPower3ManButton();
afx_msg void OnPhase3ManButton();
afx_msg void OnVolatge3ManButton();
afx_msg void OnCurrent3ManButton();
afx_msg void OnVoltage3TranButton();
afx_msg void OnCurrent3TranButton();
afx_msg void OnVerifyButton3();
afx_msg void OnAddButton3();
afx_msg void OnCloseupList4Power();
afx_msg void OnCloseupList4Phase();
afx_msg void OnCloseupList4Current();
afx_msg void OnPower4VerifyButton();
afx_msg void OnPhase4VerifyButton();
afx_msg void OnVoltage4VerifyButton();
afx_msg void OnCurrent3VerifyButton();
afx_msg void OnPower4ManButton();
afx_msg void OnPhase4ManButton();
afx_msg void OnVolatge4ManButton();
afx_msg void OnCurrent4ManButton();
afx_msg void OnVoltage4TranButton();
afx_msg void OnCurrent4TranButton();
afx_msg void OnVerifyButton4();
afx_msg void OnAddButton4();
afx_msg void OnNumberButton1();
afx_msg void OnNumberButton2();
afx_msg void OnNumberButton3();
afx_msg void OnNumberButton4();
afx_msg void OnCloseupList1Voltage();
afx_msg void OnCloseupList2Voltage();
afx_msg void OnCloseupList3Voltage();
afx_msg void OnCloseupList4Voltage();
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in VerifyAmmterView.cpp
inline CVerifyAmmterDoc* CVerifyAmmterView::GetDocument()
{ return (CVerifyAmmterDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_VERIFYAMMTERVIEW_H__6F951FC0_D207_40DB_8ADE_0665DBD435F2__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -