프로젝트

일반

사용자정보

개정판 315ae55e

ID315ae55e259a299616a763b71beb73583a710fcb
상위 927e0240
하위 47b95004

김태성이(가) 약 5년 전에 추가함

UniqueColorGenerator.cs 추가
색상 자동 설정 수정

Change-Id: I7de4657758710c88f9d4b8bb30e53429cf1f76d1

차이점 보기:

KCOM/Services/BaseServices.cs
408 408
                if (currentUser == null)
409 409
                {
410 410
                    /// create a new markupinfo to do comments
411
                    var infoId = Commons.shortGuid();
412
                    PreviewUserMarkupInfoItem = new MarkupInfoItem
413
                    {
414
                        CreateTime = DateTime.Now,
415
                        UpdateTime = DateTime.Now,
416
                        Depatment = userData.DEPARTMENT,
417
                        DisplayColor = "#FFFF0000",
418
                        UserID = userData.ID,
419
                        UserName = userData.NAME,
420
                        PageCount = 1,
421
                        Description = "",
422
                        MarkupInfoID = infoId,
423
                        MarkupList = null,
424
                        MarkupVersionID = Commons.shortGuid(),
425
                        Consolidate = 0,
426
                        PartConsolidate = 0,
427
                        userDelete = true,
428
                        AvoidConsolidate = 0,
429
                        IsPreviewUser = false
430
                    };
431

  
432
                    App.Custom_ViewInfoId = infoId;
433

  
434
                    ViewerDataModel.Instance._markupInfoList.Insert(0, PreviewUserMarkupInfoItem);
411
                    //var infoId = Commons.shortGuid();
412
                    //PreviewUserMarkupInfoItem = new MarkupInfoItem
413
                    //{
414
                    //    CreateTime = DateTime.Now,
415
                    //    UpdateTime = DateTime.Now,
416
                    //    Depatment = userData.DEPARTMENT,
417
                    //    DisplayColor = "#FFFF0000",
418
                    //    UserID = userData.ID,
419
                    //    UserName = userData.NAME,
420
                    //    PageCount = 1,
421
                    //    Description = "",
422
                    //    MarkupInfoID = infoId,
423
                    //    MarkupList = null,
424
                    //    MarkupVersionID = Commons.shortGuid(),
425
                    //    Consolidate = 0,
426
                    //    PartConsolidate = 0,
427
                    //    userDelete = true,
428
                    //    AvoidConsolidate = 0,
429
                    //    IsPreviewUser = false
430
                    //};
431

  
432
                    //App.Custom_ViewInfoId = infoId;
433

  
434
                    //ViewerDataModel.Instance._markupInfoList.Insert(0, PreviewUserMarkupInfoItem);
435 435
                }
436 436
                else
437 437
                {

내보내기 Unified diff

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