프로젝트

일반

사용자정보

개정판 e49e1de9

IDe49e1de9358d3d4c7aa8ea85f6226bd218985903
상위 04c6def2
하위 b29f7bd5

gaqhf 이(가) 약 5년 전에 추가함

dev issue #1226 : end converter form

Change-Id: Ic0264cac9d5e46c9348bd0a49aa18d3f83baa52a

차이점 보기:

DTI_PID/APIDConverter/Form/APIDConverter.cs
172 172
            foreach (int rowHandle in gridViewConverter.GetSelectedRows())
173 173
            {
174 174
                string _FilePath = gridViewConverter.GetRowCellDisplayText(rowHandle, "colDrawingFilePath");
175
                string _ID = gridViewConverter.GetRowCellValue(rowHandle, "colTemplate").ToString();
176
                string _TemplateName = gridViewConverter.GetRowCellDisplayText(rowHandle, "colTemplate");
177
                string _DrawingNumber = gridViewConverter.GetRowCellDisplayText(rowHandle, "colDrawingNumber");
178
                string _SheetNumber = gridViewConverter.GetRowCellDisplayText(rowHandle, "colSheetNumber");
175 179

  
176 180
                DataRow[] rows = tDrawing.Select(string.Format("NAME = '{0}'", Path.GetFileNameWithoutExtension(_FilePath) + ".png"));
177 181
                if (rows.Length != 1)
......
179 183

  
180 184
                Document document = _DicDocuments[_FilePath];
181 185
                document.UID = rows[0]["UID"].ToString();
186
                document.AvevaDrawingNumber = _DrawingNumber;
187
                document.AvevaSheetNumber = _SheetNumber;
188
                document.AvevaTemplateID = _ID;
189
                document.AvevaTemplateName = _TemplateName;
182 190
                Documents.Add(document);
183 191
            }
184 192

  

내보내기 Unified diff

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