First softkey implementation

Added config and API
Added Thread and signal
This commit is contained in:
Lucio Maranta
2018-03-06 17:58:02 +01:00
parent 6db3b6d328
commit 6332ed9732
22 changed files with 528 additions and 53 deletions
@@ -0,0 +1,23 @@
using System.Collections.Generic;
using static Step.Utils.Constants;
namespace Step.Model.ConfigModels
{
public class SoftKeyConfigModel
{
public int Id { get; set; }
public Dictionary<string, string> LocalizedNames { get; set; }
public int Category { get; set; }
public bool IsActive { 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;
}
}