using System.Net; namespace Win_in.Sfs.Wms.DataExchange.Fawtyg.InjectionMoldingTaskAgent; public class InjectionMoldingTaskOptions { public DataExchangeOptions IncomingOptions { get; set; } public DataExchangeOptions OutgoingOptions { get; set; } public InjectionAutoRemote AutoRemote { get; set; } } public class InjectionAutoRemote { // IP 地址 public string IpAddress { set; get; } // 用户名 public string UserName { set; get; } // 密码 public string Password { set; get; } // 令牌 public string Token { set; get; } public string AreaIDs { set; get; } public int Interval { set; get; } // interval public int TimeCycle { set; get; } } public class DataExchangeOptions { public bool Active { get; set; } public int PeriodSeconds { get; set; } = 300; public int BatchSize { get; set; } = 10; public int MaxCount { get; set; } = 100; public int RetryTimes { get; set; } = 3; }