Server/Actions/ActionCecDevice.cs
changeset 220 e5910d7b6a81
child 222 0e8c6c2f4777
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Server/Actions/ActionCecDevice.cs	Tue Jul 26 15:05:57 2016 +0200
     1.3 @@ -0,0 +1,26 @@
     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.InteropServices;
    1.10 +using System.Runtime.Serialization;
    1.11 +using System.Text;
    1.12 +using System.Threading.Tasks;
    1.13 +
    1.14 +namespace SharpDisplayManager
    1.15 +{
    1.16 +    [DataContract]
    1.17 +    public abstract class ActionCecDevice: SharpLib.Ear.Action
    1.18 +    {
    1.19 +        [DataMember]
    1.20 +        [AttributeActionProperty
    1.21 +            (
    1.22 +            Id = "CEC.Device",
    1.23 +            Name = "Device",
    1.24 +            Description = "The logical address used by this action."
    1.25 +            )
    1.26 +        ]
    1.27 +        public CecLogicalAddress Device { get; set; }
    1.28 +    }
    1.29 +}