Machine Interface Utility:VER1.0
This commit is contained in:
@@ -0,0 +1,69 @@
|
||||
#pragma once
|
||||
#include "afxwin.h"
|
||||
#include "Mv_Proto_Dump.H"
|
||||
|
||||
#define MAX_LINE_LEN 512
|
||||
#define MAX_SHORT_LEN 128
|
||||
|
||||
#define _STR_7000_Label "STR_7000="
|
||||
#define _STR_6f00_Label "STR_6f00="
|
||||
#define _STR_4c02_Label "STR_4c02="
|
||||
#define _STR_SerialNo_Label "SerialNo="
|
||||
#define _STR_Model_Label "Model="
|
||||
//
|
||||
#define _6000_BUFF "7e : 60"
|
||||
#define _7000_BUFF "7000"
|
||||
#define _6f00_BUFF "6f00"
|
||||
#define _4c02_BUFF "4c02"
|
||||
|
||||
// CCaptureDataDlg dialog
|
||||
|
||||
class CCaptureDataDlg : public CDialogEx
|
||||
{
|
||||
DECLARE_DYNAMIC(CCaptureDataDlg)
|
||||
|
||||
public:
|
||||
CCaptureDataDlg(CWnd* pParent = NULL); // standard constructor
|
||||
virtual ~CCaptureDataDlg();
|
||||
|
||||
// Dialog Data
|
||||
enum { IDD = IDD_DIALOG_UPDATE_MV_CONFIG };
|
||||
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
virtual BOOL OnInitDialog();
|
||||
DECLARE_MESSAGE_MAP()
|
||||
public:
|
||||
afx_msg void OnBnClickedButtonUpdateConfig();
|
||||
afx_msg void OnBnClickedButtonBrowseLog();
|
||||
afx_msg void OnBnClickedButtonGetMvConfig();
|
||||
CString m_status_msg;
|
||||
CString m_SnoopyLogFile;
|
||||
CString m_mv_config_full_path_name;
|
||||
CString m_mv_config_filename;
|
||||
CString m_temp_mv_config_filename;
|
||||
CString m_proto_filename;
|
||||
CString m_AppPath;
|
||||
CMv_Proto_Dump* mv_proto_dump;
|
||||
|
||||
union {
|
||||
wchar_t _wc_str_serial_no[MAX_SHORT_LEN];
|
||||
char _c_str_serial_no[MAX_SHORT_LEN*2];
|
||||
};
|
||||
char _str_serial_no[MAX_SHORT_LEN*2];
|
||||
union {
|
||||
wchar_t _wc_str_model[MAX_SHORT_LEN];
|
||||
char _c_str_model[MAX_SHORT_LEN*2];
|
||||
};
|
||||
char _str_model[MAX_SHORT_LEN*2];
|
||||
|
||||
void MvConfigNew();
|
||||
afx_msg void OnBnClickedRadioCreateMvConfig();
|
||||
afx_msg void OnBnClickedRadioUpdateMvConfig();
|
||||
|
||||
char _str_SerialNo[MAX_SHORT_LEN];
|
||||
char _str_Model[MAX_SHORT_LEN];
|
||||
char _str_7000[MAX_SHORT_LEN];
|
||||
char _str_6f00[MAX_SHORT_LEN];
|
||||
char _str_4c02[MAX_SHORT_LEN];
|
||||
};
|
||||
Reference in New Issue
Block a user