eis/TestProject/pyml/test.json

168 lines
4.6 KiB
JSON

{'RULEID': '067ac053-3ec6-44a5-a182-1c2535cd9b70',
0: '067ac053-3ec6-44a5-a182-1c2535cd9b70', 'RULEGROUP': 'DPS',
1: 'DPS', 'ALGID': '9',
2: '9', 'FLAG': '1',
3: '1', 'RULENAME': '',
4: '', 'RULEPARAM': '{
"exp_flag": true,
"tags": {
"tag1": {
"type": "data",
"label": "tag1",
"value": "DPS_A03_2F_310_02_M_VAB_voltage",
"value_type": "auto"
},
"tag2": {
"type": "data",
"label": "tag2",
"value": "DPS_A03_2F_309_02_M_VCA_voltage",
"value_type": "auto"
},
"tag3": {
"type": "data",
"label": "tag3",
"value": "DPS_A03_2F_308_02_M_VBC_voltage",
"value_type": "auto"
}
},
"datasource": {
"type": "const",
"label": "数据来源",
"value": "0",
"value_type": "string"
},
"trigger": {
"type": "interval",
"label": "执行周期ms",
"value": "50000",
"value_type": "string"
},
"function": {
"result": {
"type": "input",
"label": "检测条件",
"value": "tag1",
"value_type": "bool",
"param": {
"limit_over": {
"type": "input",
"label": "超均值百分比",
"value": "30",
"value_type": "double"
}
}
}
},
"output": {
"reason": {
"type": "input",
"label": "报警原因",
"value": "电压异常",
"value_type": "string"
},
"error": {
"type": "input",
"label": "报警内容",
"value": "超阈值",
"value_type": "string"
}
},
"before_exec": "0"
}',
5: '{
"exp_flag": true,
"tags": {
"tag1": {
"type": "data",
"label": "tag1",
"value": "DPS_A03_2F_310_02_M_VAB_voltage",
"value_type": "auto"
},
"tag2": {
"type": "data",
"label": "tag2",
"value": "DPS_A03_2F_309_02_M_VCA_voltage",
"value_type": "auto"
},
"tag3": {
"type": "data",
"label": "tag3",
"value": "DPS_A03_2F_308_02_M_VBC_voltage",
"value_type": "auto"
}
},
"datasource": {
"type": "const",
"label": "数据来源",
"value": "0",
"value_type": "string"
},
"trigger": {
"type": "interval",
"label": "执行周期ms",
"value": "50000",
"value_type": "string"
},
"function": {
"result": {
"type": "input",
"label": "检测条件",
"value": "tag1",
"value_type": "bool",
"param": {
"limit_over": {
"type": "input",
"label": "超均值百分比",
"value": "30",
"value_type": "double"
}
}
}
},
"output": {
"reason": {
"type": "input",
"label": "报警原因",
"value": "电压异常",
"value_type": "string"
},
"error": {
"type": "input",
"label": "报警内容",
"value": "超阈值",
"value_type": "string"
}
},
"before_exec": "0"
}', 'EQPID': 'A02',
6: 'A02', 'REMARK': None,
7: None, 'PADDINGUP': None,
8: None, 'PADDINGDOWN': None,
9: None, 'DEWEIGHT': '0.50',
10: '0.50', 'TOC': datetime.datetime(2024,
10,
31,
13,
48,
41),
11: datetime.datetime(2024,
10,
31,
13,
48,
41), 'TOM': datetime.datetime(2024,
10,
31,
13,
48,
41),
12: datetime.datetime(2024,
10,
31,
13,
48,
41), 'MOP': None,
13: None, 'MOU': None,
14: None, 'TASKSEQ': '0',
15: '0'
}