27 lines
743 B
C#
27 lines
743 B
C#
using System.Collections.Generic;
|
|
using static Thermo.Active.Model.Constants;
|
|
|
|
namespace Thermo.Active.Model.ConfigModels
|
|
{
|
|
public class IOConfigModel
|
|
{
|
|
public TACT_IO_TYPE Category { get; set; }
|
|
public int Id { get; set; } =0;
|
|
public string Bank { get; set; } = "0";
|
|
public string Position { get; set; } = "0";
|
|
public string Page { get; set; } = "";
|
|
public string Wire { get; set; } = "";
|
|
public string Profinet { get; set; } = "";
|
|
public bool DisableForce { get; set; } = false;
|
|
public string Label
|
|
{
|
|
get
|
|
{
|
|
string answ = $"LBL_IO_{Category}_{Id}";
|
|
return answ;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|