示例#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);
        }
示例#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;
        }
示例#3
0
 public virtual extern void setLiveViewSource([In] ComLiveViewSource dwModus);
示例#4
0
 public virtual extern void getCurrentLiveViewSource(out ComLiveViewSource modus);