Holarch
فصول الدورة

التدريب · المسار 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.

  1. افتح مشروع EO-1 التوضيحي (إذا لم يكن لديك واحد، فأنشئه: إدارة المشاريع ← ملفات المشروع ▾ ← مشروع توضيحي جديد ← CubeSat (هندسة أنظمة موجّهة)). في قاعدة البيانات، ابحث عن class:Requirement، وانقر تصدير…، واختر جدول (CSV)، وحدد الحالة والأولوية (اترك التسميات محددة)، ثم انقر تصدير.
  2. افتح الملف في تطبيق جداول بيانات. أبقِ صف العناوين وصفوف القسمين 1 و2، ثم أضف صفين في الأعلى: 1، Mission Imaging، والفئة Statement، و2، Attitude Determination and Control، والفئة Statement. احفظه بصيغة .xlsx أو .csv.
  3. في إدارة المشاريع، انقر + مشروع جديد، وسمّه EO-1 Import Practice، ثم انقر إنشاء مشروع.
  4. افتح الاحتياجات والمتطلبات ← الاستيراد والتصدير، وأفلت الملف، وانقر متابعة، وتحقق من حقل Holarch لكل عمود (اضبط أي عمود لا تريده على تخطٍّ).
  5. انقر متابعة، واترك إنشاء مستند من هذه العناصر الـ N محددًا، ثم انقر استيراد N عنصر.
  6. في المستند الجديد، تحقق من أن 1.6.1 و1.6.2 تقعان تحت 1.6، وحدد 1.5 لترى تسمياته وحالته.

تكون قد انتهيت عندما يعرض المستند الجديد القسمين 1 و2 ومتطلباتهما متداخلة حسب الرقم، مع بقاء التسميات والحالات كما هي.

اختبر نفسك

  1. كيف يعيد Holarch بناء التسلسل الهرمي لصفوف جدول البيانات؟
  2. وصلت بعض الصفوف بفئة خاطئة. لماذا؟
  3. تريد تحديث مالكي 50 متطلبًا موجودًا من جدول بيانات، لا إنشاء نسخ. كيف؟
إظهار الإجابات
  1. كيف يعيد Holarch بناء التسلسل الهرمي لصفوف جدول البيانات؟

    من عمود «معرّف صف الأصل» أو «رقم الأصل» إذا رُبط، وإلا فمن رقم المخطط التفصيلي: يوضع 1.2 تحت 1. وإذا كان الأصل مفقودًا، يُستخدم أقرب سلف موجود.

  2. وصلت بعض الصفوف بفئة خاطئة. لماذا؟

    عمود Class بأسماء لا يعرفها المخطط الهيكلي يعود إلى «الفئة للصفوف التي بلا فئة»، مع تحذير. استخدم أسماء الفئات من محرر المخطط الهيكلي.

  3. تريد تحديث مالكي 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.