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.
mitlib.pub/MITLIB/GuiDLL/MotorPosRS.h

56 lines
1.5 KiB
C++

#if !defined(AFX_MOTORPOSRS_H__29D96FC1_615D_4A8C_BC6E_8A1127D84B40__INCLUDED_)
#define AFX_MOTORPOSRS_H__29D96FC1_615D_4A8C_BC6E_8A1127D84B40__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifdef BUILD_GUIDLL
#define DLLCLASS __declspec(dllexport)
#else
#define DLLCLASS __declspec(dllimport)
#endif
// MotorPosRS.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CMotorPosRS DAO recordset
class DLLCLASS CMotorPosRS : public CDaoRecordset
{
public:
CMotorPosRS(CDaoDatabase* pDatabase = NULL);
DECLARE_DYNAMIC(CMotorPosRS)
// Field/Param Data
//{{AFX_FIELD(CMotorPosRS, CDaoRecordset)
long m_ID;
CString m_Pos_Name;
double m_Position;
CString m_Package_Name;
//}}AFX_FIELD
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMotorPosRS)
public:
virtual CString GetDefaultDBName(); // Default database name
virtual CString GetDefaultSQL(); // Default SQL for Recordset
virtual void DoFieldExchange(CDaoFieldExchange* pFX); // RFX support
//}}AFX_VIRTUAL
void SaveMtrPos(CString csPackageName, CString csPosName, double dPos);
// 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_MOTORPOSRS_H__29D96FC1_615D_4A8C_BC6E_8A1127D84B40__INCLUDED_)