1.1 --- a/Server/Actions/ActionDisplayMessage.cs Sun Jul 31 12:03:52 2016 +0200
1.2 +++ b/Server/Actions/ActionDisplayMessage.cs Fri Aug 12 20:25:05 2016 +0200
1.3 @@ -13,11 +13,11 @@
1.4
1.5
1.6 [DataContract]
1.7 - [AttributeAction(Id = "Display.Message", Name = "Display Message", Description = "Shows a message on your internal display.")]
1.8 + [AttributeObject(Id = "Display.Message", Name = "Display Message", Description = "Shows a message on your internal display.")]
1.9 class ActionDisplayMessage : SharpLib.Ear.Action
1.10 {
1.11 [DataMember]
1.12 - [AttributeActionProperty(
1.13 + [AttributeObjectProperty(
1.14 Id = "Display.Message.Duration",
1.15 Name = "Duration (ms)",
1.16 Description = "Specifies the number of milliseconds this message should be displayed.",
1.17 @@ -29,7 +29,7 @@
1.18
1.19
1.20 [DataMember]
1.21 - [AttributeActionProperty(
1.22 + [AttributeObjectProperty(
1.23 Id = "Display.Message.PrimaryText",
1.24 Name = "Primary Text",
1.25 Description = "The primary text of this message."
1.26 @@ -37,7 +37,7 @@
1.27 public string PrimaryText { get; set; } = "Your message";
1.28
1.29 [DataMember]
1.30 - [AttributeActionProperty(
1.31 + [AttributeObjectProperty(
1.32 Id = "Display.Message.SecondaryText",
1.33 Name = "Secondary Text",
1.34 Description = "The secondary text of this message."