using System; namespace TeamAAS_VP.Core.Sfis { public class SfisConfig { public bool Enabled { get; set; } public bool DryRun { get; set; } public string ServiceUrl { get; set; } public string SoapNamespace { get; set; } = "http://tempuri.org/"; public string ProgramId { get; set; } public string ProgramPassword { get; set; } public string Device { get; set; } public string OperatorId { get; set; } public string OperatorPassword { get; set; } public string TspName { get; set; } public bool PassEnabled { get; set; } = true; public bool UploadEnabled { get; set; } public int CheckRouteType { get; set; } = 1; public string GetVersionType { get; set; } = "1"; public string GetVersionChkData { get; set; } public string GetVersionChkData2 { get; set; } public int ResultStatus { get; set; } = 1; public string InputDataPassType { get; set; } = "EF-MO_WEB"; public string InputDataAoiLocTag { get; set; } = "EF-AOILOC-0"; public int InputDataType { get; set; } = 1; public string DefaultMoNumber { get; set; } public int TimeoutMs { get; set; } = 30000; public bool AutoLogin { get; set; } = true; public bool AutoLogoutOnExit { get; set; } = true; public bool UseDryRun() { return DryRun || string.IsNullOrWhiteSpace(ServiceUrl); } } }