Commit 5f1c8ada authored by Yuelong Yu's avatar Yuelong Yu
Browse files

Fix the problem on simulation mode

When it is in simulation mode. The slave tango server directly goes to
ON state. However, the master server waits for OFF state.
parent fe44b4f3
......@@ -294,7 +294,11 @@ void AGIPDMaster::init_device()
cout<<strDP<<endl;
Tango::DeviceProxy* objDP = new Tango::DeviceProxy(strDP);
WaitForState(objDP,Tango::OFF);
if(simulationMode == 0)
WaitForState(objDP,Tango::OFF);
if(simulationMode == 1)
WaitForState(objDP,Tango::ON);
try
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment