Beispiel #1
0
 public void ChannelDown()
 {
     try
     {
         TVGraph.ChannelDown();
     }
     catch (Exception exception)
     {
         AppLogger.Message(String.Format("ChannelDown failed because {0}", exception.Message));
     }
 }
Beispiel #2
0
 public void SetChannel(int channelNum)
 {
     try
     {
         TVGraph.SetChannel(channelNum);
     }
     catch (Exception exception)
     {
         Debug.WriteLine(String.Format("SetChannel failed because {0}", exception.Message));
         throw new Exception("SetChannel failed because " + exception.Message);
     }
 }
Beispiel #3
0
 public void SetTVMode(TVMode tvMode, bool connectAudio)
 {
     try
     {
         TVGraph.SetTVMode(tvMode, connectAudio);
     }
     catch (Exception exception)
     {
         Debug.WriteLine(String.Format("SetTVMode failed because {0}", exception.Message));
         throw new Exception("SetTVMode failed because " + exception.Message);
     }
 }
Beispiel #4
0
 public void StartChannelScan()
 {
     TVGraph.StartChannelScan();
 }
Beispiel #5
0
        public bool IsSignalPresent()
        {
            AMTunerSignalStrength signalStrength = TVGraph.GetSignalStrength();

            return(signalStrength == AMTunerSignalStrength.SignalPresent);
        }