개정판 24678e06
issue #000: Add Commons.cs file
Change-Id: I14ae2a26673890b4be08a1c989faf570629ad3d1
KCOM/Controls/Symbol.xaml.cs | ||
---|---|---|
269 | 269 |
byte[] Img_byte = fs.ToArray(); |
270 | 270 |
|
271 | 271 |
kr.co.devdoftech.cloud.FileUpload fileUploader = new kr.co.devdoftech.cloud.FileUpload(); |
272 |
filename = fileUploader.Run(App.ViewInfo.ProjectNO, Common.ViewerDataModel.Instance.SystemMain.dzMainMenu._DocItem.DOCUMENT_NO, App.ViewInfo.UserID, SaveCommand.shortGuid() + ".png", Img_byte);
|
|
272 |
filename = fileUploader.Run(App.ViewInfo.ProjectNO, Common.ViewerDataModel.Instance.SystemMain.dzMainMenu._DocItem.DOCUMENT_NO, App.ViewInfo.UserID, Commons.shortGuid() + ".png", Img_byte);
|
|
273 | 273 |
Check_Uri.UriCheck(filename); |
274 | 274 |
if (RadTab.SelectedIndex == 0) |
275 | 275 |
{ |
... | ... | |
297 | 297 |
{ |
298 | 298 |
SYMBOL_PRIVATE symbol_private = new SYMBOL_PRIVATE |
299 | 299 |
{ |
300 |
ID = Events.SaveCommand.shortGuid(),
|
|
300 |
ID = Commons.shortGuid(),
|
|
301 | 301 |
MEMBER_USER_ID = App.ViewInfo.UserID, |
302 | 302 |
NAME = Name, |
303 | 303 |
IMAGE_URL = Url, |
... | ... | |
320 | 320 |
{ |
321 | 321 |
SYMBOL_PUBLIC symbol_public = new SYMBOL_PUBLIC |
322 | 322 |
{ |
323 |
ID = Events.SaveCommand.shortGuid(),
|
|
323 |
ID = Commons.shortGuid(),
|
|
324 | 324 |
DEPARTMENT = Department, |
325 | 325 |
NAME = Name, |
326 | 326 |
IMAGE_URL = Url, |
... | ... | |
442 | 442 |
if (parse != "") |
443 | 443 |
{ |
444 | 444 |
System.Windows.Controls.Control item = MarkupParser.ParseEx(App.ViewInfo.ProjectNO, parse, ViewerDataModel.Instance.MarkupControls_USER, string.Empty, string.Empty); |
445 |
(item as MarkupToPDF.Common.CommentUserInfo).CommentID = Events.SaveCommand.shortGuid();
|
|
445 |
(item as MarkupToPDF.Common.CommentUserInfo).CommentID = Commons.shortGuid();
|
|
446 | 446 |
(item as MarkupToPDF.Common.CommentUserInfo).SymbolID = id; |
447 | 447 |
(item as MarkupToPDF.Common.CommentUserInfo).GroupID = group_id; |
448 | 448 |
ViewerDataModel.Instance.MarkupControls.Remove(item as MarkupToPDF.Common.CommentUserInfo); |
... | ... | |
557 | 557 |
ViewerDataModel.Instance.UndoDataList.Add(UndoData); |
558 | 558 |
|
559 | 559 |
ViewerDataModel.Instance.MarkupControls_USER.Add(currentControl as MarkupToPDF.Common.CommentUserInfo); |
560 |
currentControl.CommentID = Events.SaveCommand.shortGuid();
|
|
560 |
currentControl.CommentID = Commons.shortGuid();
|
|
561 | 561 |
currentControl.SymbolID = id; |
562 | 562 |
currentControl.GroupID = group_id; |
563 | 563 |
currentControl.ApplyTemplate(); |
내보내기 Unified diff