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" ]
|
|
|
|
}
|
|
|
|
],
|
2015-06-06 00:15:02 +00:00
|
|
|
"capabilities": [
|
|
|
|
{
|
|
|
|
"key": "limit",
|
|
|
|
"implementation": "SinewaveLimitCapability.js"
|
|
|
|
}
|
|
|
|
],
|
2014-12-01 18:24:38 +00:00
|
|
|
"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": {
|
2015-06-09 16:31:22 +00:00
|
|
|
"source": "generator",
|
|
|
|
"domains": [
|
|
|
|
{
|
|
|
|
"key": "time",
|
|
|
|
"name": "Time"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"ranges": [
|
|
|
|
{
|
|
|
|
"key": "sin",
|
|
|
|
"name": "Sine"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "cos",
|
|
|
|
"name": "Cosine"
|
|
|
|
}
|
|
|
|
]
|
2014-12-01 18:24:38 +00:00
|
|
|
},
|
|
|
|
"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*)?$"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|