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.

41 lines
920 B
C++

#include "StdAfx.h"
#include "WorkCmdTimingProgress.h"
#include "LogMgr.h"
#include "WorkCmdInvoker.h"
#include "TimingProgressMgr.h"
CWorkCmdTimingProgress::CWorkCmdTimingProgress()
{
m_ProgressTime = -1;//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>
}
CWorkCmdTimingProgress::~CWorkCmdTimingProgress(void)
{
}
bool CWorkCmdTimingProgress::Excute()
{
//<2F><><EFBFBD>ý<EFBFBD><C3BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD>
if(m_ProgressShowInfo != "")
gTimingProgressMgr.SetShowInfo(m_ProgressShowInfo);
//ֹͣ<CDA3><D6B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
if(m_ProgressTime==0)
{
gTimingProgressMgr.StopExecute();
}
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
if(m_ProgressTime>0)
{
gTimingProgressMgr.SetTimingProgressTime(m_ProgressTime);
gTimingProgressMgr.StartTimingProgress();
}
return true;
}
void CWorkCmdTimingProgress::WirteLog()
{
}
CString CWorkCmdTimingProgress::GetWorkCmdInfoStr()
{
CString InfoStr("TimingProgress");
return InfoStr;
}