非VIP请到原文地址阅读:http://www.discuz.edgexfoundry.net/ 生成一个规则
postman工具提交数据
post application/json to http://localhost:48075/api/v1/rule
{
"name": "motortoofastsignal", "condition": {
"device": "GS1-VariableSpeedMotor01", "checks": [{
"parameter": "RPM", "operand1": "Integer.parseInt(value)", "operation": ">", "operand2": "2" }] }, |