Old fashion design for PC-104
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

80 lines
2.2 KiB

//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright © 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 08/10/2003
// PROJECT:
// SUBSYSTEM:
// FILE: TabLinearizationDlg.h
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Header file of TabLinearizationDlg.h
//----------------------------------------------------------------------------
#pragma once
#include "CalibrationRange.h" // Added by ClassView
#include "graphwnd.h"
#include "..\..\LgLib\Device\LgDeviceLGS.h"
class CCalibrationDlg;
class CTabLinearizationDlg : public CDialog
{
DECLARE_DYNAMIC(CTabLinearizationDlg)
public:
CTabLinearizationDlg(CWnd* pParent = NULL); // standard constructor
virtual ~CTabLinearizationDlg();
public:
void SetCalibrationDlg( CCalibrationDlg *pCalibrationDlg );
void SetCalibrationTable( BOOL bSetCommand, CLgDeviceLGS::LGS_CALIBRATION_TABLE& cTable );
public:
//{{AFX_DATA(CTabLinearizationDlg)
enum { IDD = IDD_TAB_LINEARIZATION_DLG };
CButton m_ButtonUpload;
CButton m_ButtonSlaveDelete;
CButton m_ButtonMasterDelete;
CButton m_ButtonDownload;
CButton m_ButtonAdd;
CListCtrl m_ListSlave;
CListCtrl m_ListMaster;
CButton m_CheckSlave;
CButton m_CheckMaster;
//}}AFX_DATA
protected:
//{{AFX_VIRTUAL(CTabLinearizationDlg)
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
//{{AFX_MSG(CTabLinearizationDlg)
virtual BOOL OnInitDialog();
afx_msg void OnCheckMaster();
afx_msg void OnCheckSlave();
afx_msg void OnButtonMasterDelete();
afx_msg void OnButtonSlaveDelete();
afx_msg void OnButtonDownload();
afx_msg void OnButtonUpload();
afx_msg void OnButtonAdd();
afx_msg void OnButtonLoad();
afx_msg void OnButtonSave();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
BOOL Add( INT nDevice, double dReal, double dA2D );
CCalibrationRangeDlg m_CalibrationRangeDlg;
void UpdateGraph();
CCalibrationDlg *m_pCalibrationDlg;
public:
void EnableControls( BOOL bEnable );
CGraphWnd m_GraphWnd;
public:
INT m_nPendingReceived;
BOOL m_bPending;
};