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.

20 lines
559 B
C++

#pragma once
#include "module.h"
class CSimulateTrace :public CModule
{
public:
CSimulateTrace(void);
~CSimulateTrace(void);
virtual CMFCPropertyGridProperty *CreatGridProperty();
virtual MODULE GetModuleType(){return _SIMULATE_PROP;};
bool IsSimulate(){return m_bSimulate;};
void Switch(bool b){m_bSimulate = b;}
void Delay();
void SetDelay(int delay){m_Delay = delay;};
private:
bool m_bSimulate;//是否模拟
int m_Delay;//模拟延时(单位是毫秒)
};
extern CSimulateTrace *gSimulateTrace;