edgexfoundry rulesengine 实战例子

非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"
        }]
    },
    "action": {

猜你喜欢

转载自blog.csdn.net/leslie_chung88/article/details/93722273
今日推荐