/// <summary> /// Changes the AtmoWin liveview source. /// </summary> /// <param name="viewSource">The liveview source.</param> /// <returns>true if successfull and false if not.</returns> private bool SetAtmoLiveViewSource(ComLiveViewSource viewSource, bool force = false) { if (!IsConnected() && !force) { return(false); } Log.Debug("AtmoWinHandler - Changing AtmoWin Liveview Source to: {0}", viewSource.ToString()); if (TimeoutHandler(() => atmoLiveViewControl.setLiveViewSource(viewSource))) { Log.Info("AtmoWinHandler - Successfully changed AtmoWin Liveview Source to: {0}", viewSource.ToString()); return(true); } return(false); }
/// <summary> /// Changes the AtmoWin liveview source. /// </summary> /// <param name="viewSource">The liveview source.</param> /// <returns>true if successfull and false if not.</returns> private bool SetAtmoLiveViewSource(ComLiveViewSource viewSource, bool force = false) { if (!IsConnected() && !force) { return false; } Log.Debug("AtmoWinHandler - Changing AtmoWin Liveview Source to: {0}", viewSource.ToString()); if (TimeoutHandler(() => atmoLiveViewControl.setLiveViewSource(viewSource))) { Log.Info("AtmoWinHandler - Successfully changed AtmoWin Liveview Source to: {0}", viewSource.ToString()); return true; } return false; }
public virtual extern void setLiveViewSource([In] ComLiveViewSource dwModus);
public virtual extern void getCurrentLiveViewSource(out ComLiveViewSource modus);