/// <summary> /// Initializes a new instance of the <see cref="JediWindjammerDssWorkflowApp" /> class. /// </summary> /// <param name="device">The device.</param> public JediWindjammerDssWorkflowApp(JediWindjammerDevice device) { if (device == null) { throw new ArgumentNullException(nameof(device)); } _device = device; _controlPanel = _device.ControlPanel; _enhancedWorkflowApp = new DssEnhancedWorkflowApp(_controlPanel); _optionsManager = new JediWindjammerDssWorkflowJobOptions(device); _executionManager = new JediWindjammerJobExecutionManager(device); Pacekeeper = new Pacekeeper(TimeSpan.Zero); }
/// <summary> /// Initializes a new instance of the <see cref="JediOmniDssWorkflowApp" /> class. /// </summary> /// <param name="device">The device.</param> public JediOmniDssWorkflowApp(JediOmniDevice device) { if (device == null) { throw new ArgumentNullException(nameof(device)); } _device = device; _controlPanel = _device.ControlPanel; _masthead = new JediOmniMasthead(device); _launchHelper = new JediOmniLaunchHelper(device); _notificationPanel = new JediOmniNotificationPanel(device); _enhancedWorkflowApp = new DssEnhancedWorkflowApp(_controlPanel); _idleTimeoutOffset = device.PowerManagement.GetInactivityTimeout().Subtract(TimeSpan.FromSeconds(10)); _popupManager = new JediOmniPopupManager(device); _engine = new OxpdBrowserEngine(_device.ControlPanel, DssWorkflowResource.DssWorkflowJavaScript); Pacekeeper = new Pacekeeper(TimeSpan.Zero); }