프로젝트

일반

사용자정보

개정판 498f0fc9

ID498f0fc993eab391483c935c80b75d2bbb6f0c56
상위 ffcc8124
하위 69db7b26, 224f1503

이지연이(가) 약 6년 전에 추가함

issue #771 Public Symbol Place, Register, Rename, Remove 추가

차이점 보기:

KCOM/Connected Services/ServiceDeepView/Reference.cs
27 27
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOMDataModel.DataModel.MEMBER))]
28 28
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOMDataModel.DataModel.SIGN_INFO))]
29 29
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOMDataModel.DataModel.SYMBOL_PRIVATE))]
30
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOMDataModel.DataModel.SYMBOL_PUBLIC))]
30 31
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOMDataModel.DataModel.CHECK_LIST_HISTORY))]
31 32
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOMDataModel.DataModel.CHECK_LIST))]
32
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOMDataModel.DataModel.SYMBOL_PUBLIC))]
33 33
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOMDataModel.DataModel.TALK))]
34 34
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOMDataModel.DataModel.FAVORITE_DOC))]
35 35
    public partial class StructuralObject : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
......
70 70
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOMDataModel.DataModel.MEMBER))]
71 71
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOMDataModel.DataModel.SIGN_INFO))]
72 72
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOMDataModel.DataModel.SYMBOL_PRIVATE))]
73
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOMDataModel.DataModel.SYMBOL_PUBLIC))]
73 74
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOMDataModel.DataModel.CHECK_LIST_HISTORY))]
74 75
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOMDataModel.DataModel.CHECK_LIST))]
75
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOMDataModel.DataModel.SYMBOL_PUBLIC))]
76 76
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOMDataModel.DataModel.TALK))]
77 77
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOMDataModel.DataModel.FAVORITE_DOC))]
78 78
    public partial class EntityObject : KCOM.ServiceDeepView.StructuralObject {
......
216 216
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOMDataModel.DataModel.SIGN_INFO))]
217 217
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.List<KCOMDataModel.DataModel.MEMBER>))]
218 218
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOMDataModel.DataModel.SYMBOL_PRIVATE))]
219
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOMDataModel.DataModel.SYMBOL_PUBLIC))]
219 220
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOMDataModel.DataModel.CHECK_LIST_HISTORY))]
220 221
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOMDataModel.DataModel.CHECK_LIST))]
221 222
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.List<KCOMDataModel.DataModel.CHECK_LIST>))]
222 223
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.List<KCOMDataModel.DataModel.CHECK_LIST_HISTORY>))]
223 224
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.List<KCOMDataModel.DataModel.SYMBOL_PRIVATE>))]
224 225
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.List<KCOMDataModel.DataModel.SYMBOL_PUBLIC>))]
225
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOMDataModel.DataModel.SYMBOL_PUBLIC))]
226 226
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.List<KCOMDataModel.DataModel.DOCUMENT_ITEM>))]
227 227
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(KCOMDataModel.DataModel.TALK))]
228 228
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.List<KCOMDataModel.DataModel.TALK>))]
......
662 662
        
663 663
        bool EndSaveSymbol(System.IAsyncResult result);
664 664
        
665
        [System.ServiceModel.OperationContractAttribute(Action="urn:ServiceDeepView/AddPublicSymbol", ReplyAction="urn:ServiceDeepView/AddPublicSymbolResponse")]
666
        bool AddPublicSymbol(KCOMDataModel.DataModel.SYMBOL_PUBLIC symbol);
667
        
668
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="urn:ServiceDeepView/AddPublicSymbol", ReplyAction="urn:ServiceDeepView/AddPublicSymbolResponse")]
669
        System.IAsyncResult BeginAddPublicSymbol(KCOMDataModel.DataModel.SYMBOL_PUBLIC symbol, System.AsyncCallback callback, object asyncState);
670
        
671
        bool EndAddPublicSymbol(System.IAsyncResult result);
672
        
665 673
        [System.ServiceModel.OperationContractAttribute(Action="urn:ServiceDeepView/DeleteSymbol", ReplyAction="urn:ServiceDeepView/DeleteSymbolResponse")]
666
        bool DeleteSymbol(string symbol_id);
674
        bool DeleteSymbol(string symbol_id, int type);
667 675
        
668 676
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="urn:ServiceDeepView/DeleteSymbol", ReplyAction="urn:ServiceDeepView/DeleteSymbolResponse")]
669
        System.IAsyncResult BeginDeleteSymbol(string symbol_id, System.AsyncCallback callback, object asyncState);
677
        System.IAsyncResult BeginDeleteSymbol(string symbol_id, int type, System.AsyncCallback callback, object asyncState);
670 678
        
671 679
        bool EndDeleteSymbol(System.IAsyncResult result);
672 680
        
673 681
        [System.ServiceModel.OperationContractAttribute(Action="urn:ServiceDeepView/RenameSymbol", ReplyAction="urn:ServiceDeepView/RenameSymbolResponse")]
674
        bool RenameSymbol(string symbol_id, string name);
682
        bool RenameSymbol(string symbol_id, string name, int type);
675 683
        
676 684
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="urn:ServiceDeepView/RenameSymbol", ReplyAction="urn:ServiceDeepView/RenameSymbolResponse")]
677
        System.IAsyncResult BeginRenameSymbol(string symbol_id, string name, System.AsyncCallback callback, object asyncState);
685
        System.IAsyncResult BeginRenameSymbol(string symbol_id, string name, int type, System.AsyncCallback callback, object asyncState);
678 686
        
679 687
        bool EndRenameSymbol(System.IAsyncResult result);
680 688
        
......
1313 1321
    
1314 1322
    [System.Diagnostics.DebuggerStepThroughAttribute()]
1315 1323
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
1324
    public partial class AddPublicSymbolCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
1325
        
1326
        private object[] results;
1327
        
1328
        public AddPublicSymbolCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
1329
                base(exception, cancelled, userState) {
1330
            this.results = results;
1331
        }
1332
        
1333
        public bool Result {
1334
            get {
1335
                base.RaiseExceptionIfNecessary();
1336
                return ((bool)(this.results[0]));
1337
            }
1338
        }
1339
    }
1340
    
1341
    [System.Diagnostics.DebuggerStepThroughAttribute()]
1342
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
1316 1343
    public partial class DeleteSymbolCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
1317 1344
        
1318 1345
        private object[] results;
......
2062 2089
        
2063 2090
        private System.Threading.SendOrPostCallback onSaveSymbolCompletedDelegate;
2064 2091
        
2092
        private BeginOperationDelegate onBeginAddPublicSymbolDelegate;
2093
        
2094
        private EndOperationDelegate onEndAddPublicSymbolDelegate;
2095
        
2096
        private System.Threading.SendOrPostCallback onAddPublicSymbolCompletedDelegate;
2097
        
2065 2098
        private BeginOperationDelegate onBeginDeleteSymbolDelegate;
2066 2099
        
2067 2100
        private EndOperationDelegate onEndDeleteSymbolDelegate;
......
2319 2352
        
2320 2353
        public event System.EventHandler<SaveSymbolCompletedEventArgs> SaveSymbolCompleted;
2321 2354
        
2355
        public event System.EventHandler<AddPublicSymbolCompletedEventArgs> AddPublicSymbolCompleted;
2356
        
2322 2357
        public event System.EventHandler<DeleteSymbolCompletedEventArgs> DeleteSymbolCompleted;
2323 2358
        
2324 2359
        public event System.EventHandler<RenameSymbolCompletedEventArgs> RenameSymbolCompleted;
......
3457 3492
                        symbol_private}, this.onEndSaveSymbolDelegate, this.onSaveSymbolCompletedDelegate, userState);
3458 3493
        }
3459 3494
        
3460
        public bool DeleteSymbol(string symbol_id) {
3461
            return base.Channel.DeleteSymbol(symbol_id);
3495
        public bool AddPublicSymbol(KCOMDataModel.DataModel.SYMBOL_PUBLIC symbol) {
3496
            return base.Channel.AddPublicSymbol(symbol);
3497
        }
3498
        
3499
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
3500
        public System.IAsyncResult BeginAddPublicSymbol(KCOMDataModel.DataModel.SYMBOL_PUBLIC symbol, System.AsyncCallback callback, object asyncState) {
3501
            return base.Channel.BeginAddPublicSymbol(symbol, callback, asyncState);
3502
        }
3503
        
3504
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
3505
        public bool EndAddPublicSymbol(System.IAsyncResult result) {
3506
            return base.Channel.EndAddPublicSymbol(result);
3507
        }
3508
        
3509
        private System.IAsyncResult OnBeginAddPublicSymbol(object[] inValues, System.AsyncCallback callback, object asyncState) {
3510
            KCOMDataModel.DataModel.SYMBOL_PUBLIC symbol = ((KCOMDataModel.DataModel.SYMBOL_PUBLIC)(inValues[0]));
3511
            return this.BeginAddPublicSymbol(symbol, callback, asyncState);
3512
        }
3513
        
3514
        private object[] OnEndAddPublicSymbol(System.IAsyncResult result) {
3515
            bool retVal = this.EndAddPublicSymbol(result);
3516
            return new object[] {
3517
                    retVal};
3518
        }
3519
        
3520
        private void OnAddPublicSymbolCompleted(object state) {
3521
            if ((this.AddPublicSymbolCompleted != null)) {
3522
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
3523
                this.AddPublicSymbolCompleted(this, new AddPublicSymbolCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
3524
            }
3525
        }
3526
        
3527
        public void AddPublicSymbolAsync(KCOMDataModel.DataModel.SYMBOL_PUBLIC symbol) {
3528
            this.AddPublicSymbolAsync(symbol, null);
3529
        }
3530
        
3531
        public void AddPublicSymbolAsync(KCOMDataModel.DataModel.SYMBOL_PUBLIC symbol, object userState) {
3532
            if ((this.onBeginAddPublicSymbolDelegate == null)) {
3533
                this.onBeginAddPublicSymbolDelegate = new BeginOperationDelegate(this.OnBeginAddPublicSymbol);
3534
            }
3535
            if ((this.onEndAddPublicSymbolDelegate == null)) {
3536
                this.onEndAddPublicSymbolDelegate = new EndOperationDelegate(this.OnEndAddPublicSymbol);
3537
            }
3538
            if ((this.onAddPublicSymbolCompletedDelegate == null)) {
3539
                this.onAddPublicSymbolCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnAddPublicSymbolCompleted);
3540
            }
3541
            base.InvokeAsync(this.onBeginAddPublicSymbolDelegate, new object[] {
3542
                        symbol}, this.onEndAddPublicSymbolDelegate, this.onAddPublicSymbolCompletedDelegate, userState);
3543
        }
3544
        
3545
        public bool DeleteSymbol(string symbol_id, int type) {
3546
            return base.Channel.DeleteSymbol(symbol_id, type);
3462 3547
        }
3463 3548
        
3464 3549
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
3465
        public System.IAsyncResult BeginDeleteSymbol(string symbol_id, System.AsyncCallback callback, object asyncState) {
3466
            return base.Channel.BeginDeleteSymbol(symbol_id, callback, asyncState);
3550
        public System.IAsyncResult BeginDeleteSymbol(string symbol_id, int type, System.AsyncCallback callback, object asyncState) {
3551
            return base.Channel.BeginDeleteSymbol(symbol_id, type, callback, asyncState);
3467 3552
        }
3468 3553
        
3469 3554
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
......
3473 3558
        
3474 3559
        private System.IAsyncResult OnBeginDeleteSymbol(object[] inValues, System.AsyncCallback callback, object asyncState) {
3475 3560
            string symbol_id = ((string)(inValues[0]));
3476
            return this.BeginDeleteSymbol(symbol_id, callback, asyncState);
3561
            int type = ((int)(inValues[1]));
3562
            return this.BeginDeleteSymbol(symbol_id, type, callback, asyncState);
3477 3563
        }
3478 3564
        
3479 3565
        private object[] OnEndDeleteSymbol(System.IAsyncResult result) {
......
3489 3575
            }
3490 3576
        }
3491 3577
        
3492
        public void DeleteSymbolAsync(string symbol_id) {
3493
            this.DeleteSymbolAsync(symbol_id, null);
3578
        public void DeleteSymbolAsync(string symbol_id, int type) {
3579
            this.DeleteSymbolAsync(symbol_id, type, null);
3494 3580
        }
3495 3581
        
3496
        public void DeleteSymbolAsync(string symbol_id, object userState) {
3582
        public void DeleteSymbolAsync(string symbol_id, int type, object userState) {
3497 3583
            if ((this.onBeginDeleteSymbolDelegate == null)) {
3498 3584
                this.onBeginDeleteSymbolDelegate = new BeginOperationDelegate(this.OnBeginDeleteSymbol);
3499 3585
            }
......
3504 3590
                this.onDeleteSymbolCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDeleteSymbolCompleted);
3505 3591
            }
3506 3592
            base.InvokeAsync(this.onBeginDeleteSymbolDelegate, new object[] {
3507
                        symbol_id}, this.onEndDeleteSymbolDelegate, this.onDeleteSymbolCompletedDelegate, userState);
3593
                        symbol_id,
3594
                        type}, this.onEndDeleteSymbolDelegate, this.onDeleteSymbolCompletedDelegate, userState);
3508 3595
        }
3509 3596
        
3510
        public bool RenameSymbol(string symbol_id, string name) {
3511
            return base.Channel.RenameSymbol(symbol_id, name);
3597
        public bool RenameSymbol(string symbol_id, string name, int type) {
3598
            return base.Channel.RenameSymbol(symbol_id, name, type);
3512 3599
        }
3513 3600
        
3514 3601
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
3515
        public System.IAsyncResult BeginRenameSymbol(string symbol_id, string name, System.AsyncCallback callback, object asyncState) {
3516
            return base.Channel.BeginRenameSymbol(symbol_id, name, callback, asyncState);
3602
        public System.IAsyncResult BeginRenameSymbol(string symbol_id, string name, int type, System.AsyncCallback callback, object asyncState) {
3603
            return base.Channel.BeginRenameSymbol(symbol_id, name, type, callback, asyncState);
3517 3604
        }
3518 3605
        
3519 3606
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
......
3524 3611
        private System.IAsyncResult OnBeginRenameSymbol(object[] inValues, System.AsyncCallback callback, object asyncState) {
3525 3612
            string symbol_id = ((string)(inValues[0]));
3526 3613
            string name = ((string)(inValues[1]));
3527
            return this.BeginRenameSymbol(symbol_id, name, callback, asyncState);
3614
            int type = ((int)(inValues[2]));
3615
            return this.BeginRenameSymbol(symbol_id, name, type, callback, asyncState);
3528 3616
        }
3529 3617
        
3530 3618
        private object[] OnEndRenameSymbol(System.IAsyncResult result) {
......
3540 3628
            }
3541 3629
        }
3542 3630
        
3543
        public void RenameSymbolAsync(string symbol_id, string name) {
3544
            this.RenameSymbolAsync(symbol_id, name, null);
3631
        public void RenameSymbolAsync(string symbol_id, string name, int type) {
3632
            this.RenameSymbolAsync(symbol_id, name, type, null);
3545 3633
        }
3546 3634
        
3547
        public void RenameSymbolAsync(string symbol_id, string name, object userState) {
3635
        public void RenameSymbolAsync(string symbol_id, string name, int type, object userState) {
3548 3636
            if ((this.onBeginRenameSymbolDelegate == null)) {
3549 3637
                this.onBeginRenameSymbolDelegate = new BeginOperationDelegate(this.OnBeginRenameSymbol);
3550 3638
            }
......
3556 3644
            }
3557 3645
            base.InvokeAsync(this.onBeginRenameSymbolDelegate, new object[] {
3558 3646
                        symbol_id,
3559
                        name}, this.onEndRenameSymbolDelegate, this.onRenameSymbolCompletedDelegate, userState);
3647
                        name,
3648
                        type}, this.onEndRenameSymbolDelegate, this.onRenameSymbolCompletedDelegate, userState);
3560 3649
        }
3561 3650
        
3562 3651
        public bool AddCheckListHistory(string project_no, KCOMDataModel.DataModel.CHECK_LIST_HISTORY Check_History) {

내보내기 Unified diff

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