Added NC softkeys:

- API config
- SignalR thread
- SignalR click handler
This commit is contained in:
Lucio Maranta
2018-03-20 09:04:48 +01:00
parent 5b3d64ae89
commit 14ed9d010a
24 changed files with 580 additions and 230 deletions
@@ -0,0 +1,24 @@
using System.Collections.Generic;
using static Step.Model.Constants;
namespace Step.Model.ConfigModels
{
public class UserSoftKeyConfigModel
{
public int Id { get; set; }
public Dictionary<string, string> LocalizedNames { get; set; }
public int Category { get; set; }
public bool IsActive { get; set; }
public bool OperatorConfirmationNeeded { get; set; }
public List<SubKeysModel> SubKeys { get; set; }
public int PlcId { get; set; }
public SOFTKEY_TYPE Type { get; set; }
}
public class SubKeysModel
{
public int Id;
public int PlcId;
public string Text;
}
}