1.1 --- a/Server/Actions/ActionCecPowerOnTv.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.PowerOnTv", Name = "CEC Power On TV", Description = "Power on TVs on your CEC HDMI network.")]
1.17 - class ActionCecPowerOnTv : 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.PowerOnDevices(CecLogicalAddress.Tv);
1.27 - }
1.28 - }
1.29 -}