public void RunCalculateActivity(IActivity activity)
 {
     if (activity == null && activity.SessionSettings != null)
     {
         throw new Exception("Settings a session before Calculate demand time by this activity");
     }
     activity.CalculateDemandTime();
 }