openmct/example/generator/bundle.json
Victor Woeltjen b4679b9c6d [Create] Allow create of sine wave generators
Add the 'creation' feature to sine wave generators, so that
they appear in the Create menu after changes for WTD-705.
2015-01-21 16:17:37 -08:00

41 lines
1.2 KiB
JSON

{
"name": "Sine Wave Generator",
"description": "Example of a component that produces dataa.",
"extensions": {
"components": [
{
"implementation": "SinewaveTelemetryProvider.js",
"type": "provider",
"provides": "telemetryService",
"depends": [ "$q", "$timeout" ]
}
],
"types": [
{
"key": "generator",
"name": "Sine Wave Generator",
"glyph": "T",
"description": "A sine wave generator",
"features": "creation",
"model": {
"telemetry": {
"period": 10
}
},
"telemetry": {
"source": "generator"
},
"properties": [
{
"name": "Period",
"control": "textfield",
"key": "period",
"required": true,
"property": [ "telemetry", "period" ],
"pattern": "^\\d*(\\.\\d*)?$"
}
]
}
]
}
}