Розділи курсів
Навчання · Курс 6. Перехід на Holarch · Розділ 6.1 з 5
6.1 Планування міграції 3:00
Вирішіть, куди в моделі йде кожен вид даних, перш ніж імпортувати їх.
Показано Holarch 2.21.
Що ви дізнаєтеся
- Зіставити кожен вид вихідних даних із класом, міткою, атрибутом чи зв’язком
- Перевірити схему проєкту на атрибути й мітки, потрібні для імпорту
- Додати атрибут для поля джерела, якому немає місця в схемі
- Знайти сторінку «Імпорт і експорт» і назвати її чотири кроки
Сплануйте перехід на Holarch: приклад Plant Inspection Drone і файли, які приносить його команда, як дані зіставляються з класами LML, мітками, атрибутами й зв’язками, де схема проєкту показує, що доступно, і що робить кожен імпорт.
Файли проєкту
- Готовий проєкт (.holarch.json; Керування проєктами → Файли проєкту ▾ → Імпортувати проєкт (.json)…)
Відео відтворюється з holarch.app; див. Політику конфіденційності.
Практика
Виконайте це самостійно в Holarch на демопроєкті CubeSat EO-1.
- Відкрийте свій демопроєкт EO-1 (якщо його немає, створіть: Керування проєктами → Файли проєкту ▾ → Новий демопроєкт → CubeSat (системна інженерія з посібником)).
- Відкрийте Налаштування → Схема на бічній панелі, натисніть Вимога у розділі Класи і перелічіть атрибути, які могла б заповнити таблиця вимог (наприклад, Priority, Owner, Verification Method).
- Відкрийте сторінку схеми Мітки і знайдіть, де зберігаються види, як-от Performance Requirement.
- Припустімо, трекер постачальника має стовпець
Supplier Ref, якому немає місця: у Вимога натисніть + Атрибут, назвіть йогоSupplier Ref, оберіть текстовий тип і натисніть Додати атрибут. - Відкрийте Потреби та вимоги → Імпорт і експорт і прочитайте, які формати приймає зона перетягування і що пропонує картка Експорт.
Завдання виконано, коли Supplier Ref стоїть останнім у списку атрибутів Requirement і ви можете сказати, куди потрапить кожен стовпець типового трекера.
Перевірте себе
- Чому варто вирішити, куди йде кожен вид даних, ще до імпорту?
- Для стовпця немає відповідного атрибута. Які у вас варіанти?
- Імпорт пройшов невдало. Як його скасувати?
- Коли використовувати Керування проєктами → Імпортувати проєкт (.json)… замість сторінки «Імпорт»?
Показати відповіді
Чому варто вирішити, куди йде кожен вид даних, ще до імпорту?
Дані, що потрапляють у правильні класи, мітки, атрибути й зв’язки, одразу працюють у простеженні, перевірках якості та звітах. Виправлення після імпорту означає редагування багатьох елементів вручну.
Для стовпця немає відповідного атрибута. Які у вас варіанти?
Додайте атрибут у «Налаштування → Схема» до імпорту або на кроці «Відповідність» зіставте стовпець із «Новий атрибут» (його буде додано до схеми).
Імпорт пройшов невдало. Як його скасувати?
Натисніть ⌘Z / Ctrl+Z один раз: імпорт зі сторінки «Імпорт» — це один крок відмінення.
Коли використовувати Керування проєктами → Імпортувати проєкт (.json)… замість сторінки «Імпорт»?
Щоб відновити цілий проєкт як новий, окремий проєкт. Сторінка «Імпорт» об’єднує елементи файлу з відкритим проєктом.
Докладніше
Стенограма
Показати стенограму (озвучення і те, що на екрані)
Introduction
Welcome to Migrating to Holarch. Most teams arrive with their data in other places: requirements in spreadsheets and Word documents, specifications from suppliers, and models in other tools. This track shows how each one comes in, and what to check afterwards.
This first chapter is about planning. A little thought about where each kind of data belongs saves a lot of clean-up later.
The example
Our example is the Plant Inspection Drone, a drone system that inspects tanks and pipe racks inside a process plant. Its team brings four files.
On screen: The example card.
Map your data
Before importing, decide where each kind of data goes. Rows of a requirements list become Requirements. Section headings become Statements that hold them. Parts and systems become Assets, and functions become Actions.
On screen: Mapping card: classes.
Types such as functional or performance become labels. Fields such as status or rationale become attributes. And links such as satisfies, verified by or refines become relationships, so they can be traced later.
On screen: Mapping card: labels, attributes, relationships.
Check the schema
Create the project first. In Manage Projects, click New Project, name it Plant Inspection Drone, and click Create Project.
On screen: + New Project → Plant Inspection Drone → Create Project.
The project's schema lists every class with its attributes and labels. Open Settings at the bottom of the rail, then Schema.
On screen: Settings → Schema.
Select Requirement. Its attributes include the status, with the values Draft, In Review, Approved and Rejected. The usual kinds of requirement, such as Functional and Performance, are under Labels. If your data has a field with no home here, an owner can add an attribute or a label before the import.
On screen: Schema → Requirement → its attributes; then Labels.
One import page
All imports start on one page: Needs and Requirements, then Import and Export. Drop any file here: Word, Holarch project files, Excel and CSV, plain text, UML and SysML models, or ReqIF. Holarch detects the format from the file.
On screen: Needs & Requirements → Import and Export: the drop zone.
Each import takes four steps: File, Map, Review and Import. It gives the items new identities in your project, and the whole import is a single undo step, so you can try it and take it back. Content from files is cleaned of anything unsafe on the way in.
On screen: The Import steps.
Recap
Let's recap. You met the Plant Inspection Drone and its files, mapped their data to classes, labels, attributes and relationships, checked the schema, and found the Import and Export page.
Next, the requirements tracker comes in from Excel.