/// <summary> /// Execute the action. /// </summary> /// <param name="element">Parameter to remove!</param> /// <param name="project">Project where the action must be executed.</param> /// <param name="system">System used to execute the digital commands.</param> public override void Execute(ElementBase element, Project project, Rwm.Otc.Systems.IDigitalSystem system) { try { Route route = OTCContext.Layout.RouteManager.GetByID(this.RouteID); route.ActivateRoute(project); } catch (Exception ex) { Logger.LogError(this, ex); throw; } }