פרקי הקורס
הדרכה · מסלול 6. מעבר ל-Holarch · פרק 6.2 מתוך 5
6.2 דרישות מ-Excel ומ-CSV 2:32
מייבאים גיליון דרישות כמסמך, עם ההיררכיה, התוויות והמאפיינים שלו.
מציג את Holarch 2.21.
מה תלמדו
- להכין גיליון עם שורת כותרת, מספרי מתאר ועמודת Class
- לייבא גיליון ולבדוק את שדה ה-Holarch של כל עמודה בשלב המיפוי
- ליצור מסמך דרישות מהשורות המיובאות
- לבדוק שההיררכיה, התוויות והסטטוס הגיעו מהקובץ
מייבאים את מעקב הדרישות של Plant Inspection Drone מ-Excel: מכינים את הגיליון, מגדירים את הייבוא כמסמך דרישות, בודקים איך כל עמודה ממופה לשדה, למאפיין או לתווית, מציגים תצוגה מקדימה, שומרים ורואים במודל את ההיררכיה הממוספרת, התוויות והסטטוסים.
קובצי פרויקט
- פרויקט התחלה (.holarch.json; ניהול פרויקטים ← קובצי פרויקט ▾ ← ייבוא פרויקט (.json)…)
- פרויקט גמור (.holarch.json; ניהול פרויקטים ← קובצי פרויקט ▾ ← ייבוא פרויקט (.json)…)
הסרטון מוצג מ-holarch.app; ראו את מדיניות הפרטיות.
תרגול
עשו זאת בעצמכם ב-Holarch, על פרויקט ההדגמה CubeSat EO-1.
- פותחים את פרויקט ההדגמה EO-1 (אם אין לכם, יוצרים אותו: ניהול פרויקטים ← קובצי פרויקט ▾ ← פרויקט הדגמה חדש ← CubeSat (הנדסת מערכות מודרכת)). במסד הנתונים מחפשים
class:Requirement, לוחצים על ייצוא…, בוחרים טבלה (CSV), מסמנים סטטוס ו-עדיפות (משאירים את תוויות מסומן) ולוחצים על ייצוא. - פותחים את הקובץ ביישום גיליונות אלקטרוניים. משאירים את הכותרת ואת השורות של סעיפים 1 ו-2, ומוסיפים שתי שורות בראש:
1, Mission Imaging, ClassStatement, וכן2, Attitude Determination and Control, ClassStatement. שומרים כ-.xlsx או כ-.csv. - בניהול פרויקטים לוחצים על + פרויקט חדש, נותנים לו את השם
EO-1 Import Practiceולוחצים על יצירת פרויקט. - פותחים את צרכים ודרישות ← ייבוא וייצוא, משחררים את הקובץ, לוחצים על המשך ובודקים את שדה Holarch של כל עמודה (כל עמודה שלא רוצים מגדירים ל-דילוג).
- לוחצים על המשך, משאירים את יצירת מסמך מ-N הפריטים האלה מסומן ולוחצים על ייבוא N פריטים.
- במסמך החדש בודקים ש-1.6.1 ו-1.6.2 נמצאים תחת 1.6, ובוחרים את 1.5 כדי לראות את התוויות והסטטוס שלה.
סיימתם כשהמסמך החדש מציג את סעיפים 1 ו-2 עם הדרישות שלהם מקוננות לפי מספר, והתוויות והסטטוסים שלמים.
בדיקה עצמית
- איך Holarch בונה מחדש את ההיררכיה של שורות הגיליון?
- חלק מהשורות נכנסו עם מחלקה שגויה. למה?
- רוצים לעדכן את הבעלים של 50 דרישות קיימות מגיליון, בלי ליצור עותקים. איך?
הצגת התשובות
איך Holarch בונה מחדש את ההיררכיה של שורות הגיליון?
מעמודת “מזהה שורת ההורה” או “מספר ההורה” אם מופו, ואחרת ממספר המתאר: 1.2 נכנס תחת 1. אם ההורה חסר, משתמשים באב הקדמון הקיים הקרוב ביותר.
חלק מהשורות נכנסו עם מחלקה שגויה. למה?
עמודת Class עם שמות שהסכמה לא מכירה חוזרת אל “מחלקה לשורות ללא מחלקה”, עם אזהרה. יש להשתמש בשמות המחלקות מעורך הסכמה.
רוצים לעדכן את הבעלים של 50 דרישות קיימות מגיליון, בלי ליצור עותקים. איך?
מייצאים אותן עם עמודת ה-ID, עורכים את הקובץ ומייבאים אותו כשעמודת ה-ID ממופה ל“מזהה גלובלי” ו“התאמת ישויות קיימות לפי” מוגדר ל“מזהה גלובלי”. שלב הסקירה מציג אותן אז תחת “פריטים שעודכנו”.
קריאה נוספת
תמליל
הצגת התמליל (הקריינות ומה שמוצג על המסך)
Introduction
Chapter two: requirements from Excel and CSV. Spreadsheets are where most requirements live before a model exists, and they come in with their hierarchy and their columns intact.
We import the Plant Inspection Drone's requirements tracker into the project from the last chapter.
Prepare the spreadsheet
Here is the tracker. It has a header row, and outline numbers that give the hierarchy: 1, then 1.1 and 1.2 under it. A Class column says which rows are section headings and which are requirements, and further columns hold labels, priority and status.
On screen: The spreadsheet.
Choose the file
Open Needs and Requirements, then Import and Export. One page takes every format: Excel, CSV, Word, ReqIF and more. Holarch detects the format from the file.
On screen: Needs & Requirements → Import and Export: one page for every format.
Drop the file on the drop zone. Holarch reads it, and reports how many rows and columns it found.
On screen: Drop the file → Analyzed.
Map the columns
Click Continue. Map lists each column, its sample values, and the Holarch field it goes to. Columns whose titles match a field or an attribute are mapped already: Number, Name and Description, Class, Labels, and the Priority and Status attributes.
On screen: Continue → Map.
Check every column before you go on. A column you do not want is set to Skip, and a field with no home in the schema can become a new attribute.
On screen: The mapping table.
Review and import
Click Continue to review. Holarch offers to make the rows a requirements document, and lists each new item before anything is created.
On screen: Continue → Review.
Click Import. The whole import is one undo step, so if something looks wrong, Command Z takes it all back.
On screen: Import 12 items → the new document opens.
With no warnings, the new document opens at once. The outline has the three sections from the sheet, and the requirements are numbered under them, just as they were in the tracker.
On screen: The imported document.
Check the result
Select a requirement. Its labels and its status came in from the sheet's columns, so the model already knows which requirements are in review and which are performance requirements.
On screen: Select 1.1 → inspector: Labels, then Workflow (Status).
Recap
Let's recap. You prepared the spreadsheet, imported it as a requirements document, checked the column mapping, reviewed and imported it, and found its hierarchy, labels and statuses in the model.
Next, a Word specification and a supplier's ReqIF file.