Esempio n. 1
0
        private async void LoadIwpSignoff(int iwpID)
        {
            await _workflow.GetFIWPDocDrawingsByFIWP(iwpID, Login.UserAccount.CurProjectID);
            DocumentDrawingDTO = _workflow.GetFIWPDocDrawings();

            ShowImage(imgcount);
        }
Esempio n. 2
0
        //GetFIWPDocDrawingsByFIWP 수정
        public DocumentAndDrawing GetIWPDocDrawingsByIWP(int fiwpId, int projectId, string disciplineCode, string path)
        {
            DocumentAndDrawing document = new DocumentAndDrawing();

            List<DocumentDTO> resultFIWPs = (new Assemble()).GetDocumentByFIWPDocType("", fiwpId, projectId, disciplineCode, path);
            //linq없이 모두 넘기고 ui에서 직접 처리함
            document.documents = resultFIWPs;

            //Drawing Add (SPCollectionName.Drawing)
            document.drawings = GetAllDrawingByIWP(fiwpId, path);

            //todo: 아랫부분 확인후 추가작업해야됨
            ////WFP Add (SPCollectionName.ProjectDoc)
            //document.WFP = resultFIWPs.Where(x => x.DocumentTypeLUID == DocType.WorkfacePlanning || x.DocumentTypeLUID == DocType.WorkfacePlanning1 || x.DocumentTypeLUID == DocType.WorkfacePlanning2).ToList();

            ////QAQC Add (SPCollectionName.QAQC)
            //document.QAQC = resultFIWPs.Where(x => x.DocumentTypeLUID == DocType.QC).ToList();

            ////Safetydocument Add (SPCollectionName.SafetyDoc)
            //document.SafetyDoc = resultFIWPs.Where(x => x.DocumentTypeLUID == DocType.SafteyDoc).ToList();

            ////RFI Add (SPCollectionName.RFIDoc)
            //document.RFIDoc = resultFIWPs.Where(x => x.DocumentTypeLUID == DocType.RFIDoc).ToList();
            //todo: 아랫부분 확인후 추가작업해야됨 end

            return document;
        }