public ExportPresentationSchemaFilesCommand(string commandName, IPresentationClient presentationClient, string directory) : base(commandName) { _presentationClient = presentationClient; _exportPresentationCRUD = _presentationClient.GetPresentationSchemaCrud(); }
public override Control CreateControlForDevice(IEventLogging logging, Device device, Control parent, IPlayerCommand playerProvider, IPresentationClient client) { LightPlayerControl control = new LightPlayerControl(device, playerProvider, logging); control.Parent = parent; parent.Controls.Add(control); control.CreateControl(); return control; }
public ExportGlobalSourcesCommand(string commandName, IPresentationClient remotePresentationService, IPresentationClient standalonePresentationClient) : base(commandName) { _remotePresentationClient = remotePresentationService; _standalonePresentationClient = standalonePresentationClient; _standaloneClientResourceCRUD = _standalonePresentationClient.GetResourceCrud(); }
public ExportSlide(IPresentationClient remotePresentationWorker, IPresentationClient standalonePresentationWorker, IExportSlideController exportSlideController) { _remotePresentationWorker = remotePresentationWorker; _standalonePresentationWorker = standalonePresentationWorker; _exportSlideController = exportSlideController; }
public override System.Windows.Forms.Control CreateControlForSource(IEventLogging logging, Source source, Control parent, IPlayerCommand playerCommand, IPresentationClient client) { DVDPlayerControl2 control = new DVDPlayerControl2(source, playerCommand, logging, client); control.Parent = parent; parent.Controls.Add(control); control.CreateControl(); return control; }
public override Control CreateControlForSource(IEventLogging logging, Source source, Control parent, IPlayerCommand playerCommand, IPresentationClient client) { VDCTerminalControl control = new VDCTerminalControl(source, playerCommand, logging, client); control.Parent = parent; parent.Controls.Add(control); control.CreateControl(); return control; }
public override System.Windows.Forms.Control CreateControlForSource(IEventLogging logging, TechnicalServices.Persistence.SystemPersistence.Presentation.Source source, System.Windows.Forms.Control parent, IPlayerCommand playerCommand, IPresentationClient client) { PlayerController controller = new PlayerController(source, playerCommand); VNCPlayerControl control = new VNCPlayerControl(controller); control.Parent = parent; parent.Controls.Add(control); control.CreateControl(); return control; }
public override Control CreateControlForSource(IEventLogging logging, Source source, Control parent, IPlayerCommand playerProvider, IPresentationClient client) { PlayerController controller = new PlayerController(source, playerProvider); PlayerControl control = new PlayerControl(controller); control.Parent = parent; parent.Controls.Add(control); control.CreateControl(); return control; }
public VDCTerminalControl(Source source, IPlayerCommand playerCommand, IEventLogging logging, IPresentationClient client) : this() { CollapsedRGBOption = true; cbaAbonents.DisplayMember = "Name"; cbaAbonents.ValueMember = "Number1"; _controller = new PlayerController(client, source, this, playerCommand, logging); InitializeController(_controller); SetControlPlayerTimerEnable(true, 1000); }
public ExportPresentation(IClientConfiguration config, IPresentationClient remotePresentationClient, IPresentationClient standalonePresentationClient, IExportPresentationController exportPresentationController) { _config = config; //_standaloneSourceDAL = standaloneSourceDAL; //_standaloneDeviceResourceEx = standaloneDeviceResourceEx; _standalonePresentationClient = standalonePresentationClient; _remotePresentationClient = remotePresentationClient; _exportPresentationController = exportPresentationController; }
public ExportConfiguration(IClientConfiguration config, IPresentationClient standalonePresentationClient, IPresentationClient remotePresentationClient, Action<string> successMessageDelegate, Action<string> errorMessageDelegate, Func<string, string, string> getFileNameForConfigurationDelegate) { _config = config; _standalonePresentationClient = standalonePresentationClient; _remotePresentationClient = remotePresentationClient; _successMessageDelegate = successMessageDelegate; _errorMessageDelegate = errorMessageDelegate; _getFileNameForConfigurationDelegate = getFileNameForConfigurationDelegate; }
public override Control CreateControlForSource(IEventLogging logging, Source source, Control parent, IPlayerCommand playerProvider, IPresentationClient client) { ArcGISMapController controller = new ArcGISMapController(source, playerProvider); //ChartManageControl control = new ChartManageControl(controller); //control.Parent = parent; //parent.Controls.Add(control); //control.CreateControl(); MapManageControl control = new MapManageControl(controller); control.Parent = parent; parent.Controls.Add(control); control.CreateControl(); return control; }
public DVDPlayerControl2(Source source, IPlayerCommand playerCommand, IEventLogging logging, IPresentationClient client) : this() { InitializeController(new PlayerController(client, source, this, playerCommand, logging)); switch (_DVDType) { case InterfaceTypeEnum.IR: SetControlPlayerTimerEnable(false, 1); break; case InterfaceTypeEnum.RS232: SetControlPlayerTimerEnable(true, 1000); break; } }
public ExportPresentationCommand(string commandName, PresentationInfo presentationInfo, string newPresentationName, IPresentationClient remotePresentationClient, IPresentationClient standalonePresentationClient, Func<string, bool> delegateForDeletedPresentation) : base(commandName) { _remotePresentationClient = remotePresentationClient; _standalonePresentationClient = standalonePresentationClient; _standaloneClientResourceCRUD = _standalonePresentationClient.GetResourceCrud(); _clientPresentationCRUD = _remotePresentationClient.GetPresentationExportCrud(); _presentationInfo = presentationInfo; _newPresentationName = newPresentationName; //_presentationService = presentationService; _delegateForDeletedPresentation = delegateForDeletedPresentation; //_clientPresentationCRUD = new ClientSidePresentationTransfer(directory, presentationClient); //_clientSourceStandalone = new ClientSideStandAloneSourceTransfer(standaloneResourceEx); }
public void Done() { if (IsStandAlone) return; UserIdentity identity = Thread.CurrentPrincipal as UserIdentity; if (_loginServiceClient != null) { try { if (identity != null) { loginService.UnSubscribe(identity); loginService.Logoff(identity); } } catch (Exception ex) { _configuration.EventLog.WriteError(String.Format("DesignerClient.Done(): {0}", ex)); } finally { _loginServiceClient.Dispose(); _loginServiceClient = null; } } if (_remotePresentationClient != null) { try { if (identity != null) { PresentationWorker.UnSubscribeForGlobalMonitoring(); } } catch (Exception ex) { _configuration.EventLog.WriteError(String.Format("DesignerClient.Done(): {0}", ex)); } finally { _remotePresentationClient.Dispose(); _remotePresentationClient = null; } } }
public ImportSlide(IPresentationClient standalonePresentationWorker, IImportSlideController importSlideController) { _standalonePresentationWorker = standalonePresentationWorker; _importSlideController = importSlideController; }
public VideoCameraPlayerCommonControl(Source source, IPlayerCommand playerCommand, IEventLogging logging, IPresentationClient client) : this() { InitializeController(new VideoCameraPlayerCommonController(client, source, this, playerCommand, logging)); SetControlPlayerTimerEnable(true, 1000); }
public virtual Control CreateControlForDisplay(IEventLogging logging, Display display, Control parent, IPlayerCommand playerProvider, IPresentationClient client) { return null; }
public virtual Control CreateControlForSource(IEventLogging logging, Source source, Control parent, IPlayerCommand playerProvider, IPresentationClient client) { return null; }