프로젝트

일반

사용자정보

개정판 5928384e

ID5928384e0178f54a73d23729cf276a4dcbc36ce6
상위 f0377812
하위 78c80cca

김동진이(가) 5년 이상 전에 추가함

issue #000 ini 에서 Config 를 읽는 Commonlib 추가. 별도로 soap api 를 Connection 하는 부분을 BaseClient Static Class 를 참조하도록 수정.

Change-Id: I54563f8e7e368ace8d50f9fef6a57e6995812a47

차이점 보기:

KCOM/Controls/Symbol.xaml.cs
93 93
            //lstSymbolPublic.ItemsSource = null;
94 94

  
95 95
            Symbol_Custom Custom = new Symbol_Custom();
96
            List<Symbol_Custom> Custom_List = new List<Symbol_Custom>();
97
            ServiceDeepView.ServiceDeepViewClient client = new ServiceDeepView.ServiceDeepViewClient(App._binding, App._EndPoint);
98
            var symbol_Private = client.GetSymbolList(App.ViewInfo.UserID);
96
            List<Symbol_Custom> Custom_List = new List<Symbol_Custom>();           
97
            
98
            var symbol_Private = ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.GetSymbolList(App.ViewInfo.UserID);
99 99
            foreach (var item in symbol_Private)
100 100
            {
101 101
                Custom.Name = item.NAME;
......
109 109
            Custom = new Symbol_Custom();
110 110
            Custom_List = new List<Symbol_Custom>();
111 111

  
112
            deptlist.ItemsSource = client.GetPublicSymbolDeptList();
112
            deptlist.ItemsSource = ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.GetPublicSymbolDeptList();
113 113

  
114 114
            List<SYMBOL_PUBLIC> symbol_Public;
115 115

  
116 116

  
117 117
            if (deptlist.SelectedValue != null)
118 118
            {
119
                symbol_Public = client.GetPublicSymbolList(deptlist.SelectedValue.ToString());
119
                symbol_Public = ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.GetPublicSymbolList(deptlist.SelectedValue.ToString());
120 120
            }
121 121
            else
122 122
            {
123
                symbol_Public = client.GetPublicSymbolList(null);
123
                symbol_Public = ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.GetPublicSymbolList(null);
124 124
            }
125 125
            foreach (var item in symbol_Public)
126 126
            {
......
130 130
                Custom_List.Add(Custom);
131 131
                Custom = new Symbol_Custom();
132 132
            }
133
            lstSymbolPublic.ItemsSource = Custom_List;
134
            client.Close();
133
            lstSymbolPublic.ItemsSource = Custom_List;            
135 134
        }
136 135

  
137 136
        public PngBitmapEncoder symImage(string data)

내보내기 Unified diff

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