Esempio n. 1
0
 static bool CheckForMeasIDMatch(INCCDB.IndexedResults ir)
 {
     if (sel.Start <= ir.DateTime && sel.End >= ir.DateTime)
     {
         return((string.Compare(sel.InspectionNumber, "All", true) == 0) ||
                (string.Compare(sel.InspectionNumber, ir.Campaign, true) == 0));
     }
     return(false);
 }
Esempio n. 2
0
        List <string> GenMeasStr(INCCDB.IndexedResults ir)
        {
            List <string> _ls = new List <string>();
            string        l   = ir.Rid.ToString() + " cycles; '" + ir.Material + "'";

            //if (!string.IsNullOrEmpty(ir.Campaign))
            //    l = l + ", campaign: " + ir.Campaign;
            _ls.Add(l);
            return(_ls);
        }