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.
StephaneLenclud@220
     1
using CecSharp;
StephaneLenclud@220
     2
using SharpLib.Ear;
StephaneLenclud@220
     3
using System;
StephaneLenclud@220
     4
using System.Collections.Generic;
StephaneLenclud@220
     5
using System.Linq;
StephaneLenclud@220
     6
using System.Runtime.InteropServices;
StephaneLenclud@220
     7
using System.Runtime.Serialization;
StephaneLenclud@220
     8
using System.Text;
StephaneLenclud@220
     9
using System.Threading.Tasks;
StephaneLenclud@220
    10
StephaneLenclud@220
    11
namespace SharpDisplayManager
StephaneLenclud@220
    12
{
StephaneLenclud@220
    13
    [DataContract]
StephaneLenclud@220
    14
    public abstract class ActionCecDevice: SharpLib.Ear.Action
StephaneLenclud@220
    15
    {
StephaneLenclud@220
    16
        [DataMember]
StephaneLenclud@220
    17
        [AttributeActionProperty
StephaneLenclud@220
    18
            (
StephaneLenclud@220
    19
            Id = "CEC.Device",
StephaneLenclud@220
    20
            Name = "Device",
StephaneLenclud@220
    21
            Description = "The logical address used by this action."
StephaneLenclud@220
    22
            )
StephaneLenclud@220
    23
        ]
StephaneLenclud@220
    24
        public CecLogicalAddress Device { get; set; }
StephaneLenclud@220
    25
    }
StephaneLenclud@220
    26
}