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.5 KiB
C++
56 lines
1.5 KiB
C++
#if !defined(AFX_LIGHTCONFIGRS_H__9B3E0DC1_D2AE_11D7_89AC_000629A6E157__INCLUDED_)
|
|
#define AFX_LIGHTCONFIGRS_H__9B3E0DC1_D2AE_11D7_89AC_000629A6E157__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// LightConfigRS.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CLightConfigRS DAO recordset
|
|
|
|
class CLightConfigRS : public CDaoRecordset
|
|
{
|
|
public:
|
|
CLightConfigRS(CDaoDatabase* pDatabase = NULL);
|
|
DECLARE_DYNAMIC(CLightConfigRS)
|
|
|
|
// Field/Param Data
|
|
//{{AFX_FIELD(CLightConfigRS, CDaoRecordset)
|
|
long m_ID;
|
|
CString m_Machine_Status;
|
|
short m_Red_Light;
|
|
short m_Amber_Light;
|
|
short m_Green_Light;
|
|
short m_Buzzer;
|
|
long m_Buzzer_Off_Time;
|
|
long m_Buzzer_On_Time;
|
|
long m_Light_Off_Time;
|
|
long m_Light_On_Time;
|
|
//}}AFX_FIELD
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CLightConfigRS)
|
|
public:
|
|
virtual CString GetDefaultDBName(); // Default database name
|
|
virtual CString GetDefaultSQL(); // Default SQL for Recordset
|
|
virtual void DoFieldExchange(CDaoFieldExchange* pFX); // RFX support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Close Recordset and close database
|
|
virtual void Close( );
|
|
|
|
// Implementation
|
|
#ifdef _DEBUG
|
|
virtual void AssertValid() const;
|
|
virtual void Dump(CDumpContext& dc) const;
|
|
#endif
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_LIGHTCONFIGRS_H__9B3E0DC1_D2AE_11D7_89AC_000629A6E157__INCLUDED_)
|