개정판 2c634aed
popup style 변경 & 프로젝트 정리
Change-Id: I708256b20df780f169e92b020919b436152a07c9
ConvertService/ServiceBase/Markus.Service.StationController/ViewModel/DataBaseItemsModel.cs | ||
---|---|---|
1 | 1 |
using Markus.Message; |
2 |
using Markus.Service.DataBase; |
|
3 | 2 |
using Markus.Service.Extensions; |
4 | 3 |
using Markus.Service.StationController.Data; |
5 | 4 |
using Markus.Service.StationController.Behaviors; |
... | ... | |
24 | 23 |
using System.Windows.Data; |
25 | 24 |
using System.Windows.Controls; |
26 | 25 |
using System.IO; |
26 |
using Newtonsoft.Json; |
|
27 | 27 |
|
28 | 28 |
namespace Markus.Service.StationController.ViewModel |
29 | 29 |
{ |
... | ... | |
1228 | 1228 |
{ |
1229 | 1229 |
string[] ConvertPath = new string[2]; |
1230 | 1230 |
ConvertPath[0] = GetConvertPath(PROJECT_NO, DOCUMENT_ID); |
1231 |
ConvertPath[1] = "kcom://" + Markus.Service.DataBase.Extensions.MarkusAPI.CreateMarkusParam(PROJECT_NO, DOCUMENT_ID, "doftech");
|
|
1231 |
ConvertPath[1] = "kcom://" + CreateMarkusParam(PROJECT_NO, DOCUMENT_ID, "doftech"); |
|
1232 | 1232 |
|
1233 | 1233 |
return ConvertPath; |
1234 | 1234 |
} |
... | ... | |
1271 | 1271 |
} |
1272 | 1272 |
} |
1273 | 1273 |
|
1274 |
public static string CreateMarkusParam(string projectNo, string documentID, string userID) |
|
1275 |
{ |
|
1276 |
ViewInfo viewInfo = new ViewInfo(); |
|
1277 |
|
|
1278 |
viewInfo.DocumentItemID = documentID; |
|
1279 |
viewInfo.ProjectNO = projectNo; |
|
1280 |
viewInfo.UserID = userID; |
|
1281 |
|
|
1282 |
return ParamEncoding(JsonConvert.SerializeObject(viewInfo)); |
|
1283 |
|
|
1284 |
} |
|
1285 |
|
|
1286 |
public static string ParamEncoding(string EncodingText, System.Text.Encoding oEncoding = null) |
|
1287 |
{ |
|
1288 |
|
|
1289 |
if (oEncoding == null) |
|
1290 |
oEncoding = System.Text.Encoding.UTF8; |
|
1291 |
|
|
1292 |
return Convert.ToBase64String(oEncoding.GetBytes(EncodingText)); |
|
1293 |
|
|
1294 |
} |
|
1295 |
|
|
1274 | 1296 |
#endregion |
1275 | 1297 |
|
1276 | 1298 |
#endregion |
내보내기 Unified diff