开关量状态变化触发条件

事件配置

需先配置t_db_connection表

                    



select A.objectname,A.propname,A.opentime,A.closetime,A.duration_sec,B.value from t_log_onoff_statustag A
left join t_log_onoff_datatag B on A.tagname=B.statustagname and A.opentime=B.changetime