OpcUaHelper.xml 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496
  1. <?xml version="1.0"?>
  2. <doc>
  3. <assembly>
  4. <name>OpcUaHelper</name>
  5. </assembly>
  6. <members>
  7. <member name="T:OpcUaHelper.FormUtils">
  8. <summary>
  9. 辅助类
  10. </summary>
  11. </member>
  12. <member name="M:OpcUaHelper.FormUtils.GetAccessLevelDisplayText(System.Byte)">
  13. <summary>
  14. Gets the display text for the access level attribute.
  15. </summary>
  16. <param name="accessLevel">The access level.</param>
  17. <returns>The access level formatted as a string.</returns>
  18. </member>
  19. <member name="M:OpcUaHelper.FormUtils.GetEventNotifierDisplayText(System.Byte)">
  20. <summary>
  21. Gets the display text for the event notifier attribute.
  22. </summary>
  23. <param name="eventNotifier">The event notifier.</param>
  24. <returns>The event notifier formatted as a string.</returns>
  25. </member>
  26. <member name="M:OpcUaHelper.FormUtils.GetValueRankDisplayText(System.Int32)">
  27. <summary>
  28. Gets the display text for the value rank attribute.
  29. </summary>
  30. <param name="valueRank">The value rank.</param>
  31. <returns>The value rank formatted as a string.</returns>
  32. </member>
  33. <member name="M:OpcUaHelper.FormUtils.GetAttributeDisplayText(Opc.Ua.Client.Session,System.UInt32,Opc.Ua.Variant)">
  34. <summary>
  35. Gets the display text for the specified attribute.
  36. </summary>
  37. <param name="session">The currently active session.</param>
  38. <param name="attributeId">The id of the attribute.</param>
  39. <param name="value">The value of the attribute.</param>
  40. <returns>The attribute formatted as a string.</returns>
  41. </member>
  42. <member name="M:OpcUaHelper.FormUtils.DiscoverServers(Opc.Ua.ApplicationConfiguration)">
  43. <summary>
  44. Discovers the servers on the local machine.
  45. </summary>
  46. <param name="configuration">The configuration.</param>
  47. <returns>A list of server urls.</returns>
  48. </member>
  49. <member name="M:OpcUaHelper.FormUtils.SelectEndpoint(System.String,System.Boolean)">
  50. <summary>
  51. Finds the endpoint that best matches the current settings.
  52. </summary>
  53. <param name="discoveryUrl">The discovery URL.</param>
  54. <param name="useSecurity">if set to <c>true</c> select an endpoint that uses security.</param>
  55. <returns>The best available endpoint.</returns>
  56. </member>
  57. <member name="M:OpcUaHelper.FormUtils.Browse(Opc.Ua.Client.Session,Opc.Ua.BrowseDescriptionCollection,System.Boolean)">
  58. <summary>
  59. Browses the address space and returns the references found.
  60. </summary>
  61. <param name="session">The session.</param>
  62. <param name="nodesToBrowse">The set of browse operations to perform.</param>
  63. <param name="throwOnError">if set to <c>true</c> a exception will be thrown on an error.</param>
  64. <returns>
  65. The references found. Null if an error occurred.
  66. </returns>
  67. </member>
  68. <member name="M:OpcUaHelper.FormUtils.FindEventType(Opc.Ua.Client.MonitoredItem,Opc.Ua.EventFieldList)">
  69. <summary>
  70. Finds the type of the event for the notification.
  71. </summary>
  72. <param name="monitoredItem">The monitored item.</param>
  73. <param name="notification">The notification.</param>
  74. <returns>The NodeId of the EventType.</returns>
  75. </member>
  76. <member name="M:OpcUaHelper.FormUtils.Browse(Opc.Ua.Client.Session,Opc.Ua.BrowseDescription,System.Boolean)">
  77. <summary>
  78. Browses the address space and returns the references found.
  79. </summary>
  80. <param name="session">The session.</param>
  81. <param name="nodeToBrowse">The NodeId for the starting node.</param>
  82. <param name="throwOnError">if set to <c>true</c> a exception will be thrown on an error.</param>
  83. <returns>
  84. The references found. Null if an error occurred.
  85. </returns>
  86. </member>
  87. <member name="M:OpcUaHelper.FormUtils.BrowseSuperTypes(Opc.Ua.Client.Session,Opc.Ua.NodeId,System.Boolean)">
  88. <summary>
  89. Browses the address space and returns all of the supertypes of the specified type node.
  90. </summary>
  91. <param name="session">The session.</param>
  92. <param name="typeId">The NodeId for a type node in the address space.</param>
  93. <param name="throwOnError">if set to <c>true</c> a exception will be thrown on an error.</param>
  94. <returns>
  95. The references found. Null if an error occurred.
  96. </returns>
  97. </member>
  98. <member name="M:OpcUaHelper.FormUtils.ConstructEvent(Opc.Ua.Client.Session,Opc.Ua.Client.MonitoredItem,Opc.Ua.EventFieldList,System.Collections.Generic.Dictionary{Opc.Ua.NodeId,System.Type},System.Collections.Generic.Dictionary{Opc.Ua.NodeId,Opc.Ua.NodeId})">
  99. <summary>
  100. Constructs an event object from a notification.
  101. </summary>
  102. <param name="session">The session.</param>
  103. <param name="monitoredItem">The monitored item that produced the notification.</param>
  104. <param name="notification">The notification.</param>
  105. <param name="knownEventTypes">The known event types.</param>
  106. <param name="eventTypeMappings">Mapping between event types and known event types.</param>
  107. <returns>
  108. The event object. Null if the notification is not a valid event type.
  109. </returns>
  110. </member>
  111. <member name="M:OpcUaHelper.FormUtils.TranslateBrowsePaths(Opc.Ua.Client.Session,Opc.Ua.NodeId,Opc.Ua.NamespaceTable,System.String[])">
  112. <summary>
  113. Returns the node ids for a set of relative paths.
  114. </summary>
  115. <param name="session">An open session with the server to use.</param>
  116. <param name="startNodeId">The starting node for the relative paths.</param>
  117. <param name="namespacesUris">The namespace URIs referenced by the relative paths.</param>
  118. <param name="relativePaths">The relative paths.</param>
  119. <returns>A collection of local nodes.</returns>
  120. </member>
  121. <member name="M:OpcUaHelper.FormUtils.CollectFieldsForType(Opc.Ua.Client.Session,Opc.Ua.NodeId,Opc.Ua.SimpleAttributeOperandCollection,System.Collections.Generic.List{Opc.Ua.NodeId})">
  122. <summary>
  123. Collects the fields for the type.
  124. </summary>
  125. <param name="session">The session.</param>
  126. <param name="fields">The fields.</param>
  127. <param name="fieldNodeIds">The node id for the declaration of the field.</param>
  128. </member>
  129. <member name="M:OpcUaHelper.FormUtils.CollectFieldsForInstance(Opc.Ua.Client.Session,Opc.Ua.NodeId,Opc.Ua.SimpleAttributeOperandCollection,System.Collections.Generic.List{Opc.Ua.NodeId})">
  130. <summary>
  131. Collects the fields for the instance.
  132. </summary>
  133. <param name="session">The session.</param>
  134. <param name="fields">The fields.</param>
  135. <param name="instanceId">The node id for the declaration of the field.</param>
  136. </member>
  137. <member name="M:OpcUaHelper.FormUtils.CollectFields(Opc.Ua.Client.Session,Opc.Ua.NodeId,Opc.Ua.QualifiedNameCollection,Opc.Ua.SimpleAttributeOperandCollection,System.Collections.Generic.List{Opc.Ua.NodeId},System.Collections.Generic.Dictionary{Opc.Ua.NodeId,Opc.Ua.QualifiedNameCollection})">
  138. <summary>
  139. Collects the fields for the instance node.
  140. </summary>
  141. <param name="session">The session.</param>
  142. <param name="nodeId">The node id.</param>
  143. <param name="parentPath">The parent path.</param>
  144. <param name="fields">The event fields.</param>
  145. <param name="fieldNodeIds">The node id for the declaration of the field.</param>
  146. <param name="foundNodes">The table of found nodes.</param>
  147. </member>
  148. <member name="M:OpcUaHelper.FormUtils.ContainsPath(Opc.Ua.SimpleAttributeOperandCollection,Opc.Ua.QualifiedNameCollection)">
  149. <summary>
  150. Determines whether the specified select clause contains the browse path.
  151. </summary>
  152. <param name="selectClause">The select clause.</param>
  153. <param name="browsePath">The browse path.</param>
  154. <returns>
  155. <c>true</c> if the specified select clause contains path; otherwise, <c>false</c>.
  156. </returns>
  157. </member>
  158. <member name="T:OpcUaHelper.OpcUaClient">
  159. <summary>
  160. 一个二次封装了的OPC UA库,支持从opc ua服务器读写节点数据,批量读写,订阅,批量订阅,历史数据读取,方法调用操作。
  161. </summary>
  162. </member>
  163. <member name="M:OpcUaHelper.OpcUaClient.#ctor">
  164. <summary>
  165. 默认的构造函数,实例化一个新的OPC UA类
  166. </summary>
  167. </member>
  168. <member name="M:OpcUaHelper.OpcUaClient.ConnectServer(System.String)">
  169. <summary>
  170. connect to server
  171. </summary>
  172. <param name="serverUrl">remote url</param>
  173. </member>
  174. <member name="M:OpcUaHelper.OpcUaClient.Connect(System.String)">
  175. <summary>
  176. Creates a new session.
  177. </summary>
  178. <returns>The new session object.</returns>
  179. </member>
  180. <member name="M:OpcUaHelper.OpcUaClient.Disconnect">
  181. <summary>
  182. Disconnects from the server.
  183. </summary>
  184. </member>
  185. <member name="M:OpcUaHelper.OpcUaClient.UpdateStatus(System.Boolean,System.DateTime,System.String,System.Object[])">
  186. <summary>
  187. Report the client status
  188. </summary>
  189. <param name="error">Whether the status represents an error.</param>
  190. <param name="time">The time associated with the status.</param>
  191. <param name="status">The status message.</param>
  192. <param name="args">Arguments used to format the status message.</param>
  193. </member>
  194. <member name="M:OpcUaHelper.OpcUaClient.Session_KeepAlive(Opc.Ua.Client.Session,Opc.Ua.Client.KeepAliveEventArgs)">
  195. <summary>
  196. Handles a keep alive event from a session.
  197. </summary>
  198. </member>
  199. <member name="M:OpcUaHelper.OpcUaClient.Server_ReconnectComplete(System.Object,System.EventArgs)">
  200. <summary>
  201. Handles a reconnect event complete from the reconnect handler.
  202. </summary>
  203. </member>
  204. <member name="M:OpcUaHelper.OpcUaClient.SetLogPathName(System.String,System.Boolean)">
  205. <summary>
  206. 设置OPC客户端的日志输出
  207. </summary>
  208. <param name="filePath">完整的文件路径</param>
  209. <param name="deleteExisting">是否删除原文件</param>
  210. </member>
  211. <member name="P:OpcUaHelper.OpcUaClient.OpcUaName">
  212. <summary>
  213. a name of application name show on server
  214. </summary>
  215. </member>
  216. <member name="P:OpcUaHelper.OpcUaClient.UseSecurity">
  217. <summary>
  218. Whether to use security when connecting.
  219. </summary>
  220. </member>
  221. <member name="P:OpcUaHelper.OpcUaClient.UserIdentity">
  222. <summary>
  223. The user identity to use when creating the session.
  224. </summary>
  225. </member>
  226. <member name="P:OpcUaHelper.OpcUaClient.Session">
  227. <summary>
  228. The currently active session.
  229. </summary>
  230. </member>
  231. <member name="P:OpcUaHelper.OpcUaClient.Connected">
  232. <summary>
  233. Indicate the connect status
  234. </summary>
  235. </member>
  236. <member name="P:OpcUaHelper.OpcUaClient.ReconnectPeriod">
  237. <summary>
  238. The number of seconds between reconnect attempts (0 means reconnect is disabled).
  239. </summary>
  240. </member>
  241. <member name="E:OpcUaHelper.OpcUaClient.KeepAliveComplete">
  242. <summary>
  243. Raised when a good keep alive from the server arrives.
  244. </summary>
  245. </member>
  246. <member name="E:OpcUaHelper.OpcUaClient.ReconnectStarting">
  247. <summary>
  248. Raised when a reconnect operation starts.
  249. </summary>
  250. </member>
  251. <member name="E:OpcUaHelper.OpcUaClient.ReconnectComplete">
  252. <summary>
  253. Raised when a reconnect operation completes.
  254. </summary>
  255. </member>
  256. <member name="E:OpcUaHelper.OpcUaClient.ConnectComplete">
  257. <summary>
  258. Raised after successfully connecting to or disconnecing from a server.
  259. </summary>
  260. </member>
  261. <member name="E:OpcUaHelper.OpcUaClient.OpcStatusChange">
  262. <summary>
  263. Raised after the client status change
  264. </summary>
  265. </member>
  266. <member name="P:OpcUaHelper.OpcUaClient.AppConfig">
  267. <summary>
  268. 配置信息
  269. </summary>
  270. </member>
  271. <member name="M:OpcUaHelper.OpcUaClient.ReadNode(Opc.Ua.NodeId)">
  272. <summary>
  273. Read a value node from server
  274. </summary>
  275. <param name="nodeId">node id</param>
  276. <returns>DataValue</returns>
  277. </member>
  278. <member name="M:OpcUaHelper.OpcUaClient.ReadNode``1(System.String)">
  279. <summary>
  280. Read a value node from server
  281. </summary>
  282. <typeparam name="T">type of value</typeparam>
  283. <param name="tag">node id</param>
  284. <returns>实际值</returns>
  285. </member>
  286. <member name="M:OpcUaHelper.OpcUaClient.ReadNodeAsync``1(System.String)">
  287. <summary>
  288. Read a tag asynchronously
  289. </summary>
  290. <typeparam name="T">The type of tag to read</typeparam>
  291. <param name="tag">tag值</param>
  292. <returns>The value retrieved from the OPC</returns>
  293. </member>
  294. <member name="M:OpcUaHelper.OpcUaClient.ReadNodes(Opc.Ua.NodeId[])">
  295. <summary>
  296. read several value nodes from server
  297. </summary>
  298. <param name="nodeIds">all NodeIds</param>
  299. <returns>all values</returns>
  300. </member>
  301. <member name="M:OpcUaHelper.OpcUaClient.ReadNodesAsync(Opc.Ua.NodeId[])">
  302. <summary>
  303. read several value nodes from server
  304. </summary>
  305. <param name="nodeIds">all NodeIds</param>
  306. <returns>all values</returns>
  307. </member>
  308. <member name="M:OpcUaHelper.OpcUaClient.ReadNodes``1(System.String[])">
  309. <summary>
  310. read several value nodes from server
  311. </summary>
  312. <param name="tags">所以的节点数组信息</param>
  313. <returns>all values</returns>
  314. </member>
  315. <member name="M:OpcUaHelper.OpcUaClient.ReadNodesAsync``1(System.String[])">
  316. <summary>
  317. read several value nodes from server
  318. </summary>
  319. <param name="tags">all NodeIds</param>
  320. <returns>all values</returns>
  321. </member>
  322. <member name="M:OpcUaHelper.OpcUaClient.WriteNode``1(System.String,``0)">
  323. <summary>
  324. write a note to server(you should use try catch)
  325. </summary>
  326. <typeparam name="T">The type of tag to write on</typeparam>
  327. <param name="tag">节点名称</param>
  328. <param name="value">值</param>
  329. <returns>if success True,otherwise False</returns>
  330. </member>
  331. <member name="M:OpcUaHelper.OpcUaClient.WriteNodeAsync``1(System.String,``0)">
  332. <summary>
  333. Write a value on the specified opc tag asynchronously
  334. </summary>
  335. <typeparam name="T">The type of tag to write on</typeparam>
  336. <param name="tag">The fully-qualified identifier of the tag. You can specify a subfolder by using a comma delimited name. E.g: the tag `foo.bar` writes on the tag `bar` on the folder `foo`</param>
  337. <param name="value">The value for the item to write</param>
  338. </member>
  339. <member name="M:OpcUaHelper.OpcUaClient.WriteNodes(System.String[],System.Object[])">
  340. <summary>
  341. 所有的节点都写入成功,返回<c>True</c>,否则返回<c>False</c>
  342. </summary>
  343. <param name="tags">节点名称数组</param>
  344. <param name="values">节点的值数据</param>
  345. <returns>所有的是否都写入成功</returns>
  346. </member>
  347. <member name="M:OpcUaHelper.OpcUaClient.DeleteExsistNode(System.String)">
  348. <summary>
  349. 删除一个节点的操作,除非服务器配置允许,否则引发异常,成功返回<c>True</c>,否则返回<c>False</c>
  350. </summary>
  351. <param name="tag">节点文本描述</param>
  352. <returns>是否删除成功</returns>
  353. </member>
  354. <member name="M:OpcUaHelper.OpcUaClient.AddNewNode(Opc.Ua.NodeId)">
  355. <summary>
  356. 新增一个节点数据
  357. </summary>
  358. <param name="parent">父节点tag名称</param>
  359. </member>
  360. <member name="M:OpcUaHelper.OpcUaClient.AddSubscription(System.String,System.String,System.Action{System.String,Opc.Ua.Client.MonitoredItem,Opc.Ua.Client.MonitoredItemNotificationEventArgs})">
  361. <summary>
  362. 新增一个订阅,需要指定订阅的关键字,订阅的tag名,以及回调方法
  363. </summary>
  364. <param name="key">关键字</param>
  365. <param name="tag">tag</param>
  366. <param name="callback">回调方法</param>
  367. </member>
  368. <member name="M:OpcUaHelper.OpcUaClient.AddSubscription(System.String,System.String[],System.Action{System.String,Opc.Ua.Client.MonitoredItem,Opc.Ua.Client.MonitoredItemNotificationEventArgs})">
  369. <summary>
  370. 新增一批订阅,需要指定订阅的关键字,订阅的tag名数组,以及回调方法
  371. </summary>
  372. <param name="key">关键字</param>
  373. <param name="tags">节点名称数组</param>
  374. <param name="callback">回调方法</param>
  375. </member>
  376. <member name="M:OpcUaHelper.OpcUaClient.RemoveSubscription(System.String)">
  377. <summary>
  378. 移除订阅消息,如果该订阅消息是批量的,也直接移除
  379. </summary>
  380. <param name="key">订阅关键值</param>
  381. </member>
  382. <member name="M:OpcUaHelper.OpcUaClient.RemoveAllSubscription">
  383. <summary>
  384. 移除所有的订阅消息
  385. </summary>
  386. </member>
  387. <member name="M:OpcUaHelper.OpcUaClient.ReadHistoryRawDataValues(System.String,System.DateTime,System.DateTime,System.UInt32,System.Boolean)">
  388. <summary>
  389. read History data
  390. </summary>
  391. <param name="tag">节点的索引</param>
  392. <param name="start">开始时间</param>
  393. <param name="end">结束时间</param>
  394. <param name="count">读取的个数</param>
  395. <param name="containBound">是否包含边界</param>
  396. <returns>读取的数据列表</returns>
  397. </member>
  398. <member name="M:OpcUaHelper.OpcUaClient.ReadHistoryRawDataValues``1(System.String,System.DateTime,System.DateTime,System.UInt32,System.Boolean)">
  399. <summary>
  400. 读取一连串的历史数据,并将其转化成指定的类型
  401. </summary>
  402. <param name="tag">节点的索引</param>
  403. <param name="start">开始时间</param>
  404. <param name="end">结束时间</param>
  405. <param name="count">读取的个数</param>
  406. <param name="containBound">是否包含边界</param>
  407. <returns>读取的数据列表</returns>
  408. </member>
  409. <member name="M:OpcUaHelper.OpcUaClient.BrowseNodeReference(System.String)">
  410. <summary>
  411. 浏览一个节点的引用
  412. </summary>
  413. <param name="tag">节点值</param>
  414. <returns>引用节点描述</returns>
  415. </member>
  416. <member name="M:OpcUaHelper.OpcUaClient.ReadNoteAttributes(System.String)">
  417. <summary>
  418. 读取一个节点的所有属性
  419. </summary>
  420. <param name="tag">节点信息</param>
  421. <returns>节点的特性值</returns>
  422. </member>
  423. <member name="M:OpcUaHelper.OpcUaClient.ReadNoteDataValueAttributes(System.String)">
  424. <summary>
  425. 读取一个节点的所有属性
  426. </summary>
  427. <param name="tag">节点值</param>
  428. <returns>所有的数据</returns>
  429. </member>
  430. <member name="M:OpcUaHelper.OpcUaClient.CallMethodByNodeId(System.String,System.String,System.Object[])">
  431. <summary>
  432. call a server method
  433. </summary>
  434. <param name="tagParent">方法的父节点tag</param>
  435. <param name="tag">方法的节点tag</param>
  436. <param name="args">传递的参数</param>
  437. <returns>输出的结果值</returns>
  438. </member>
  439. <member name="M:OpcUaHelper.OpcUaClient.DoConnectComplete(System.Object)">
  440. <summary>
  441. Raises the connect complete event on the main GUI thread.
  442. </summary>
  443. </member>
  444. <member name="T:OpcUaHelper.OpcUaStatusEventArgs">
  445. <summary>
  446. OPC UA的状态更新消息
  447. </summary>
  448. </member>
  449. <member name="P:OpcUaHelper.OpcUaStatusEventArgs.Error">
  450. <summary>
  451. 是否异常
  452. </summary>
  453. </member>
  454. <member name="P:OpcUaHelper.OpcUaStatusEventArgs.Time">
  455. <summary>
  456. 时间
  457. </summary>
  458. </member>
  459. <member name="P:OpcUaHelper.OpcUaStatusEventArgs.Text">
  460. <summary>
  461. 文本
  462. </summary>
  463. </member>
  464. <member name="M:OpcUaHelper.OpcUaStatusEventArgs.ToString">
  465. <summary>
  466. 转化为字符串
  467. </summary>
  468. <returns></returns>
  469. </member>
  470. <member name="T:OpcUaHelper.OpcNodeAttribute">
  471. <summary>
  472. 读取属性过程中用于描述的
  473. </summary>
  474. </member>
  475. <member name="P:OpcUaHelper.OpcNodeAttribute.Name">
  476. <summary>
  477. 属性的名称
  478. </summary>
  479. </member>
  480. <member name="P:OpcUaHelper.OpcNodeAttribute.Type">
  481. <summary>
  482. 属性的类型描述
  483. </summary>
  484. </member>
  485. <member name="P:OpcUaHelper.OpcNodeAttribute.StatusCode">
  486. <summary>
  487. 操作结果状态描述
  488. </summary>
  489. </member>
  490. <member name="P:OpcUaHelper.OpcNodeAttribute.Value">
  491. <summary>
  492. 属性的值,如果读取错误,返回文本描述
  493. </summary>
  494. </member>
  495. </members>
  496. </doc>