프로젝트

일반

사용자정보

개정판 24c5e56c

ID24c5e56cba9a265a53397a5ffe348514c5f100b8
상위 c206d293
하위 ef22793a

김태성이(가) 4년 이상 전에 추가함

- final pdf Font 추가
- Markus navi 속도 최적화 Key input 최적화

Change-Id: I7f2cf1933e86017d7b1df9ef4bd3048a8e80a653

차이점 보기:

KCOM_API/ServiceDeepView.svc.cs
119 119

  
120 120
            }
121 121
            return null;
122
            GC.Collect(2);
122
            //GC.Collect(2);
123 123
        }
124 124

  
125 125
        private static string shortGuid()
......
506 506
            }
507 507
            finally
508 508
            {
509
                GC.Collect(2);
509
                //GC.Collect(2);
510 510
            }
511 511

  
512 512
            return _result;
......
540 540
            }
541 541
            finally
542 542
            {
543
                GC.Collect(2);
543
                //GC.Collect(2);
544 544
            }
545 545
            return _result;
546 546
        }
......
572 572
            }
573 573
            finally
574 574
            {
575
                GC.Collect(2);
575
                //GC.Collect(2);
576 576
            }
577 577
            return null;
578 578
        }
......
593 593
                    return false;
594 594
                }
595 595
            }
596
            GC.Collect(2);
596
            //GC.Collect(2);
597 597
        }
598 598

  
599 599
        [OperationContract]
......
778 778
            }
779 779
            finally
780 780
            {
781
                GC.Collect(2);
781
                //GC.Collect(2);
782 782
            }
783 783

  
784 784
            return _result;
......
893 893
            }
894 894
            finally
895 895
            {
896
                GC.Collect(2);
896
                //GC.Collect(2);
897 897
            }
898 898

  
899 899
            return _result;
......
965 965
            }
966 966
            finally
967 967
            {
968
                GC.Collect(2);
968
                //GC.Collect(2);
969 969
            }
970 970
            return _result;
971 971
        }
......
1010 1010
            }
1011 1011
            finally
1012 1012
            {
1013
                GC.Collect(2);
1013
                //GC.Collect(2);
1014 1014
            }
1015 1015
            return _result;
1016 1016
        }
......
1093 1093
        //                return false;
1094 1094
        //            }
1095 1095
        //        }
1096
        //        catch (Exception)
1096
        //        catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
1097 1097
        //        {
1098 1098
        //            return false;
1099 1099
        //        }
......
1123 1123
        //                return false;
1124 1124
        //            }
1125 1125
        //        }
1126
        //        catch (Exception)
1126
        //        catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
1127 1127
        //        {
1128 1128
        //            return false;
1129 1129
        //        }
......
1388 1388
        //            return Entity.MARKUP_DATA_GROUP.ToList().LastOrDefault().ID;
1389 1389
        //        }
1390 1390
        //    }
1391
        //    catch (Exception)
1391
        //    catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
1392 1392
        //    {
1393 1393
        //        return 0;
1394 1394
        //    }
......
1405 1405
        //            Entity.SaveChanges();
1406 1406
        //        }
1407 1407
        //    }
1408
        //    catch (Exception)
1408
        //    catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
1409 1409
        //    {
1410 1410
        //        return false;
1411 1411
        //    }
......
1600 1600
                    Entity.SaveChanges();
1601 1601
                }
1602 1602
            }
1603
            catch (Exception)
1604
            {
1603
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
1605 1604
                return false;
1606 1605
            }
1607 1606
            return true;
......
1611 1610
        {
1612 1611
            try
1613 1612
            {
1613
               
1614 1614
                string sCIConnString = ConfigurationManager.ConnectionStrings["CIConnectionString"].ConnectionString;
1615 1615
                using (CIEntities Entity = new CIEntities(sCIConnString))
1616 1616
                {
......
1618 1618
                    Entity.SaveChanges();
1619 1619
                }
1620 1620
            }
1621
            catch (Exception)
1622
            {
1621
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
1623 1622
                return false;
1624 1623
            }
1625 1624
            return true;
......
1637 1636
                    Check_value = Entity.CHECK_LIST.Where(info => info.ID == _id).FirstOrDefault();
1638 1637
                }
1639 1638
            }
1640
            catch (Exception)
1641
            {
1639
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
1642 1640
                return null;
1643 1641
            }
1644 1642
            return Check_value;
......
1655 1653
                    list = Entity.CHECK_LIST.Where(i => i.PROJECT_NO == project_no && i.DOCUMENT_NO == doc_no && i.USER_ID == user_id).OrderBy(p => p.CREATE_TIME).ToList();
1656 1654
                }
1657 1655
            }
1658
            catch (Exception)
1659
            {
1656
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
1660 1657
                return null;
1661 1658
            }
1662 1659
            return list;
......
1673 1670
                    history = Entity.CHECK_LIST_HISTORY.Where(data => data.CHECKLIST_ID == _id).ToList();
1674 1671
                }
1675 1672
            }
1676
            catch (Exception)
1677
            {
1673
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
1678 1674
                return null;
1679 1675
            }
1680 1676
            return history;
......
1691 1687
                    Check_Item = Entity.CHECK_LIST_HISTORY.Where(info => info.CHECKLIST_ID == checklist_id && info.REVISION == rev).FirstOrDefault();
1692 1688
                }
1693 1689
            }
1694
            catch (Exception)
1695
            {
1690
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
1696 1691
                return null;
1697 1692
            }
1698 1693
            return Check_Item;
......
1721 1716
                    Entity.SaveChanges();
1722 1717
                }
1723 1718
            }
1724
            catch (Exception)
1725
            {
1719
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
1726 1720
                return false;
1727 1721
            }
1728 1722
            return true;
......
1741 1735
                    markupInfo = Entity.MARKUP_INFO.Where(entity => entity.DOCINFO_ID == _id).OrderByDescending(i => i.CONSOLIDATE).OrderByDescending(j => j.CREATE_TIME).FirstOrDefault();
1742 1736
                }
1743 1737
            }
1744
            catch (Exception)
1745
            {
1738
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
1746 1739
                return null;
1747 1740
            }
1748 1741
            return markupInfo;
......
1767 1760
                                  select data.DATA).ToList();
1768 1761
                }
1769 1762
            }
1770
            catch (Exception)
1771
            {
1763
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
1772 1764
                return null;
1773 1765
            }
1774 1766
            return markupdata;
......
1786 1778
                    Entity.SaveChanges();
1787 1779
                }
1788 1780
            }
1789
            catch (Exception)
1790
            {
1781
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
1791 1782
                return false;
1792 1783
            }
1793 1784
            return true;
......
1805 1796
                    Entity.SaveChanges();
1806 1797
                }
1807 1798
            }
1808
            catch (Exception)
1809
            {
1799
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
1810 1800
                return false;
1811 1801
            }
1812 1802
            return true;
......
1824 1814
                    Entity.SaveChanges();
1825 1815
                }
1826 1816
            }
1827
            catch (Exception)
1828
            {
1817
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
1829 1818
                return false;
1830 1819
            }
1831 1820
            return true;
......
1844 1833
                    Entity.SaveChanges();
1845 1834
                }
1846 1835
            }
1847
            catch (Exception)
1848
            {
1836
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
1849 1837
                return false;
1850 1838
            }
1851 1839
            return true;
......
1864 1852
                    Entity.SaveChanges();
1865 1853
                }
1866 1854
            }
1867
            catch (Exception)
1868
            {
1855
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
1869 1856
                return false;
1870 1857
            }
1871 1858
            return true;
......
1883 1870
                    mlresult = Entity.MARKUP_DATA.Where(data => data.MARKUPINFO_VERSION_ID == _versionid).ToList();
1884 1871
                }
1885 1872
            }
1886
            catch (Exception)
1887
            {
1873
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
1888 1874
                return null;
1889 1875
            }
1890 1876
            return mlresult;
......
1952 1938

  
1953 1939
                }
1954 1940
            }
1955
            catch (Exception)
1956
            {
1941
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
1957 1942
                return false;
1958 1943
            }
1959 1944
            return true;
......
2024 2009
                }
2025 2010
                consolidate = true;
2026 2011
            }
2027
            catch (Exception)
2012
            catch (Exception ex)
2028 2013
            {
2014
                System.Diagnostics.Debug.WriteLine(ex);
2029 2015
                consolidate = false;
2030 2016
            }
2017

  
2031 2018
            FinalPDFResult _result = new FinalPDFResult();
2032 2019
            if (consolidate == true)
2033 2020
            {
......
2216 2203

  
2217 2204
                }
2218 2205
            }
2219
            catch (Exception)
2220
            {
2206
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
2221 2207
                return false;
2222 2208
            }
2223 2209
            return true;
......
2318 2304
                    Custom_List = Entity.SYMBOL_PUBLIC.Select(data => data.DEPARTMENT).Distinct().ToList();
2319 2305
                }
2320 2306
            }
2321
            catch (Exception)
2322
            {
2307
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
2323 2308
                return null;
2324 2309
            }
2325 2310
            return Custom_List;
......
2344 2329
                    
2345 2330
                }
2346 2331
            }
2347
            catch (Exception)
2348
            {
2332
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
2349 2333
                return null;
2350 2334
            }
2351 2335
            return Custom_List;
......
2376 2360
                    }
2377 2361
                }
2378 2362
            }
2379
            catch (Exception)
2380
            {
2363
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
2381 2364
                return null;
2382 2365
            }
2383 2366
            return result;
......
2401 2384
                    }
2402 2385
                }
2403 2386
            }
2404
            catch (Exception)
2405
            {
2387
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
2406 2388
                return null;
2407 2389
            }
2408 2390
            return result;
......
2440 2422
                }
2441 2423

  
2442 2424
            }
2443
            catch (Exception)
2444
            {
2425
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
2445 2426
                return null;
2446 2427
            }
2447 2428
            return result;
......
2460 2441
                    result = Entity.RUN_PROJECTS.Where(i => i.PROJECT_NO == project_no).FirstOrDefault().PROJECT_NAME.ToString();
2461 2442
                }
2462 2443
            }
2463
            catch (Exception)
2464
            {
2444
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
2465 2445
                return null;
2466 2446
            }
2467 2447
            return result;
......
2482 2462
                    && i.REVISION != current_rev).OrderByDescending(i => i.GROUP_NO).ToList();
2483 2463
                }
2484 2464
            }
2485
            catch (Exception)
2486
            {
2465
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
2487 2466
                return null;
2488 2467
            }
2489 2468
            return result;
......
2505 2484
                              select info).First();
2506 2485
                }
2507 2486
            }
2508
            catch (Exception)
2509
            {
2487
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
2510 2488
                return null;
2511 2489
            }
2512 2490
            return docinfo;
......
2600 2578
                    entity.SaveChanges();
2601 2579
                }
2602 2580
            }
2603
            catch (Exception)
2604
            {
2581
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
2605 2582
                return false;
2606 2583
            }
2607 2584
            return true;
......
2712 2689
                    }                    
2713 2690
                }
2714 2691
            }
2715
            catch (Exception)
2716
            {
2692
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
2717 2693
                throw;
2718 2694
            }
2719 2695
            return docinfo;
......
2750 2726
                    
2751 2727
                }
2752 2728
            }
2753
            catch (Exception)
2754
            {
2729
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
2755 2730
                throw;
2756 2731
            }
2757 2732
            return item;
......
2788 2763
                    }
2789 2764
                }
2790 2765
            }
2791
            catch (Exception)
2792
            {
2766
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
2793 2767
                throw;
2794 2768
            }
2795 2769
            return results;
......
2817 2791
                    }                    
2818 2792
                }
2819 2793
            }
2820
            catch (Exception)
2821
            {
2794
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
2822 2795
                throw;
2823 2796
            }
2824 2797
            return markupInfo;
......
2857 2830
                    }
2858 2831
                }
2859 2832
            }
2860
            catch (Exception)
2861
            {
2833
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
2862 2834
                throw;
2863 2835
            }
2864 2836
            return results;
......
2889 2861
                    }                    
2890 2862
                }
2891 2863
            }
2892
            catch (Exception)
2893
            {
2864
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
2894 2865
                throw;
2895 2866
            }
2896 2867
            return results;
......
2924 2895
                    }
2925 2896
                }                    
2926 2897
            }
2927
            catch (Exception)
2928
            {
2898
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
2929 2899
                throw;
2930 2900
            }
2931 2901
            return result;
......
2960 2930
                        result = true;
2961 2931
                }
2962 2932
            }
2963
            catch (Exception)
2964
            {
2933
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
2965 2934
                throw;
2966 2935
            }
2967 2936
            return result;
......
2986 2955
                    }
2987 2956
                }
2988 2957
            }
2989
            catch (Exception)
2990
            {
2958
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
2991 2959
                throw;
2992 2960
            }
2993 2961
            return result;
......
3012 2980
                    }
3013 2981
                }
3014 2982
            }
3015
            catch (Exception)
3016
            {
2983
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
3017 2984
                throw;
3018 2985
            }
3019 2986
            return result;
......
3038 3005
                    }
3039 3006
                }
3040 3007
            }
3041
            catch (Exception)
3042
            {
3008
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
3043 3009
                throw;
3044 3010
            }
3045 3011
            return result;
......
3065 3031
                    }
3066 3032
                }
3067 3033
            }
3068
            catch (Exception)
3069
            {
3034
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
3070 3035
                throw;
3071 3036
            }
3072 3037

  
......
3098 3063
                }
3099 3064

  
3100 3065
            }
3101
            catch (Exception)
3102
            {
3066
            catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex);
3103 3067
                throw;
3104 3068
            }
3105 3069
            return results;

내보내기 Unified diff

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