Files
cms_thermo_active/Step.Model/DTOModels/DTOClientConfigurationModel.cs
T
Lucio Maranta 0f0d650e0c Added siemens keyboard option in serverConfig
Removed nc-softkey & changed under-the hood style if the option is active
2019-11-26 11:02:52 +01:00

39 lines
1.2 KiB
C#

using Step.Model.ConfigModels;
using System.Collections.Generic;
using System.Globalization;
namespace Step.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 CultureInfo DefaultLanguage
{
get
{
if (_language != null)
return new CultureInfo(_language);
else
return new CultureInfo("en-US");
}
set
{
_language = value.TwoLetterISOLanguageName;
}
}
}
}