();
+ foreach (var subkey in softkey.SubKeys)
+ {
+ tmpSubKey.Add(subkey.Id, subkey.Text);
+ }
+ }
+ // Add to the category the new softkey
+ output[softkey.Category].Add(new DTOSoftKeyConfigModel()
+ {
+ Id = softkey.Id,
+ Category = softkey.Category,
+ Type = softkey.Type,
+ SubKeys = tmpSubKey
+ });
+
+ }
+
+ return Ok(output);
+ }
}
}
\ No newline at end of file
diff --git a/Step/Listeners/ListenersHandler.cs b/Step/Listeners/ListenersHandler.cs
index bd8bcaf3..c1a7e23a 100644
--- a/Step/Listeners/ListenersHandler.cs
+++ b/Step/Listeners/ListenersHandler.cs
@@ -47,6 +47,11 @@ namespace Step.Listeners
{
SignalRListener.SendExpMaintenancesData(a);
}));
+ infos.Add(MessageServices.Current.Subscribe(SEND_SOFT_KEYS_DATA, async (a, b) =>
+ {
+ SignalRListener.SendSoftKeysData(a);
+ }));
+
infos.Add(MessageServices.Current.Subscribe(BROADCAST_DATA, async (a, b) =>
{
diff --git a/Step/Listeners/SignalR/SignalRListener.cs b/Step/Listeners/SignalR/SignalRListener.cs
index a3eb7c34..32852b6a 100644
--- a/Step/Listeners/SignalR/SignalRListener.cs
+++ b/Step/Listeners/SignalR/SignalRListener.cs
@@ -114,6 +114,11 @@ namespace Step.Listeners.SignalR
}
}
+ public static void SendSoftKeysData(object softKeys)
+ {
+
+ }
+
private volatile static object _broadcastlock = new Object();
public static void BroadcastData()
{
diff --git a/Step/wwwroot/src/modules/alarms/alarm-item.vue b/Step/wwwroot/src/modules/alarms/alarm-item.vue
index 3030ea9b..d0154e59 100644
--- a/Step/wwwroot/src/modules/alarms/alarm-item.vue
+++ b/Step/wwwroot/src/modules/alarms/alarm-item.vue
@@ -5,7 +5,7 @@
{{source}} {{processid}}
-
+