This commit is contained in:
Ren RenJuan 2014-01-16 05:39:38 +00:00
parent a31c00607f
commit 8636800fee
3 changed files with 5 additions and 5 deletions

View File

@ -88,10 +88,10 @@ void init(const std::string& system_props_file)
static const Init doInit(system_props_file);
}
std::string stdPropsPath("/home/drde/etc/toolkit2.conf");
void scenario(int scenario)
void scenario(int scenario,char *cgfPath)
{
std::string stdPropsPath(cfgPath);
tkScenario = scenario;
static const Init doInit(stdPropsPath);

View File

@ -4,6 +4,6 @@
#include <string>
void init(const std::string &system_props_file);
void scenario(int which);
void scenario(int which,char *cfgPath);
#endif

View File

@ -35,7 +35,7 @@ void ausRegEPPTK::doOTEA()
string op("newInstance");
if (!daysRunning)
scenario(tkScenario);
scenario(tkScenario,thisConfig->cfg_path);
try {
Timer::setTime("20070101.010101");
@ -81,7 +81,7 @@ void ausRegEPPTK::doOTEB()
string op("newInstance");
if (!daysRunning)
scenario(tkScenario);
scenario(tkScenario,thisConfig->cfg_path);
try {
Timer::setTime("20070101.010101");