ATML1671Reader.controls.TestConfigurationControl.AddUutDocumentReference C# (CSharp) Méthode

AddUutDocumentReference() private méthode

private AddUutDocumentReference ( UUTDescription uut ) : void
uut ATMLModelLibrary.model.uut.UUTDescription
Résultat void
        private void AddUutDocumentReference(UUTDescription uut)
        {
            var docRef = new DocumentReference();
            var document = DocumentManager.GetDocument(uut.uuid);
            docRef.ID = "UUT" + uutListControl.Items.Count+1;
            docRef.uuid = uut.uuid;
            docRef.DocumentType = document.DocumentType;
            docRef.DocumentContent = document.DocumentContent;
            docRef.ContentType = document.ContentType;
            docRef.DocumentName = document.name;
            var idr = new ItemDescriptionReference {Item = docRef};
            uutListControl.AddListViewObject( idr );
        }

Same methods

TestConfigurationControl::AddUutDocumentReference ( ItemDescriptionReference idr ) : void