Capitoli del corso
Formazione · Percorso 3. Comportamento e architettura · Capitolo 3.4 di 6
3.4 Interfacce 2:31
Dare a ogni interfaccia uno stato, un proprietario e una capacità, farvi passare elementi ed esportare l’ICD.
Mostra Holarch 1.27.
Che cosa si impara
- Leggere il Registro delle interfacce e filtrarlo per stato dell’interfaccia
- Impostare stato, proprietario, mezzo e capacità di un’interfaccia nell’ispettore
- Dare una velocità dati a un elemento trasportato e leggere il controllo della capacità
- Esportare in Word l’ICD di un’interfaccia e aprire il Diagramma I² di un sistema
Gestire le interfacce della Bike-Share Dock nel Registro delle interfacce: impostare stato, proprietario e capacità sul collegamento dati cellulare, dare una velocità dati all’elemento che trasporta, leggere il controllo della capacità, esportare il documento di controllo dell’interfaccia e vedere le interfacce della stazione nel diagramma I².
File di progetto
- Progetto iniziale (.holarch.json; Gestisci progetti → File di progetto ▾ → Importa progetto (.json)…)
- Progetto completato (.holarch.json; Gestisci progetti → File di progetto ▾ → Importa progetto (.json)…)
Il video viene riprodotto da holarch.app; vedere l’Informativa sulla privacy.
Esercitazione
Provare in prima persona in Holarch, sul progetto demo CubeSat EO-1.
- Aprire il proprio progetto demo EO-1, oppure crearlo: Gestisci progetti → File di progetto ▾ → Nuovo progetto demo → CubeSat (ingegneria dei sistemi guidata).
- Aprire Interfacce → Registro delle interfacce e fare clic sulla scheda Proposta. Fare clic sulla riga IF-14.1 Customer Portal.
- Nell’ispettore, impostare Stato dell’interfaccia su Concordata, Proprietario su
Ground Segment Leade Mezzo suHTTPS. Mantenere la sua Capacità di 1000 Mbps. - Aprire Interfacce → Elementi e I/O, selezionare Image Product (l’elemento che il portale trasferisce) e impostare Velocità dati su
50e Unità della velocità dati suMbps. Tornati nel registro, puntare sulla colonna Capacità di IF-14.1 e leggere il controllo. Fare clic su ICD nella sua riga per esportare il documento di controllo dell’interfaccia. - Selezionare 1 EO-1 Spacecraft nel Database e scegliere Apri in ▾ → Diagramma I2. Trovare la cella che contiene IF-01 Payload Power Line.
- Per una procedura guidata con verifica, eseguire il tutorial 7 Interfacce (Guida → Tutorial).
L’esercizio è completato quando IF-14.1 è Concordata con Proprietario e Mezzo impostati, il suo controllo della capacità indica OK e si dispone del file Word dell’ICD.
Verifica
- Come decide Holarch se un conduit può trasportare i suoi elementi?
- Perché la velocità dati appartiene all’elemento e non al conduit?
- Che cosa dice a un lettore uno stato dell’interfaccia come Proposta o Concordata?
- Che cosa contiene una cella del Diagramma I²?
Mostra le risposte
Come decide Holarch se un conduit può trasportare i suoi elementi?
Somma la Velocità dati (o la Dimensione) di ogni elemento che il conduit trasferisce, converte ciascuna nelle unità del conduit e confronta il totale con la Capacità. Il risultato è OK, Oltre la capacità, Unità non corrispondenti o Nessuna capacità.
Perché la velocità dati appartiene all’elemento e non al conduit?
La velocità descrive ciò che viene trasportato, e lo stesso elemento può viaggiare su più conduit. Il controllo di ogni conduit somma gli elementi che trasporta rispetto alla propria capacità.
Che cosa dice a un lettore uno stato dell’interfaccia come Proposta o Concordata?
A che punto sono arrivati i team alle due estremità: Bozza e Proposta sono messe per iscritto ma non ancora accettate da entrambe le parti, Concordata significa che entrambe la accettano, e In baseline è la fase finale. Le schede del registro contano ogni stato.
Che cosa contiene una cella del Diagramma I²?
I conduit tra i due asset figli della sua riga e della sua colonna: la riga è l’estremità di origine e la colonna l’altra estremità.
Per saperne di più
Trascrizione
Mostra la trascrizione (narrazione e contenuto dello schermo)
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.