📄 systeminfo.cpp
字号:
// SystemInfo.cpp: implementation of the CSystemInfo class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "alfa.h"
#include "SystemInfo.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
IMPLEMENT_SERIAL(CSystemInfo,CObject,1)
CSystemInfo::CSystemInfo()
{
}
CSystemInfo::~CSystemInfo()
{
}
void CSystemInfo::Serialize(CArchive &ar)
{
if(ar.IsLoading())
{
ar >> run_count;
ar >> produce_date;
ar >> pwd_syspara;
ar >> pwd_exitsys;
ar >> minpos_mx;
ar >> maxpos_mx;
ar >> minpos_mz;
ar >> maxpos_mz;
ar >> minpos_y;
ar >> maxpos_y;
ar >> minpos_sx;
ar >> maxpos_sx;
ar >> minpos_sz;
ar >> maxpos_sz;
ar >> safepos_z;
ar >> getsafe_y;
ar >> putsafe_y;
ar >> m_num;
}
else
{
ar << run_count;
ar << produce_date;
ar << pwd_syspara;
ar << pwd_exitsys;
ar << minpos_mx;
ar << maxpos_mx;
ar << minpos_mz;
ar << maxpos_mz;
ar << minpos_y;
ar << maxpos_y;
ar << minpos_sx;
ar << maxpos_sx;
ar << minpos_sz;
ar << maxpos_sz;
ar << safepos_z;
ar << getsafe_y;
ar << putsafe_y;
ar << m_num;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -