24 lines
452 B

using log4net;
namespace HybirdFrameworkDriver.ModbusTcpMaster;
public class ModbusTcpMaster
{
private static readonly ILog Log = LogManager.GetLogger(typeof(ModbusTcpMaster));
public string Ip { get; set; }
public int Port { get; set; }
public int Duration { get; set; }
public bool Connected { get; set; }
ILog GetLog()
{
return Log;
}
public bool Connect()
{
return Connected;
}
}