-
Notifications
You must be signed in to change notification settings - Fork 5
/
component-model.conf
99 lines (77 loc) · 2.16 KB
/
component-model.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
subsystem = TEST
component = env.ctrl
title = "Environmental Control Assembly (env.ctrl)"
componentType = Assembly
//This describes the interface to the Environmental Control Assembly *(env.ctrl)*.
description = """
Here is an example using LaTeX math: $`\frac{d}{dx}\left( \int_{0}^{x} f(u)\,du\right)=f(x)`$.
And here is another: $`[x^n + y^n = z^n]`$.
This is a math block:
```math
$$\idotsint_V \mu(u_1,\dots,u_k) \,du_1 \dots du_k$$
```
and another:
```math
\frac{n!}{k!(n-k)!} = \binom{n}{k}
```
and a matrix:
```math
A_{m,n} =
\begin{pmatrix}
a_{1,1} & a_{1,2} & \cdots & a_{1,n} \\
a_{2,1} & a_{2,2} & \cdots & a_{2,n} \\
\vdots & \vdots & \ddots & \vdots \\
a_{m,1} & a_{m,2} & \cdots & a_{m,n}
\end{pmatrix}
```
And here is an example of UML markup using [PlantUML](https://plantuml.com/):
```uml
autonumber "<b>[000]"
Bob -> Alice : Authentication Request
Bob <- Alice : Authentication Response
autonumber 15 "<b>(<u>##</u>)"
Bob -> Alice : Another authentication Request
Bob <- Alice : Another authentication Response
autonumber 40 10 "<font color=red><b>Message 0 "
Bob -> Alice : Yet another authentication Request
Bob <- Alice : Yet another authentication Response
```
and another UML diagram:
```uml
[*] -> State1
State1 --> State2 : Succeeded
State1 --> [*] : Aborted
State2 --> State3 : Succeeded
State2 --> [*] : Aborted
state State3 {
state "Accumulate Enough Data" as long1
long1 : Just a test
[*] --> long1
long1 --> long1 : New Data
long1 --> ProcessData : Enough Data
State2 --> [H]: Resume
}
State3 --> State2 : Pause
State2 --> State3[H*]: DeepResume
State3 --> State3 : Failed
State3 --> [*] : Succeeded / Save Result
State3 --> [*] : Aborted
```
and a small one:
```uml
Bob -[#red]> Alice : hello
Alice -[#0000FF]->Bob : ok
```
Note that according to https://plantuml.com/dot you can also use Graphviz/Dot diagrams instead of UML:
```uml
digraph foo {
node [style=rounded]
node1 [shape=box]
node2 [fillcolor=yellow, style="rounded,filled", shape=diamond]
node3 [shape=record, label="{ a | b | c }"]
node1 -> node2 -> node3
}
```
"""
modelVersion = "2.0" // version of model in use for component
wbsId = TMT.AO.TEST