कोर्स के अध्याय
प्रशिक्षण · ट्रैक 1. शुरुआत · 8 में से अध्याय 1.2
1.2 आपका पहला प्रोजेक्ट 5:43
एक प्रोजेक्ट बनाएं, जानें कि क्लास क्या हैं, और पहले आइटम जोड़ें।
Holarch 2.41 दिखाता है।
आप क्या सीखेंगे
- प्रोजेक्ट प्रबंधित करें से नाम और विवरण के साथ एक प्रोजेक्ट बनाएं
- किसी ज़रूरत, बाधा, आवश्यकता, फ़ंक्शन और भाग के लिए सही LML क्लास चुनें
- + नया आइटम से आइटम बनाएं और उन्हें नंबर और लेबल दें
- तालिका में किसी आइटम को संपादित करें और बदलाव को पूर्ववत और फिर से करें
पूरे कोर्स में उपयोग होने वाला Bike-Share Dock प्रोजेक्ट बनाएं, जानें कि किसी आइटम की क्लास का क्या अर्थ है, और डेटाबेस में पहली हितधारक ज़रूरतें, लेबल वाली एक बाधा, एक आवश्यकता, एक फ़ंक्शन और सिस्टम जोड़ें; तालिका में संपादित करें और पूर्ववत करें।
प्रोजेक्ट फ़ाइलें
- पूरा किया गया प्रोजेक्ट (.holarch.json; प्रोजेक्ट प्रबंधित करें → प्रोजेक्ट फ़ाइलें ▾ → प्रोजेक्ट आयात करें (.json)…)
वीडियो holarch.app से चलता है; गोपनीयता नीति देखें।
अभ्यास
इसे Holarch में CubeSat EO-1 डेमो प्रोजेक्ट पर स्वयं करें।
- अपना EO-1 डेमो प्रोजेक्ट खोलें (या उसे बनाएं: प्रोजेक्ट प्रबंधित करें → प्रोजेक्ट फ़ाइलें ▾ → नया डेमो प्रोजेक्ट → CubeSat (गाइडेड सिस्टम्स इंजीनियरिंग))।
- रेल के नीचे डेटाबेस पर क्लिक करें, फिर + नया आइटम। क्लास Statement चुनें, उसका नाम
Field Boundary Overlaysऔर नंबरN4रखें, ज़रूरत का वर्णन करें (कृषि विशेषज्ञ हर वनस्पति मानचित्र पर खेतों की सीमाएं बनी हुई चाहते हैं) और बनाएं पर क्लिक करें। - एक दूसरा Statement बनाएं,
Rideshare Mass Limit, नंबरC1, जो कहता है कि स्पेसक्राफ़्ट डिस्पेंसर की द्रव्यमान सीमा से अधिक नहीं होना चाहिए। इंस्पेक्टर में + लेबल पर क्लिक करें और बाधा चुनें। - एक Requirement
Field Boundary Layerबनाएं, नंबर6.6, shall कथन के रूप में लिखी हुई, और जांचें कि उसकी स्थिति ड्राफ़्ट है। फिर एक ActionOverlay Field Boundariesबनाएं, नंबरF12। - तालिका में N4 के विवरण पर डबल-क्लिक करें, एक शब्द बदलें और Enter दबाएं। उसे पूर्ववत करने के लिए ⌘Z / Ctrl+Z और फिर से करने के लिए ⇧⌘Z / Ctrl+Shift+Z दबाएं।
- ज़रूरतें और बाधाएं एक साथ देखने के लिए + फ़िल्टर पर क्लिक करें और क्लास Statement चुनें।
आपका काम तब पूरा है जब Statement फ़िल्टर N1 से N4 और C1 सूचीबद्ध करता है, C1 पर Constraint लेबल है, और 6.6 Field Boundary Layer की स्थिति ड्राफ़्ट दिखती है।
स्वयं जांचें
- आइटम बनाते समय क्लास क्यों मायने रखती है?
- एक हितधारक कहता है कि ऑपरेटरों को घर से पास की योजना बनाने में सक्षम होना चाहिए। यह Statement है या Requirement?
- यदि क्लास पहले से बताती है कि आइटम क्या है, तो लेबल किसलिए है?
उत्तर दिखाएं
आइटम बनाते समय क्लास क्यों मायने रखती है?
क्लास तय करती है कि आइटम की कौन-से एट्रिब्यूट और संबंध हो सकते हैं। Holarch केवल वही लिंक देता है जो उसके लिए अर्थपूर्ण हों: एक एसेट किसी एक्शन को कर सकता है, एक जोखिम नहीं।
एक हितधारक कहता है कि ऑपरेटरों को घर से पास की योजना बनाने में सक्षम होना चाहिए। यह Statement है या Requirement?
एक Statement: यह हितधारक के शब्दों में एक ज़रूरत है। उसे औपचारिक रूप देने वाली आवश्यकताएं बाद में आती हैं और उस तक वापस ट्रेस होती हैं।
यदि क्लास पहले से बताती है कि आइटम क्या है, तो लेबल किसलिए है?
लेबल एक क्लास के आइटम को प्रकारों में बांटता है, जैसे Constraint लेबल वाला Statement, ताकि आप नई क्लास के बिना प्रकार के अनुसार फ़िल्टर और रिपोर्ट कर सकें।
और पढ़ें
ट्रांसक्रिप्ट
ट्रांसक्रिप्ट दिखाएं (नरेशन और स्क्रीन पर क्या है)
Introduction
Chapter two: your first project. You will create a project for a new system, learn what an item's class means, and add the model's first items.
This is the project the rest of the course builds on, so it is worth following along in your own account.
Create the project
In Manage Projects, click New Project. Name the project after the system. Our example for this course is a bike-share dock: a station on the street that holds, locks, charges and rents out bicycles.
On screen: + New Project → Bike-Share Dock.
Add a short description, so others know what the project covers. The folder is optional: it only groups projects in this list. Then click Create Project.
On screen: Description → Create Project.
The new project opens on Home. It is empty for now, so Next actions has one suggestion: write or import the first requirements.
On screen: Home of the new project.
Classes
Everything in a model is an item, which Holarch also calls an entity. Its class says what kind of thing it is. The classes come from the Lifecycle Modeling Language, L M L, and a few of them cover most of the work.
On screen: Concept card: the main classes.
The class decides which attributes and relationships an item can have. A requirement can be satisfied by an asset, and an asset can perform an action, but a risk cannot perform anything. Holarch only offers the links that make sense.
On screen: Concept card.
Create items
Open the Database at the bottom of the rail. In a new project, the table is empty.
On screen: Database (empty).
Click New Entity in the top bar. Choose the class first. Start with a Statement: a good model begins with what people need, before any requirement.
On screen: + New Entity → Statement.
Name it Find a Bike Nearby, number it N.1, and describe the need in the rider's own words. Then click Create.
On screen: Name, number, description → Create.
The new item is selected, and the inspector on the right shows it. Every field can be changed there later.
On screen: The inspector shows N.1.
Add the operator's need the same way: Return Bikes Without Staff, number N.2.
On screen: + New Entity → Statement N.2.
Constraints are statements too. Create one: the dock must fit on a standard sidewalk.
On screen: + New Entity → Statement C.1.
Labels and numbers
Then click Label in the inspector, and choose Constraint. Labels sort the items of one class into kinds, and you can filter and report by them.
On screen: Inspector → + Label → Constraint.
Now the first requirement. Choose the class Requirement, name it Unlock a Bike, number it 1.1, and write it as a shall statement.
On screen: + New Entity → Requirement 1.1.
New requirements start with the status Draft. As the team reviews them, the status moves to In Review and then Approved; a later chapter shows how.
On screen: Inspector → Attributes → Status.
Functions are Actions: what the system does. Create Rent a Bike, number F.1.
On screen: + New Entity → Action F.1.
Parts are Assets. Create the system itself, Bike-Share Dock, number S.0, and give it the label System.
On screen: + New Entity → Asset S.0, label System.
The other parts, functions and requirements are added the same way: the docking bays, the kiosk, the charging unit and the operator's back office; returning a bike, charging and payment; and two more requirements.
On screen: The rest entered off camera; the table fills.
Edit and undo
You can also edit right in the table. Double-click a number or a description, type, and press Enter.
On screen: Double-click the description of Charge Bikes → edit.
Every change is one undo step. Click Undo in the top bar, or press Command Z, and the old text is back. Redo brings the change back again.
On screen: Undo, then Redo.
To see one kind of item at a time, click Filter and choose a class. Here are the assets of the dock.
On screen: + Filter → Asset.
Recap
Let's recap. You created the Bike-Share Dock project, learned what classes are, and added needs, a constraint, a requirement, a function and the system, with numbers and labels, in the Database.
Next, you describe these items with attributes and connect them with relationships.