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.

57 lines
1.6 KiB

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Laser Guard Ltd.
  3. // Copyright � 2000-2002. All Rights Reserved.
  4. // Version 1.0 01/01/2000
  5. // Last modification: 08/10/2003
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: CalibrationRange.cpp
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Source file of CalibrationRange.cpp
  13. //----------------------------------------------------------------------------
  14. // CalibrationRange.cpp : implementation file
  15. //
  16. #include "stdafx.h"
  17. #include "calibration.h"
  18. #include "CalibrationRange.h"
  19. #ifdef _DEBUG
  20. #define new DEBUG_NEW
  21. #undef THIS_FILE
  22. static char THIS_FILE[] = __FILE__;
  23. #endif
  24. /////////////////////////////////////////////////////////////////////////////
  25. // CCalibrationRangeDlg dialog
  26. CCalibrationRangeDlg::CCalibrationRangeDlg(CWnd* pParent /*=NULL*/)
  27. : CDialog(CCalibrationRangeDlg::IDD, pParent)
  28. {
  29. //{{AFX_DATA_INIT(CCalibrationRangeDlg)
  30. m_dDistance = 0.0;
  31. //}}AFX_DATA_INIT
  32. }
  33. void CCalibrationRangeDlg::DoDataExchange(CDataExchange* pDX)
  34. {
  35. CDialog::DoDataExchange(pDX);
  36. //{{AFX_DATA_MAP(CCalibrationRangeDlg)
  37. DDX_Text(pDX, IDC_EDIT_DISTANCE, m_dDistance);
  38. DDV_MinMaxDouble(pDX, m_dDistance, 0., 200.);
  39. //}}AFX_DATA_MAP
  40. }
  41. BEGIN_MESSAGE_MAP(CCalibrationRangeDlg, CDialog)
  42. //{{AFX_MSG_MAP(CCalibrationRangeDlg)
  43. // NOTE: the ClassWizard will add message map macros here
  44. //}}AFX_MSG_MAP
  45. END_MESSAGE_MAP()
  46. /////////////////////////////////////////////////////////////////////////////
  47. // CCalibrationRangeDlg message handlers