示例#1
0
 private void update_Lists(Dictionary <string, double> dict, int depth, object AccessObj, implem_Classes dataType)
 {
     foreach (KeyValuePair <string, double> entry in dict)
     {
         l_SegObj.Add(AccessObj);
         l_Names.Add(entry.Key);
         l_Values.Add(entry.Value);
         l_types.Add("null");
         l_depth.Add(depth);
         l_isQuantity.Add(true); // child components only for now
         l_implemClass.Add(dataType);
     }
 }
示例#2
0
 private void UpdateGridDictLists(STKObject thisListObject, object accesshandler, implem_Classes AccessClass, List <string> parents)
 {
     ListChildren.Add(thisListObject);
     GridDict.Add(rowCount, thisListObject);
     AccessObject.Add(rowCount, accesshandler);
     AccessClassName.Add(rowCount, AccessClass);
     parentsHeirarchy.Add(rowCount, parents);
     rowCount++;
 }