示例#1
0
 static internal Opc.Da.ItemPropertyCollection PropertiesXMLSerializerFilter(Opc.Da.ItemPropertyCollection inputproplist)
 {
     Opc.Da.ItemPropertyCollection returnproplist = new Opc.Da.ItemPropertyCollection();
     foreach (Opc.Da.ItemProperty prop in inputproplist)
     {
         returnproplist.Add(PropertyXMLSerializerFilter(prop));
     }
     return(returnproplist);
 }
示例#2
0
        static internal Opc.Da.ItemPropertyCollection[] PropertiesCollectionXMLSerializerFilter(Opc.Da.ItemPropertyCollection[] inputproplist)
        {
            Opc.Da.ItemPropertyCollection[] returnproplist = new Opc.Da.ItemPropertyCollection[inputproplist.Length];
            int idx = 0;

            foreach (Opc.Da.ItemPropertyCollection prop in inputproplist)
            {
                returnproplist[idx++] = PropertiesXMLSerializerFilter(prop);
            }
            return(returnproplist);
        }