mirror of
https://github.com/nasa/openmct.git
synced 2024-12-19 05:07:52 +00:00
ae7dae011b
WTD-1304 github open18 New example generator; New temporary view: features/events; Updated scss and css;
45 lines
1.4 KiB
JSON
45 lines
1.4 KiB
JSON
{
|
|
"name": "Event Message Generator",
|
|
"description": "Example of a component that produces event data.",
|
|
"extensions": {
|
|
"components": [
|
|
{
|
|
"implementation": "EventTelemetryProvider.js",
|
|
"type": "provider",
|
|
"provides": "telemetryService",
|
|
"depends": [ "$q", "$timeout" ]
|
|
}
|
|
],
|
|
"types": [
|
|
{
|
|
"key": "eventGenerator",
|
|
"name": "Event Message Generator",
|
|
"glyph": "f",
|
|
"description": "An event message generator",
|
|
"features": "creation",
|
|
"model": {
|
|
"telemetry": {
|
|
"period": 10
|
|
}
|
|
},
|
|
"telemetry": {
|
|
"source": "eventGenerator",
|
|
"ranges": [
|
|
{ "format": "string" }
|
|
]
|
|
},
|
|
"properties": [
|
|
{
|
|
"name": "Period",
|
|
"control": "textfield",
|
|
"cssclass": "l-small l-numeric",
|
|
"key": "period",
|
|
"required": true,
|
|
"property": [ "telemetry", "period" ],
|
|
"pattern": "^\\d*(\\.\\d*)?$"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
} |