Basis for action property edition support.
4 using System.Collections.Generic;
6 using System.Runtime.Serialization;
8 using System.Threading.Tasks;
10 namespace SharpDisplayManager
13 [AttributeAction(Id = "Cec.StandbyTv", Name = "CEC Standby TV", Description = "Standby TVs on your CEC HDMI network.")]
14 class ActionCecStandbyTv : SharpLib.Ear.Action
16 public override void Execute()
18 if (Cec.Client.Static == null)
20 Console.WriteLine("WARNING: No CEC client installed.");
23 Cec.Client.Static.Lib.StandbyDevices(CecLogicalAddress.Tv);