Beispiel #1
0
        public override void RemoveConnection(ConnectionWPF connection)
        {
            if (connection is ResConnectionWPF)
            {
                ResConnectionWPF resConnection = connection as ResConnectionWPF;

                resPuts.Remove(resConnection);
            }
        }
Beispiel #2
0
        public override void RemoveConnection(ConnectionWPF connection)
        {
            if (connection is ProcConnectionWPF)
            {
                ProcConnectionWPF procConnection = connection as ProcConnectionWPF;

                inputs.Remove(procConnection);
                outputs.Remove(procConnection);
            }
            else if (connection is ResConnectionWPF)
            {
                ResConnectionWPF resConnection = connection as ResConnectionWPF;

                resputs.Remove(resConnection);
            }
        }
Beispiel #3
0
 /// <summary>
 /// Уделяет ифнормацию о текущим соединении из блока
 /// </summary>
 /// <param name="connection"></param>
 public abstract void RemoveConnection(ConnectionWPF connection);