Esempio n. 1
0
        private void processDataSet(XmlNode LNNodeCn, NodeBase NLNb, Iec61850State iecf, string IEDName, string LNNodeName)
        {
            NodeVL VL = new NodeVL(LNNodeName + "$" + getStringAttribute(LNNodeCn, "name"));

            VL.Defined = true;
            NodeBase VLNb = NLNb.AddChildNode(VL);

            foreach (XmlNode DataSetCn in LNNodeCn.ChildNodes)
            {
                if (DataSetCn.Name == "FCDA")
                {
                    string addr = getAddrFromFCDA(DataSetCn);

                    NodeBase Nb = (iecf.DataModel.ied as NodeIed).FindNodeByAddress(IEDName + getStringAttribute(DataSetCn, "ldInst"), getAddrFromFCDA(DataSetCn));

                    if (Nb != null)
                    {
                        VLNb.LinkChildNode(Nb);
                    }
                }
            }
        }