namespace Win_in.Sfs.Wms.DataExchange.MesAgent; public class DataExchangeOptions { public ReadingFilesOptions ReadingFilesOptions { get; set; } public IncomingOptions IncomingOptions { get; set; } public OutgoingOptions OutgoingOptions { get; set; } } public class ReadingFilesOptions { public bool Active { get; set; } public int PeriodSeconds { get; set; } = 5 * 60; public int RetryTimes { get; set; } = 3; public int BatchSize { get; set; } = 100; } public class IncomingOptions { public bool Active { get; set; } public int PeriodSeconds { get; set; } = 5 * 60; public int RetryTimes { get; set; } = 3; public int BatchSize { get; set; } = 100; } public class OutgoingOptions { public bool Active { get; set; } public int PeriodSeconds { get; set; } = 5 * 60; public int RetryTimes { get; set; } = 3; public int BatchSize { get; set; } = 100; public string BaseUrl { get; set; } = string.Empty; public string Username { get; set; } public string Password { get; set; } public ApiUrls ApiUrls { get; set; } } public class ApiUrls { public string Receipt { get; set; } public string Return { get; set; } public string Transfer { get; set; } public string BackFlush { get; set; } public string Rework { get; set; } public string PreShipper { get; set; } public string UnplannedReceipt { get; set; } public string UnplannedDeliver { get; set; } public string Count { get; set; } }