Example #1
0
        public List <IO2Trace> getJoinLocations()
        {
            var allO2Traces = OzasmtUtils.getListWithAllTraces(this);
            var results     = new List <IO2Trace>();

            foreach (var o2Trace in allO2Traces)
            {
                if (o2Trace.traceType == TraceType.O2JoinLocation)
                {
                    results.Add(o2Trace);
                }
            }
            return(results);
        }
 public static void makeCompatibleWithOunceV6(IEnumerable <IO2Finding> o2Findings)
 {
     // fix use of non-OSA supported trace types:
     foreach (var o2Finding in o2Findings)
     {
         foreach (var o2Trace in OzasmtUtils.getListWithAllTraces((O2Finding)o2Finding))
         {
             switch (o2Trace.traceType)
             {
             case TraceType.O2Info:
             case TraceType.O2JoinSink:
             case TraceType.O2JoinSource:
                 o2Trace.traceType = TraceType.Type_4;
                 break;
             }
         }
     }
 }