개정판 eb5cdefc
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