Files
2022-10-26 12:25:11 +08:00

35 lines
656 B
C++

#include "StdAfx.h"
#include ".\dbproxyinfo.h"
DBProxyInfo::DBProxyInfo(void)
{
}
DBProxyInfo::~DBProxyInfo(void)
{
}
//Load
void DBProxyInfo::LoadScript( CString strFilePath )
{
LoadAttributes( strFilePath );
}
//Save
void DBProxyInfo::SaveScript( CString strFilePath )
{
SaveAttributes( strFilePath );
}
void DBProxyInfo::LoadAttributes( CString strFilePath )
{
m_Attributes.m_wSerialInterval = GetPrivateProfileInt( "ATTRIBUTES", "SERIAL_INTERVAL_SIZE ", 0, strFilePath );
m_Attributes.m_wQueryPool = GetPrivateProfileInt( "ATTRIBUTES", "QUERY_POOL_SIZE ", 0, strFilePath );
}
void DBProxyInfo::SaveAttributes( CString strFilePath )
{
}