Esempio n. 1
0
        public List <ZLObject> GetChildZLs(MLObject ml)
        {
            List <ZLObject> rslt = new List <ZLObject>();

            if (_ml_zls.ContainsKey(ml._ID))
            {
                rslt.AddRange(_ml_zls[ml._ID]);
            }
            return(rslt);
        }
Esempio n. 2
0
        public IList <RqMtrlTreeObject> GetGroupRqs(MLObject ml, string linkname)
        {
            List <RqMtrlTreeObject> rslt = new List <RqMtrlTreeObject>();

            if (ml_group_rqs.ContainsKey(ml._ID) && ml_group_rqs[ml._ID].ContainsKey(linkname))
            {
                foreach (var rq in ml_group_rqs[ml._ID][linkname])
                {
                    rslt.Add(rq);
                }
            }
            return(rslt);
        }
Esempio n. 3
0
        public List <string> GetLinkName(MLObject ml)
        {
            List <string> rslt = new List <string>();

            if (ml_group_rqs.ContainsKey(ml._ID))
            {
                foreach (var kvp in ml_group_rqs[ml._ID])
                {
                    rslt.Add(kvp.Key);
                }
            }
            return(rslt);
        }