2014-12-01 18:24:38 +00:00
|
|
|
{
|
|
|
|
"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",
|
2015-01-22 00:17:37 +00:00
|
|
|
"features": "creation",
|
2014-12-01 18:24:38 +00:00
|
|
|
"model": {
|
|
|
|
"telemetry": {
|
|
|
|
"period": 10
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"telemetry": {
|
|
|
|
"source": "generator"
|
|
|
|
},
|
|
|
|
"properties": [
|
|
|
|
{
|
2014-12-04 00:21:00 +00:00
|
|
|
"name": "Period",
|
|
|
|
"control": "textfield",
|
2015-03-11 05:36:35 +00:00
|
|
|
"cssclass": "l-small l-numeric",
|
2014-12-01 18:24:38 +00:00
|
|
|
"key": "period",
|
|
|
|
"required": true,
|
|
|
|
"property": [ "telemetry", "period" ],
|
|
|
|
"pattern": "^\\d*(\\.\\d*)?$"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|