개정판 ff01c725
issue #1187: 설치 파일 for SNI
Change-Id: If9472fac917642303f5a53438a6e8d0c19e82db2
KCOM/Services/BaseServices.cs | ||
---|---|---|
218 | 218 |
return; |
219 | 219 |
} |
220 | 220 |
|
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}"); |
|
221 |
string sFolder = _ViewInfo.DocumentItemID.All(char.IsDigit) ? (Convert.ToUInt32(_ViewInfo.DocumentItemID) / 100).ToString() : (_ViewInfo.DocumentItemID.Length >= 5 ? _ViewInfo.DocumentItemID.Substring(0, 5) : _ViewInfo.DocumentItemID); |
|
222 |
var MainUrl = string.Format(CommonLib.Common.GetConfigString("mainServerImageWebPath", "URL", "", App.isExternal).Replace("png","jpg"), _ViewInfo.ProjectNO, sFolder, _ViewInfo.DocumentItemID, "{PageNo}"); |
|
222 | 223 |
_DocInfo = e.Result; |
223 | 224 |
_DocInfo.ORIGINAL_FILE = HttpUtility.UrlDecode(_DocInfo.ORIGINAL_FILE); |
224 | 225 |
foreach (var item in _DocInfo.DOCPAGE.OrderBy(order => order.PAGE_NUMBER)) |
... | ... | |
682 | 683 |
|
683 | 684 |
public void SetView(ViewInfo info) |
684 | 685 |
{ |
685 |
string docid = BaseClient.GetDocItemID(info.EnsembleID);
|
|
686 |
//string docid = info.EnsembleID;//BaseClient.GetDocItemID(info.EnsembleID);
|
|
686 | 687 |
this._ViewInfo = info; |
687 |
if (!string.IsNullOrEmpty(docid)) |
|
688 |
{ |
|
689 |
this._ViewInfo.DocumentItemID = docid; |
|
690 |
} |
|
688 |
//if (!string.IsNullOrEmpty(docid))
|
|
689 |
//{
|
|
690 |
// this._ViewInfo.DocumentItemID = docid;
|
|
691 |
//}
|
|
691 | 692 |
Logger.sendReqLog("GetSystemDataAsync", "", 1); |
692 | 693 |
BaseClient.GetSystemDataAsync(); |
693 | 694 |
} |
내보내기 Unified diff