Files
2020-09-17 12:55:10 +02:00

40 lines
1.3 KiB
C#

using System.Collections.Generic;
using System.Globalization;
using Thermo.Active.Model.ConfigModels;
namespace Thermo.Active.Model.DTOModels
{
public class DTOClientConfigurationModel
{
public string NcVendor { get; set; }
public bool ShowHMI { get; set; }
public string _language { private get; set; }
public string NcIp { get; set; }
public ushort NcPort { get; set; }
public bool ProdEnabled { get; set; }
public string ProdPath { get; set; }
public string EditorPath { get; set; }
public bool Autorun { get; set; }
public bool MgiOption { get; set; }
public bool CmsConnectReady { get; set; }
public bool SiemensKeyboardOption { get; set; }
public List<ExtSoftwareModel> ExtSoftwares { get; set; }
public Dictionary<string, string> AdditionalParameters { get; set; }
public CultureInfo DefaultLanguage
{
get
{
if (_language != null)
return new CultureInfo(_language);
else
return new CultureInfo("en-US");
}
set
{
_language = value.TwoLetterISOLanguageName;
}
}
}
}