Server/Actions/ActionCecDeviceType.cs
author StephaneLenclud
Tue, 30 Aug 2016 21:14:18 +0200
changeset 261 e2729a990e8b
parent 222 0e8c6c2f4777
permissions -rw-r--r--
Published v1.2.1.0
Support for Event Trigger through SharpLibDisplay.
     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     /// <summary>
    14     /// Abstract CEC action using a device type.
    15     /// </summary>
    16     [DataContract]
    17     public abstract class ActionCecDeviceType : SharpLib.Ear.Action
    18     {
    19         [DataMember]
    20         [AttributeObjectProperty
    21             (
    22             Id = "CEC.DeviceType",
    23             Name = "Device Type",
    24             Description = "The device type used by this action."
    25             )
    26         ]
    27         public CecDeviceType DeviceType { get; set; }
    28     }
    29 }