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); }
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); }
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); }