Server/Actions/ActionCecDeviceStandby.cs
changeset 222 0e8c6c2f4777
parent 221 5770478e1fe3
child 223 f6272f65d8fc
     1.1 --- a/Server/Actions/ActionCecDeviceStandby.cs	Tue Jul 26 15:30:46 2016 +0200
     1.2 +++ b/Server/Actions/ActionCecDeviceStandby.cs	Wed Jul 27 11:07:35 2016 +0200
     1.3 @@ -15,18 +15,12 @@
     1.4      public class ActionCecDeviceStandby : ActionCecDevice
     1.5      {
     1.6          /// <summary>
     1.7 -        /// 
     1.8 +        /// Build a user readable string to describe this action.
     1.9          /// </summary>
    1.10          /// <returns></returns>
    1.11          public override string Brief()
    1.12          {
    1.13 -            if (Device == CecLogicalAddress.Broadcast)
    1.14 -            {
    1.15 -                //Because of duplicated values it would display Unregistered
    1.16 -                return "CEC Standby Broadcast";
    1.17 -            }
    1.18 -
    1.19 -            return "CEC Standby " + Device.ToString();
    1.20 +            return "CEC Standby " + DeviceName;
    1.21          }
    1.22  
    1.23          /// <summary>