프로젝트

일반

사용자정보

개정판 c24d977b

IDc24d977b875115938bb93cbaa3d615674ff9b721
상위 39c08936
하위 925e8fe7

gaqhf 이(가) 약 5년 전에 추가함

dev issue #000 : edit log

Change-Id: Ibc4c6e1736002555cb57387f93b69fdeacc67041

차이점 보기:

DTI_PID/SPPIDConverter/SPPIDModel/SPPID_Document.cs
534 534
        {
535 535
            StringBuilder sb = new StringBuilder();
536 536
            sb.AppendLine("Modeling Result");
537
            int failSymbolCnt = 0;
538
            int failLineCnt = 0;
537 539
            foreach (var item in Equipments)
538 540
            {
539 541
                if (string.IsNullOrEmpty(item.SPPID.RepresentationId))
542
                {
540 543
                    sb.AppendLine("Fail Equipment Modeling UID : " + item.UID);
544
                    failSymbolCnt++;
545
                }
541 546
            }
542 547
            foreach (var item in SYMBOLS)
543 548
            {
544 549
                if (string.IsNullOrEmpty(item.SPPID.RepresentationId))
550
                {
545 551
                    sb.AppendLine("Fail Symbol Modeling UID : " + item.UID);
552
                    failSymbolCnt++;
553
                }
546 554
                foreach (var child in item.ChildSymbols)
547 555
                {
548 556
                    if (string.IsNullOrEmpty(item.SPPID.RepresentationId))
......
556 564
            foreach (var item in LINES)
557 565
            {
558 566
                if (string.IsNullOrEmpty(item.SPPID.ModelItemId))
567
                {
559 568
                    sb.AppendLine("Fail Line Modeling UID : " + item.UID);
569
                    failLineCnt++;
570
                }
560 571
            }
561 572
            foreach (var item in LINENUMBERS)
562 573
            {
......
576 587
            foreach (var item in EndBreaks)
577 588
            {
578 589
                if (string.IsNullOrEmpty(item.SPPID.RepresentationId))
590
                {
579 591
                    sb.AppendLine("Fail End Break Modeling UID : " + item.UID);
592
                    failSymbolCnt++;
593
                }
580 594
            }
581 595
            foreach (var item in SpecBreaks)
582 596
            {
583 597
                if (string.IsNullOrEmpty(item.SPPID.RepresentationId))
598
                {
584 599
                    sb.AppendLine("Fail SpecBreak Modeling UID : " + item.UID);
600
                    failSymbolCnt++;
601
                }
585 602
            }
586 603
            sb.AppendLine("End Modeling Result");
587 604
            Log.Write(sb.ToString());
605

  
606
            int allSymbol = Equipments.Count + SYMBOLS.Count + EndBreaks.Count + SpecBreaks.Count;
607
            Log.Write("Symbol Modeling : " + (allSymbol - failSymbolCnt) + " / " + allSymbol);
608
            Log.Write("Line Modeling : " + (LINES.Count - failLineCnt) + "/" + LINES.Count);
588 609
        }
589 610

  
590 611
        private void loop(ChildSymbol childLoop, Symbol item, StringBuilder sb)

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)