You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
982 B

1 year ago
using System.Net;
namespace Win_in.Sfs.Wms.DataExchange.Fawtyg.InjectionMoldingTaskAgent;
1 year ago
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; }
12 months ago
public int Interval { set; get; } // interval
public int TimeCycle { set; get; }
1 year ago
}
public class DataExchangeOptions
{
public bool Active { get; set; }
12 months ago
public int PeriodSeconds { get; set; } = 300;
1 year ago
public int BatchSize { get; set; } = 10;
public int MaxCount { get; set; } = 100;
public int RetryTimes { get; set; } = 3;
}