BOOL CNCFlashDlg::OnInitDialog()
{
	__super::OnInitDialog();

	// TODO:  Add extra initialization here

	InitFromConfigFile();
	return TRUE;  // return TRUE unless you set the focus to a control
	// EXCEPTION: OCX Property Pages should return FALSE
}
示例#2
0
	Account::Account( const std::string& aConfigFile, IDriver_TD* apTD )
		:m_pTD(apTD)
		
	{
		m_Status = AccountStatus::IDLE;
		m_PorfitOfCurrentSignal = 0;
		InitFromConfigFile(aConfigFile);


		m_FellowCloseTime = boost::posix_time::microsec_clock::local_time();

		boost::gregorian::date lToday = boost::gregorian::day_clock::local_day();
		m_FellowCloseTime = boost::posix_time::ptime(lToday,boost::posix_time::duration_from_string("15:06:00"));
		//m_MarketCloseTime =  ("15:08:00");
		

	}