Exemplo n.º 1
0
 public List <GroupInfo> GetOtherGroups(int factortypeid)
 {
     return
         (this.groupInfos.Values.Where(groupInfo => groupInfo.Safetyfactortypeid == factortypeid)
          .Where(
              groupInfo =>
              !DataBaseNameDic.GetDataBaseNameDic()
              .SelectBaseName(groupInfo.DataBaseID)
              .DataBaseCode.Contains("FSUSDataValueDB"))
          .ToList());
 }
Exemplo n.º 2
0
        public bool IsBelongFSDB(int groupid)
        {
            int dbid = this.groupInfos[groupid].DataBaseID;

            return((int)DataBaseNameDic.GetDataBaseNameDic().GetFSUSBaseName().ID == dbid);
        }