Server/Actions/ActionCecDeviceType.cs
author StephaneLenclud
Fri, 06 Jan 2017 18:27:19 +0100
changeset 276 7cd495550d5f
parent 222 0e8c6c2f4777
permissions -rw-r--r--
Published v1.4.3
Major hack into our spectrum math to make it prettier.
StephaneLenclud@222
     1
using CecSharp;
StephaneLenclud@222
     2
using SharpLib.Ear;
StephaneLenclud@222
     3
using System;
StephaneLenclud@222
     4
using System.Collections.Generic;
StephaneLenclud@222
     5
using System.Linq;
StephaneLenclud@222
     6
using System.Runtime.InteropServices;
StephaneLenclud@222
     7
using System.Runtime.Serialization;
StephaneLenclud@222
     8
using System.Text;
StephaneLenclud@222
     9
using System.Threading.Tasks;
StephaneLenclud@222
    10
StephaneLenclud@222
    11
namespace SharpDisplayManager
StephaneLenclud@222
    12
{
StephaneLenclud@222
    13
    /// <summary>
StephaneLenclud@222
    14
    /// Abstract CEC action using a device type.
StephaneLenclud@222
    15
    /// </summary>
StephaneLenclud@222
    16
    [DataContract]
StephaneLenclud@222
    17
    public abstract class ActionCecDeviceType : SharpLib.Ear.Action
StephaneLenclud@222
    18
    {
StephaneLenclud@222
    19
        [DataMember]
StephaneLenclud@231
    20
        [AttributeObjectProperty
StephaneLenclud@222
    21
            (
StephaneLenclud@222
    22
            Id = "CEC.DeviceType",
StephaneLenclud@222
    23
            Name = "Device Type",
StephaneLenclud@222
    24
            Description = "The device type used by this action."
StephaneLenclud@222
    25
            )
StephaneLenclud@222
    26
        ]
StephaneLenclud@222
    27
        public CecDeviceType DeviceType { get; set; }
StephaneLenclud@222
    28
    }
StephaneLenclud@222
    29
}