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.
|
|
|
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 class DataExchangeOptions
|
|
|
|
{
|
|
|
|
public bool Active { get; set; }
|
|
|
|
public int PeriodSeconds { get; set; } = 60;
|
|
|
|
public int BatchSize { get; set; } = 10;
|
|
|
|
public int MaxCount { get; set; } = 100;
|
|
|
|
public int RetryTimes { get; set; } = 3;
|
|
|
|
|
|
|
|
}
|