Server/Actions/ActionCecDevice.cs
author StephaneLenclud
Tue, 26 Jul 2016 15:05:57 +0200
changeset 220 e5910d7b6a81
child 222 0e8c6c2f4777
permissions -rw-r--r--
Adding support for enumerated action property edition.
     1 using CecSharp;
     2 using SharpLib.Ear;
     3 using System;
     4 using System.Collections.Generic;
     5 using System.Linq;
     6 using System.Runtime.InteropServices;
     7 using System.Runtime.Serialization;
     8 using System.Text;
     9 using System.Threading.Tasks;
    10 
    11 namespace SharpDisplayManager
    12 {
    13     [DataContract]
    14     public abstract class ActionCecDevice: SharpLib.Ear.Action
    15     {
    16         [DataMember]
    17         [AttributeActionProperty
    18             (
    19             Id = "CEC.Device",
    20             Name = "Device",
    21             Description = "The logical address used by this action."
    22             )
    23         ]
    24         public CecLogicalAddress Device { get; set; }
    25     }
    26 }