public LsConnection(IPlcModel plcModel = null) { Connection = this; PlcModel = plcModel ?? DefaultPlcModel; Client = new TcpClient(); }
public LsConnection(IPlcModel plcModel = null) { Connection = this; PlcModel = plcModel ?? DefaultPlcModel; Connections.Add(this); }