public void PLCAdd(string plcName, string ipAddress) { var plc = new PLCItem(plcName, ipAddress, mdsClient); if (plc.Connection(ApplicationName, PLCServerApplicationName)) { model.ListPLCItems.Add(plc); } }
public void PLCConnect(PLCItem plc) { plc.Connection(ApplicationName, PLCServerApplicationName); }