You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.4 KiB
C++

#pragma once
#include "MyBttom.h"
#include "MyPictrueBttom.h"
#include "MyDlgView.h"
#include "StaticCounter.h"
#include "afxwin.h"
class CDlgChildLaserPathState : public CMyDlgView
{
DECLARE_DYNAMIC(CDlgChildLaserPathState)
public:
CDlgChildLaserPathState(CWnd* pParent = NULL); // 标准构造函数
virtual ~CDlgChildLaserPathState();
virtual void ChangeItemState();
virtual void SetTextCtrlItemID();
virtual void UpdateLanguageTxt();
void TriggerOnPaint();
// 对话框数据
enum { IDD = IDD_CHILD_LASER_PATH_STATE };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
void OnTimer(UINT nIDEvent);
DECLARE_MESSAGE_MAP()
private:
void UpdateInfoExt();
void UpdateXYZCoord();
void UpdateLaserInfo();
void UpdateIDisMeterInfo();
void UpdataDeviceInfo();
void ZeroChange(double &Val);
void SetItemStr(int ItemId,double Val);
void SetBtnState(CMyPictrueBttom &btn,bool bOn);
private:
HICON m_hIcon;
public:
afx_msg void OnBnClickedTestFucBtn();
afx_msg void OnBnClickedMainLaserState();
afx_msg void OnBnClickedLaserPowCheck();
afx_msg void OnBnClickedCloseLaserDevice();
afx_msg LRESULT OnRobotCommRecv(WPARAM wParam, LPARAM lParam);
afx_msg void OnBnClickedLaserBeamCheck();
afx_msg void OnBnClickedLaserOscillCtrl();
};