Server/Actions/ActionCecStandbyTv.cs
changeset 222 0e8c6c2f4777
parent 221 5770478e1fe3
child 223 f6272f65d8fc
     1.1 --- a/Server/Actions/ActionCecStandbyTv.cs	Tue Jul 26 15:30:46 2016 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,26 +0,0 @@
     1.4 -using CecSharp;
     1.5 -using SharpLib.Ear;
     1.6 -using System;
     1.7 -using System.Collections.Generic;
     1.8 -using System.Linq;
     1.9 -using System.Runtime.Serialization;
    1.10 -using System.Text;
    1.11 -using System.Threading.Tasks;
    1.12 -
    1.13 -namespace SharpDisplayManager
    1.14 -{
    1.15 -    [DataContract]
    1.16 -    [AttributeAction(Id = "Cec.StandbyTv", Name = "CEC Standby TV", Description = "Standby TVs on your CEC HDMI network.")]
    1.17 -    class ActionCecStandbyTv : SharpLib.Ear.Action
    1.18 -    {
    1.19 -        public override void Execute()
    1.20 -        {
    1.21 -            if (Cec.Client.Static == null)
    1.22 -            {
    1.23 -                Console.WriteLine("WARNING: No CEC client installed.");
    1.24 -            }
    1.25 -
    1.26 -            Cec.Client.Static.Lib.StandbyDevices(CecLogicalAddress.Tv);
    1.27 -        }
    1.28 -    }
    1.29 -}