71 lines
1.8 KiB
JSON
71 lines
1.8 KiB
JSON
|
|
{
|
||
|
|
"exp_flag": true,
|
||
|
|
"tags": {},
|
||
|
|
"datasource": {
|
||
|
|
"type": "data",
|
||
|
|
"label": "数据来源",
|
||
|
|
"value": "1",
|
||
|
|
"value_type": "string"
|
||
|
|
},
|
||
|
|
"trigger": {
|
||
|
|
"type": "interval",
|
||
|
|
"label": "执行周期ms",
|
||
|
|
"value": "50",
|
||
|
|
"value_type": "string"
|
||
|
|
},
|
||
|
|
"before_exec": "0",
|
||
|
|
"function": {
|
||
|
|
"pre_result": {
|
||
|
|
"type": "exp",
|
||
|
|
"label": "执行前置条件",
|
||
|
|
"value": "tag1>0",
|
||
|
|
"value_type": "bool"
|
||
|
|
},
|
||
|
|
"filter_exp": {
|
||
|
|
"type": "exp",
|
||
|
|
"label": "数据筛选",
|
||
|
|
"value": "tag1>0",
|
||
|
|
"value_type": "bool"
|
||
|
|
},
|
||
|
|
"result": {
|
||
|
|
"type": "exp",
|
||
|
|
"label": "超限结果",
|
||
|
|
"value": "1",
|
||
|
|
"value_type": "double",
|
||
|
|
"param": {
|
||
|
|
"unit": {
|
||
|
|
"type": "input",
|
||
|
|
"label": "单位",
|
||
|
|
"value": "℃",
|
||
|
|
"value_type": "string"
|
||
|
|
},
|
||
|
|
"limit_warn": {
|
||
|
|
"type": "input",
|
||
|
|
"label": "警告:限幅",
|
||
|
|
"value": "10",
|
||
|
|
"value_type": "double"
|
||
|
|
},
|
||
|
|
"limit_error": {
|
||
|
|
"type": "input",
|
||
|
|
"label": "报警:限幅",
|
||
|
|
"value": "20",
|
||
|
|
"value_type": "double"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"output": {
|
||
|
|
"reason": {
|
||
|
|
"type": "input",
|
||
|
|
"label": "报警原因",
|
||
|
|
"value": "数据超限",
|
||
|
|
"value_type": "string"
|
||
|
|
},
|
||
|
|
"error": {
|
||
|
|
"type": "input",
|
||
|
|
"label": "报警内容",
|
||
|
|
"value": "数据超限幅",
|
||
|
|
"value_type": "string"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|