User input hub comunication

Added signalR comunication -> client
Adedd new library and nhandler softkey management
This commit is contained in:
Lucio Maranta
2018-03-07 17:03:04 +01:00
parent 6332ed9732
commit 306ed6c515
12 changed files with 83 additions and 20 deletions
@@ -57,7 +57,7 @@ namespace Step.Controllers.WebApi
// Create subkeys dictionary for group
Dictionary<int, string> tmpSubKey = new Dictionary<int, string>();
if (softkey.Type == SOFTKEY_TYPE.MULTIPLE && softkey.SubKeys != null)
if (softkey.Type == SOFTKEY_TYPE.GROUP && softkey.SubKeys != null)
{
tmpSubKey = new Dictionary<int, string>();
foreach (var subkey in softkey.SubKeys)
@@ -70,6 +70,7 @@ namespace Step.Controllers.WebApi
{
Id = softkey.Id,
Category = softkey.Category,
OperatorConfirmationNeeded = softkey.OperatorConfirmationNeeded,
Type = softkey.Type,
SubKeys = tmpSubKey
});