프로젝트

일반

사용자정보

개정판 eb5cdefc

IDeb5cdefc0621f77d06c1395e0ef19b9b0632032d
상위 22c025b3
하위 e7a49eb7, 5aaf27a2

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

issue #000 daelim merged

Change-Id: I7b584bc84d283ab0c9415fd0b7ddbea8362d60a3

차이점 보기:

KCOM/Services/BaseServices.cs
23 23
{
24 24
    public partial class MainMenu : UserControl, INotifyPropertyChanged
25 25
    {
26
        const string DeepZoomUrl = @"http://{baseUrl}/TileSource/{TileSourcePath}/{ItemsPath}/{SharepointItemID}/{PageNo}.jpg";
26
        //const string DeepZoomUrl = @"http://{baseUrl}/TileSource/{TileSourcePath}/{ItemsPath}/{SharepointItemID}/{PageNo}.jpg";
27 27
        public ServiceDeepViewClient BaseClient;
28 28
        public ViewInfo _ViewInfo;
29 29
        public DOCINFO _DocInfo;
......
218 218
                return;
219 219
            }
220 220

  
221
            var MainUrl = DeepZoomUrl.Replace("{baseUrl}", App.SystemInfo.HostName);
222
            MainUrl = MainUrl.Replace("{TileSourcePath}", _ViewInfo.ProjectNO + "_Tile");
223
            MainUrl = MainUrl.Replace("{ItemsPath}", (Convert.ToInt64(_ViewInfo.DocumentItemID) / 100).ToString());
224
            MainUrl = MainUrl.Replace("{SharepointItemID}", _ViewInfo.DocumentItemID);
225
            MainUrl = MainUrl.Replace(@"http://http://", @"http://");
226

  
221
            var MainUrl = string.Format(CommonLib.Common.GetConfigString("mainServerImageWebPath", "URL", "", App.isExternal).Replace("png","jpg"), _ViewInfo.ProjectNO, (Convert.ToUInt32(_ViewInfo.DocumentItemID) / 100).ToString(), _ViewInfo.DocumentItemID, "{PageNo}");
227 222
            _DocInfo = e.Result;
228 223
            _DocInfo.ORIGINAL_FILE = HttpUtility.UrlDecode(_DocInfo.ORIGINAL_FILE);
229 224
            foreach (var item in _DocInfo.DOCPAGE.OrderBy(order => order.PAGE_NUMBER))

내보내기 Unified diff

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