恭喜,你发布的帖子
发布于 2025-01-07 11:32:46
4楼
直接比较两个系统变量,就可以判断是否为服务器了
@ServerName与@LocalMachineName
是的,正解。
解决代码:
if (HMIRuntime.Tag("@ServerName").Read() = HMIRuntime.Tag("@LocalMachineName").Read()) Then
End if
请填写推广理由:
分享
只看
楼主