Esempio n. 1
0
        /// <summary>
        ///     Create structure based on the subsystem structure
        /// </summary>
        /// <param name="sourceNode"></param>
        public override void AcceptDrop(BaseTreeNode sourceNode)
        {
            base.AcceptDrop(sourceNode);

            if (sourceNode is ParameterTreeNode)
            {
                ParameterTreeNode node      = sourceNode as ParameterTreeNode;
                Parameter         parameter = node.Item;
                node.Delete();
                Item.appendParameters(parameter);
            }
        }
Esempio n. 2
0
        /// <summary>
        /// Create structure based on the subsystem structure
        /// </summary>
        /// <param name="SourceNode"></param>
        public override void AcceptDrop(BaseTreeNode SourceNode)
        {
            base.AcceptDrop(SourceNode);

            if (SourceNode is ParameterTreeNode)
            {
                ParameterTreeNode        node      = SourceNode as ParameterTreeNode;
                DataDictionary.Parameter parameter = node.Item;
                node.Delete();
                AddParameter(parameter);
            }
        }