27 lines
760 B
C#
27 lines
760 B
C#
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 IsVisible { 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;
|
|
}
|
|
}
|