109 lines
2.7 KiB
C++
109 lines
2.7 KiB
C++
#if !defined(AFX_WOTABPROBLEM_H__CA8D53C2_2FB6_11D4_964F_00C0F02C4B69__INCLUDED_)
|
|
#define AFX_WOTABPROBLEM_H__CA8D53C2_2FB6_11D4_964F_00C0F02C4B69__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// WOTABProblem.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CWOTABProblem dialog
|
|
|
|
#include "gzrset.h"
|
|
#include "gzcombo.h"
|
|
|
|
#include "label.h"
|
|
#include "afxwin.h"
|
|
|
|
class CXTabCtrl;
|
|
|
|
class CWOTABProblem : public CDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
void ShowExtendedUnitInfo();
|
|
CString m_strWarrantyInfo;
|
|
void FillProbStatList();
|
|
void Security();
|
|
bool bModified;
|
|
CString m_strLastSelectedTask;
|
|
|
|
//combo box defaults
|
|
CString m_strSelectedPM;
|
|
CString m_strSelectedProbStat;
|
|
CString m_strSelectedUnit;
|
|
~CWOTABProblem();
|
|
void FillPMList();
|
|
void FillLists();
|
|
|
|
CString* m_pstrProblemID;
|
|
CString* m_pstrWorkorderID;
|
|
CString* m_pstrClientID;
|
|
CWOTABProblem(CWnd* pParent = NULL); // standard constructor
|
|
CXTabCtrl* m_pTab;
|
|
GZRset* rs;
|
|
GZRset* rsPrint;
|
|
CSpApp* m_pApp;
|
|
// Dialog Data
|
|
//{{AFX_DATA(CWOTABProblem)
|
|
enum { IDD = IDD_WOTAB_PROBLEM };
|
|
CLabel m_lblWarranty;
|
|
CLabel m_lblProbStatus;
|
|
CEdit m_edProblemBrief;
|
|
/*CStatic m_lblModelInfo;*/
|
|
CEdit m_edMeter;
|
|
CStatic m_lblMeter;
|
|
CLabel m_lblTasks;
|
|
CgzCombo m_cbTasks;
|
|
CLabel m_lblPMList;
|
|
CgzCombo m_cbPMList;
|
|
CgzCombo m_cbProbStat;
|
|
CLabel m_lblSnList;
|
|
CEdit m_edProblem;
|
|
CButton m_ckAllSn;
|
|
CgzCombo m_cbSNUnits;
|
|
CButton m_btnUnitHist;
|
|
//}}AFX_DATA
|
|
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CWOTABProblem)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CWOTABProblem)
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnCkallsn();
|
|
afx_msg void OnCloseupCbsn();
|
|
afx_msg void OnCloseupCbpmlist();
|
|
afx_msg void OnCloseupCbprobstat();
|
|
afx_msg void OnLblsnlist();
|
|
virtual void OnOK();
|
|
afx_msg void OnCloseupCbtasks();
|
|
afx_msg void OnLbltasklist();
|
|
afx_msg void OnLblpmlist();
|
|
afx_msg void OnBtnunithist();
|
|
afx_msg void OnKillfocusEdmetercount();
|
|
afx_msg void OnKillfocusEdprob();
|
|
afx_msg void OnKillfocusEdprobbrief();
|
|
afx_msg void OnLblprobstatus();
|
|
afx_msg void OnLblwarranty();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
public:
|
|
// title for bottom half of screen
|
|
CLabel m_lblTitle;
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_WOTABPROBLEM_H__CA8D53C2_2FB6_11D4_964F_00C0F02C4B69__INCLUDED_)
|