示例#1
0
 public bool IsPDBLamp(string str)
 {
     string[] _params = PDBFunctions.SplitMatrixAddressParts(str);
     if (_params.Length != 2)
     {
         return(false);
     }
     foreach (string addr in _params)
     {
         if (!PDBFunctions.IsPdbAddress(addr, this.pdb.aliases.ToArray()))
         {
             Console.WriteLine("Not PDB address! " + addr);
             return(false);
         }
     }
     return(true);
 }
示例#2
0
 public bool is_pdb_coil(string str)
 {
     return(PDBFunctions.IsPdbAddress(str, this.pdb.aliases.ToArray()));
 }