Update scenario.cpp

change getRestingTime to getRestingTimeInSecond