Files
coco df489d5640 a
2026-07-03 16:05:30 +08:00

62 lines
1.5 KiB
C++

#if !defined(AFX_LICENSEUPGRADE_H__B34A4EC9_4675_4C84_94FA_A78A09827353__INCLUDED_)
#define AFX_LICENSEUPGRADE_H__B34A4EC9_4675_4C84_94FA_A78A09827353__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// LicenseUpgrade.h : header file
//
#include "FileTransfer_crul.h"
#include "Device.h"
/////////////////////////////////////////////////////////////////////////////
// CLicenseUpgrade dialog
class CLicenseUpgrade : public CDialog
{
// Construction
public:
CLicenseUpgrade(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CLicenseUpgrade)
enum { IDD = IDD_LICENSE_UPG };
CProgressCtrl m_proDownFile;
CComboBox m_comDev;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLicenseUpgrade)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CLicenseUpgrade)
virtual BOOL OnInitDialog();
virtual void OnOK();
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
protected:
void UpdateGD10Dev(CSComPort *pCom);
bool GetLicenseFile(CString strDev);
bool m_bIsUpdating;
public:
CFileTransfer_crul m_FileTransfer;
bool m_bIsCrulInitaled;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LICENSEUPGRADE_H__B34A4EC9_4675_4C84_94FA_A78A09827353__INCLUDED_)