Ejemplo n.º 1
0
        /// <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);
        }
Ejemplo n.º 2
0
        /// <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;
        }
Ejemplo n.º 3
0
 public virtual extern void setLiveViewSource([In] ComLiveViewSource dwModus);
Ejemplo n.º 4
0
 public virtual extern void getCurrentLiveViewSource(out ComLiveViewSource modus);