Holarch
فصول الدورة

التدريب · المسار 3. السلوك والمعمارية · الفصل 3.4 من 6

3.4 الواجهات 2:31

أعطِ كل واجهة حالة ومالكًا وسعة، وانقل العناصر عبرها، وصدّر وثيقة ICD.

يعرض Holarch 1.27.

→ 3.3 التخصيص · كل الفصول · 3.5 المحاكاة ←

ما ستتعلمه

  • اقرأ سجل الواجهات وصفِّه بحسب حالة الواجهة
  • اضبط حالة الواجهة ومالكها ووسطها وسعتها في لوحة الخصائص
  • أعطِ العنصر المنقول معدل بيانات واقرأ فحص السعة
  • صدّر وثيقة ICD لواجهة إلى Word وافتح مخطط I² لنظام

أدر واجهات Bike-Share Dock في سجل الواجهات: اضبط الحالة والمالك والسعة على وصلة البيانات الخلوية، وأعطِ العنصر الذي تحمله معدل بيانات، واقرأ فحص السعة، وصدّر وثيقة التحكم في الواجهة، وشاهد واجهات المحطة في مخطط I².

ملفات المشاريع

  • مشروع البداية (.holarch.json؛ إدارة المشاريع ← ملفات المشروع ▾ ← استيراد مشروع (.json)…)
  • المشروع المكتمل (.holarch.json؛ إدارة المشاريع ← ملفات المشروع ▾ ← استيراد مشروع (.json)…)

يُشغَّل الفيديو من holarch.app؛ راجع سياسة الخصوصية.

التطبيق العملي

نفّذ هذا بنفسك في Holarch، على المشروع التوضيحي CubeSat EO-1.

  1. افتح مشروع EO-1 التوضيحي الخاص بك، أو أنشئه: إدارة المشاريع ← ملفات المشروع ▾ ← مشروع توضيحي جديد ← CubeSat (هندسة أنظمة موجّهة).
  2. افتح الواجهات ← سجل الواجهات وانقر بطاقة Proposed. انقر الصف IF-14.1 Customer Portal.
  3. في لوحة الخصائص، اضبط حالة الواجهة على Agreed، والمالك على Ground Segment Lead، والوسط على HTTPS. وأبقِ السعة على 1000 Mbps.
  4. افتح الواجهات ← العناصر والمدخلات/المخرجات، وحدّد Image Product (العنصر الذي تنقله البوابة)، واضبط معدل البيانات على 50 ووحدات معدل البيانات على Mbps. وبالعودة إلى السجل، أشر إلى عمود السعة في IF-14.1 واقرأ نتيجة الفحص. وانقر ICD في صفه لتصدير وثيقة التحكم في الواجهة.
  5. حدّد 1 EO-1 Spacecraft في قاعدة البيانات واختر فتح في ▾ ← مخطط I2. واعثر على الخلية التي تحمل IF-01 Payload Power Line.
  6. لجولة مفحوصة خطوة بخطوة، شغّل البرنامج التعليمي 7 Interfaces (التعليمات ← البرامج التعليمية).

تنتهي حين تكون IF-14.1 بحالة Agreed مع ضبط المالك والوسط، ويقرأ فحص سعتها موافق، ويكون لديك ملف Word لوثيقة ICD.

اختبر نفسك

  1. كيف يقرر Holarch ما إذا كانت القناة قادرة على حمل عناصرها؟
  2. لماذا ينتمي معدل البيانات إلى العنصر لا إلى القناة؟
  3. ماذا تخبر حالة الواجهة، مثل Proposed أو Agreed، القارئ؟
  4. ماذا تحمل الخلية في مخطط I²؟
إظهار الإجابات
  1. كيف يقرر Holarch ما إذا كانت القناة قادرة على حمل عناصرها؟

    يجمع معدل البيانات (أو الحجم) لكل عنصر تنقله القناة، ويحوّل كلًّا منها إلى وحدات القناة، ويقارن المجموع بالسعة. والنتيجة موافق، أو تجاوز السعة، أو عدم تطابق الوحدات، أو لا سعة.

  2. لماذا ينتمي معدل البيانات إلى العنصر لا إلى القناة؟

    يصف المعدل ما يُحمل، ويمكن للعنصر نفسه أن ينتقل عبر عدة قنوات. ويجمع فحص كل قناة العناصر التي تحملها مقابل سعتها هي.

  3. ماذا تخبر حالة الواجهة، مثل Proposed أو Agreed، القارئ؟

    مدى ما وصل إليه الفريقان على الطرفين: Draft وProposed مكتوبتان لكن لم يقبلهما الطرفان بعد، وAgreed تعني أن الطرفين يقبلانها، وBaselined هي المرحلة النهائية. وتعدّ بطاقات السجل كل حالة.

  4. ماذا تحمل الخلية في مخطط I²؟

    القنوات بين الأصلين الابنين في صفها وعمودها: الصف هو طرف المنشأ والعمود هو الطرف الآخر.

قراءة المزيد

النص المكتوب

إظهار النص المكتوب (التعليق الصوتي وما يظهر على الشاشة)

Introduction

Welcome back. The dock's parts connect through interfaces: a power cable, a data link. This chapter manages them.

You will work in the Interface Register, the list of every interface in the project.

The register

Open Interfaces, then Interface Register. Each conduit from Getting Started is a row: the cellular data link between the kiosk and the back office, and the power cable from the power supply to the charging unit. Neither has a status yet.

On screen: Interfaces → Interface Register.

Status, owner and capacity

Select the cellular data link. In the inspector, set its interface status to Proposed: the kiosk team has written it down, and the back office team has not agreed to it yet. Its owner is the back office team.

On screen: Cellular Data Link → Interface Status: Proposed; Owner.

Give it a capacity: sixty-four kilobits per second, and set its medium to cellular LTE.

On screen: Capacity 64, Units kbit/s, Medium.

Items it carries

Now say what the link carries. The unlock code from Rent a Bike travels from the back office to the kiosk over this link. In its Trace section, show all relations, and under transfers, link Unlock Code.

On screen: Trace → Show all relations → transfers + → Link existing… → Unlock Code.

For the capacity check, the item needs a data rate. Select Unlock Code in the Database and set its data rate: two kilobits per second.

On screen: Database → Unlock Code → Data Rate 2 kbit/s.

The capacity check

Back in the register, the row counts the item it carries, and the capacity check says OK: two kilobits per second on a link of sixty-four. If the items ever carried more than the link can, the check would turn red.

On screen: Register → capacity check.

ICD and I²

The interface control document is one click away. ICD exports this interface as a Word document for the other team, generated from the model, so it agrees with the design.

On screen: ICD → Word export.

For the whole dock, open the I squared diagram. Select the Bike-Share Dock in the Database, choose Open in, then I2 Diagram. The parts sit on the diagonal, and each cell between two parts holds the interfaces that join them.

On screen: Database → S.0 → Open in ▾ → I2 Diagram.

Recap

Let's recap. You read the register, gave an interface a status, an owner and a capacity, related the item it carries, let the capacity check compare them, exported the ICD, and opened the I squared diagram.

Next, you put numbers on Rent a Bike, and simulate it.