/// <summary> /// Loads the plan and creates the drive collection tree. /// /// The method parses the plan file, and then uses the plan builder to /// build the drive collection tree. /// </summary> /// <param name="planFile">Filename of the plan file that is loaded.</param> /// <returns></returns> internal override void LoadPlan(string planName) { // if setTimer() is not called, then the first use of // the timer will fail. setTimer() is called when the drive // collection is built. timer = null; // read plan, parse it and build drive collection PlanBuilder builder = new LAPParser().Parse(AssemblyControl.GetControl().GetPlanFile(library, planName)); dc = builder.build(this); }
public Launcher() { control = AssemblyControl.GetControl(); }