恭喜,你发布的帖子
发布于 2023-06-20 13:32:45
1楼
全局脚本,定义保存变量,触发变量为tag,保存变量为tag_sav(wincc内部变量),
全局脚本:
dim mytag(2)
mytag(0)=hmiruntime.tags("tag").read(博图中是smarttag)
mytag(1)=hmiruntime.tags("tag_sav").read
if mytag(0) and not mytag(1) then
需要写数据库的脚本
end if
hmiruntime.tags("tag_sav").write mytag(0)
请填写推广理由:
分享
只看
楼主