wincc vbs语言解释? sub onclick{byval item} V_Dis "main.画面窗口2:main01","1#阴床 反洗 进水阀 ",5, 1, "Anion_FJ2.",1 end sub *************************************************************************** Sub V_Dis(Byval Pic,Byval Name,Byval Num, Byval V_Num, Byval Prefix,Byval Mode) Dim a,b,c HMIRuntime.Tags("Dev_Num").Write Num HMIRuntime.Tags("Dev_V_Num").Write V_Num Set a = HMIRuntime.Screens(Pic).ScreenItems("阀窗口") a.CaptionText = Name a.TagPrefix = Prefix a.Visible = False a.Visible = True a.PictureName = "操作窗口-阀" c = Pic & ".阀窗口:操作窗口-阀" Set b = HMIRuntime.Screens(c).ScreenItems("Mode") If Mode = 1 Then b.Visible = True Else b.Visible = False End If End Sub希望大神能详细解释每一句,不胜感激 查看更多3个回答 . 4人已关注