From 0f1fa3570874e5080e649991fe835449cbd12a68 Mon Sep 17 00:00:00 2001 From: Giacomo Tagliabue Date: Tue, 17 Mar 2015 07:06:56 +0100 Subject: [PATCH] Update README.md --- README.md | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ba6e536..cc28961 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ h-opc [![Build status](https://ci.appveyor.com/api/projects/status/oajkgccisoe98gip/branch/master?svg=true)](https://ci.appveyor.com/project/hylasoft/h-opc/branch/master) ============== -An Opc Library and a command line to perform OPC operations with ease. Currently supports synchronous operation over the UA protocol +An Opc Library and a command line to perform OPC operations with ease and transparency among different protocols. Currently supports synchronous operation over UA and DA protocols. ## Use @@ -22,6 +22,15 @@ using (var client = new UaClient(new Uri("opc.tcp://host-url"))) } ```` +and to use the DA Client instead: + +````cs +using (var client = new DaClient(new Uri("opcda://host-url"))) +{ + // Use `client` here +} +```` + #### Exploring the nodes You can get a reference to a node with... @@ -83,19 +92,18 @@ it's **important** that you either enclose the client into a `using` statement o ## Command line -You can also use the command line interface project to quickly test your an OPC. Build the `h-opc-cli` project or download it from the `release` page of this repository, then run +You can also use the command line interface project to quickly test your an OPC. Build the `h-opc-cli` project or download it from the `release` page of this repository, then run: ```` -h-opc-cli.exe OpcType opc.tcp://host-url +h-opc-cli.exe [OpcType] [server-url] ```` -Where `OpcType` is the type of opc to use (e.g: UA). Once the project is running, you can use the internal command to manipulate the variable. To have more information aboute the internal commands, type `help` or `?` +Where `OpcType` is the type of opc to use (e.g: "UA", "DA"). Once the project is running, you can use the internal command to manipulate the variable. To have more information aboute the internal commands, type `help` or `?` ## Build + Contribute The repository uses [cs-boilerplate](https://github.com/hylasoft-usa/cs-boilerplate). Read the readme of the cs-boilerplate repository to understand how to build, run tasks and commit your work to `master`. - ## Disclaimer The following binaries belong to the [OPC Foundation](https://opcfoundation.org/). You must become a registered user in order to use them: @@ -103,10 +111,12 @@ The following binaries belong to the [OPC Foundation](https://opcfoundation.org/ - `OPC.Ua.Client.dll` - `OPC.Ua.Core.dll` - `OPC.Ua.Configuration.dll` +- `OpcComRcw.dll` +- `OpcNetApi.Com.dll` +- `OpcNetApi.dll` You must agree to the terms and condition exposed on the OPC Foundation website. Hyla Soft is not responsible of their usage and cannot be held responsible. ## Roadmap -- [ ] Add DA integration - [ ] Add promise-based asynchronous calls