Files
2020-07-21 17:46:03 +02:00

30 lines
933 B
C#

using System.Collections.Generic;
using static Thermo.Active.Model.Constants;
namespace Thermo.Active.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 IsVisible { get; set; }
public bool IsStarred { get; set; } = false;
public string RefCallParam { get; set; } = "";
public string RefCallLabel { 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 bool IsActive;
public string Text;
}
}