File tree Expand file tree Collapse file tree
dsl/patterns/hardware-system Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ workspace extends https://docs.structurizr.com/dsl/patterns/workspace.dsl {
2+
3+ model {
4+ archetypes {
5+ hardwareSystem = element {
6+ metadata "Hardware System"
7+ }
8+ }
9+
10+ ss = softwareSystem "Name"
11+ camera = hardwareSystem "Camera"
12+
13+ ss -> camera "Sends control signals to"
14+ }
15+
16+ views {
17+ systemContext ss "SystemContext" {
18+ include *
19+ }
20+ }
21+
22+ }
Original file line number Diff line number Diff line change 1+ ---
2+ layout : default
3+ title : Hardware system
4+ parent : Pattern catalog
5+ grand_parent : DSL
6+ permalink : /dsl/patterns/hardware-system/
7+ ---
8+
9+ # Hardware system
10+
11+ - You need to model a hardware system, such as a camera/robot/device that your software controls.
12+ - Model the hardware system as a [ custom element] ( /dsl/cookbook/custom-elements ) , using an archetype if required.
13+
14+ [ ![ ] ( example-1.png )] ( https://playground.structurizr.com?src=https://docs.structurizr.com/dsl/patterns/hardware-system/example-1.dsl )
You can’t perform that action at this time.
0 commit comments