Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ InTouch HMI

恢复引用

  • Last UpdatedSep 24, 2024
  • 1 minute read

<1>如果 NewAccess 参数为空</1><2>(</2><3>即没有指定的值</3><4>),</4><5>则 IOSetRemoteReferences() 会将活动的</5><6>“</6><7>访问名</7><8>”</8><9>恢复为原始的基本</9><10>“</10><11>访问名</11><12>”。</12>

如果 MatchString 参数为空(即没有指定的值),则 IOSetRemoteReferences() 会将活动的“项目名”恢复为原始“项目名”。

注意:即便 SubstituteString 不为空,但如果 MatchString 为空,则项目名也会恢复为原始项目名。在名称的开头插入文本是不允许的。例如,运行脚本 IOSetRemoteReferences("Access1", "", "","Valve",0); 时,并不会在任何原始“项目名”的开头或结尾附加字符串 Valve。

如果 SubstituteString 为空<1>(</1>即没有指定任何值<2>),</2>IOSetRemoteReferences() 会将活动的<3>“</3>项目名<4>”</4>恢复为原始的基本<5>“</5>项目名<6>”。</6> 通过使用非空的 MatchString 与空的 SubstituteString,可以根据指定的原始基本访问名选择一部分远程引用,并恢复它们的原始“项目名”。