mirror of
https://github.com/nasa/openmct.git
synced 2025-01-31 08:25:31 +00:00
parent
3c325b8870
commit
96f738b6b6
@ -40,20 +40,38 @@ which are initiated from templated DOM elements. AngularJS acts as
|
|||||||
an intermediary between the web page as the user sees it, and the
|
an intermediary between the web page as the user sees it, and the
|
||||||
presentation layer implemented as Open MCT Web extensions.
|
presentation layer implemented as Open MCT Web extensions.
|
||||||
|
|
||||||
|
```nomnoml
|
||||||
|
[Presentation Layer|
|
||||||
|
[Angular built-ins|
|
||||||
|
[routes]
|
||||||
|
[controllers]
|
||||||
|
[directives]
|
||||||
|
]
|
||||||
|
[Domain object representation|
|
||||||
|
[views]
|
||||||
|
[representations]
|
||||||
|
[representers]
|
||||||
|
[gestures]
|
||||||
|
]
|
||||||
|
]
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
# Information Model
|
# Information Model
|
||||||
|
|
||||||
```nomnoml
|
```nomnoml
|
||||||
#direction: right
|
#direction: right
|
||||||
[DomainObject|
|
[Information Model|
|
||||||
getId() : string
|
[DomainObject|
|
||||||
getModel() : object
|
getId() : string
|
||||||
getCapability(key : string) : Capability
|
getModel() : object
|
||||||
hasCapability(key : string) : boolean
|
getCapability(key : string) : Capability
|
||||||
useCapability(key : string, args...) : *
|
hasCapability(key : string) : boolean
|
||||||
|
useCapability(key : string, args...) : *
|
||||||
|
]
|
||||||
|
[DomainObject] 1 +- 1 [Model]
|
||||||
|
[DomainObject] 1 o- * [Capability]
|
||||||
]
|
]
|
||||||
[DomainObject] 1 +- 1 [Model]
|
|
||||||
[DomainObject] 1 o- * [Capability]
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Domain objects are the most fundamental component of Open MCT Web's
|
Domain objects are the most fundamental component of Open MCT Web's
|
||||||
@ -137,6 +155,28 @@ worrying about the details of composite services or implementing a new
|
|||||||
remains useful when the expressive power of individual extensions is
|
remains useful when the expressive power of individual extensions is
|
||||||
insufficient.
|
insufficient.
|
||||||
|
|
||||||
|
```nomnoml
|
||||||
|
[ Service Infrastructure |
|
||||||
|
[ObjectService]->[ModelService]
|
||||||
|
[ModelService]->[PersistenceService]
|
||||||
|
[ObjectService]->[CapabilityService]
|
||||||
|
[CapabilityService]->[capabilities]
|
||||||
|
[capabilities]->[TelemetryService]
|
||||||
|
[capabilities]->[PersistenceService]
|
||||||
|
[capabilities]->[TypeService]
|
||||||
|
[capabilities]->[ActionService]
|
||||||
|
[capabilities]->[ViewService]
|
||||||
|
[PersistenceService]->[<database> Document store]
|
||||||
|
[TelemetryService]->[<input> Data source]
|
||||||
|
[ActionService]->[actions]
|
||||||
|
[ActionService]->[PolicyService]
|
||||||
|
[ViewService]->[PolicyService]
|
||||||
|
[ViewService]->[views]
|
||||||
|
[PolicyService]->[policies]
|
||||||
|
[TypeService]->[types]
|
||||||
|
]
|
||||||
|
```
|
||||||
|
|
||||||
## Object Service
|
## Object Service
|
||||||
|
|
||||||
```nomnoml
|
```nomnoml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user