获取所有聚合类型或项属性ID
ID=getIDList(Obj)
ID=getIDList(Obj)
返回OPC HDA聚合类型或项属性对象中存储的所有IDObj
.
检索Matrikon提供的聚合类型的ID™ 模拟服务器。
hdaObj=opchda(“本地主机”,“Matrikon.OPC.Simulation”); 连接(hdaObj);allIDs=getIDList(hdaObj.Aggregates)
检索Matrikon仿真服务器提供的项目属性的ID。
hdaObj=opchda(“本地主机”,“Matrikon.OPC.Simulation”); 连接(hdaObj);allIDs=getIDList(hdaObj.ItemAttributes)