All Projects → dathlin → OpcUaHelperOld

dathlin / OpcUaHelperOld

Licence: LGPL-3.0 license
一个OPC UA客户端二次封装类,使用本组件提供的类库,可以简单便捷的读写OPC-UA服务器上的数据,引用,方法等等操作。本版本为旧版,新版请参照:https://github.com/dathlin/OpcUaHelper

Programming Languages

C#
18002 projects

Labels

Projects that are alternatives of or similar to OpcUaHelperOld

Python Opcua
LGPL Pure Python OPC-UA Client and Server
Stars: ✭ 863 (+2683.87%)
Mutual labels:  opc-ua
Open62541
Open source implementation of OPC UA (OPC Unified Architecture) aka IEC 62541 licensed under Mozilla Public License v2.0
Stars: ✭ 1,643 (+5200%)
Mutual labels:  opc-ua
Opc Ua Client
Visualize and control your enterprise using OPC Unified Architecture (OPC UA) and Visual Studio.
Stars: ✭ 198 (+538.71%)
Mutual labels:  opc-ua
Opcuawebplatformunict
An ASP.NET Core web application exposing OPC UA Servers to non OPCUA-compliant clients with a REST interface
Stars: ✭ 49 (+58.06%)
Mutual labels:  opc-ua
Opcua Commander
a opcua client with blessed (ncurses)
Stars: ✭ 99 (+219.35%)
Mutual labels:  opc-ua
Node Opcua Logger
An OPCUA Client for logging data to InfluxDB! 🔌 🏭
Stars: ✭ 138 (+345.16%)
Mutual labels:  opc-ua
Milo
Eclipse Milo™ - an open source implementation of OPC UA (IEC 62541).
Stars: ✭ 587 (+1793.55%)
Mutual labels:  opc-ua
node-opcua-coreaas
An extension for node-opcua implementing CoreAAS Information Model
Stars: ✭ 19 (-38.71%)
Mutual labels:  opc-ua
Opc Ua Ooi
Object Oriented Internet - C# deliverables supporting a new Machine To Machine (M2M) communication architecture
Stars: ✭ 104 (+235.48%)
Mutual labels:  opc-ua
Iot Dc3
IOT DC3 is an open source, distributed Internet of Things (IOT) platform based on Spring Cloud. It is used for rapid development of IOT projects and management of IOT devices. It is a set of solutions for IOT system.
Stars: ✭ 195 (+529.03%)
Mutual labels:  opc-ua
Hrim
An information model for robot hardware. Facilitates interoperability across modules from different robot manufacturers. Built around ROS 2.0
Stars: ✭ 61 (+96.77%)
Mutual labels:  opc-ua
Mainflux
Industrial IoT Messaging and Device Management Platform
Stars: ✭ 1,341 (+4225.81%)
Mutual labels:  opc-ua
Iot Edge Opc Publisher
Microsoft OPC Publisher
Stars: ✭ 143 (+361.29%)
Mutual labels:  opc-ua
Node Opcua
an implementation of a OPC UA stack fully written in javascript and nodejs - http://node-opcua.github.io/
Stars: ✭ 985 (+3077.42%)
Mutual labels:  opc-ua
Opcua
A client and server implementation of the OPC UA specification written in Rust
Stars: ✭ 202 (+551.61%)
Mutual labels:  opc-ua
Thingsboard Gateway
Open-source IoT Gateway - integrates devices connected to legacy and third-party systems with ThingsBoard IoT Platform using Modbus, CAN bus, BACnet, BLE, OPC-UA, MQTT, ODBC and REST protocols
Stars: ✭ 796 (+2467.74%)
Mutual labels:  opc-ua
Iot Technical Guide
🐝 IoT Technical Guide --- 从零搭建高性能物联网平台及物联网解决方案和Thingsboard源码分析 ✨ ✨ ✨ (IoT Platform, SaaS, MQTT, CoAP, HTTP, Modbus, OPC, WebSocket, 物模型,Protobuf, PostgreSQL, MongoDB, Spring Security, OAuth2, RuleEngine, Kafka, Docker)
Stars: ✭ 2,334 (+7429.03%)
Mutual labels:  opc-ua
QUaModbusClient
Modbus to OPC UA Gateway
Stars: ✭ 38 (+22.58%)
Mutual labels:  opc-ua
Opcua Asyncio
OPC UA library for python > 3.6 asyncio
Stars: ✭ 251 (+709.68%)
Mutual labels:  opc-ua
Oshmi
SCADA HMI for substations and automation applications.
Stars: ✭ 180 (+480.65%)
Mutual labels:  opc-ua

OpcUaHelper Library

Build status NuGet Status Gitter NetFramework Visual Studio

版权声明

本组件版权归Richard.Hu所有

授权协议

使用请遵循LGPL-3.0协议说明,除了协议中已经规定的内容外,附加下面两个条款(与原协议如有冲突以附加条款为准):

  • 允许用户使用本工具库(从NuGet下载)集成到自己的项目中作为闭源软件一部分,只需要声明版权出处并出具一份LGPL-3.0的授权协议即可。
  • 源代码仅作为个人学习使用。

NuGet安装

说明:NuGet为稳定版本,组件的使用必须从NuGet下载,此处发布的项目有可能为还没有通过编译的测试版,NuGet安装如下:

Install-Package OpcUaHelper

联系作者

项目目标

本项目的目标在于开发一个OPC UA的通用客户端类,集成一些常用的功能,并提供一个节点浏览器。

项目介绍

http://www.cnblogs.com/dathlin/p/7724834.html

示例代码

详细的操作参见项目介绍里的博客地址,此处列举两个读写操作:


private void button2_Click(object sender, EventArgs e)
{
    // 一个读取的操作
    try
    {
        string value = opcUaClient.ReadNode("ns=2;s=Machines/Machine A/Name");
        MessageBox.Show(value); // 显示测试数据
    }
    catch(Exception ex)
    {
        // 使用了opc ua的错误处理机制来处理错误,网络不通或是读取拒绝
        Opc.Ua.Client.Controls.ClientUtils.HandleException(Text, ex);
    }
}
private void button3_Click(object sender, EventArgs e)
{
    // 一个写入的操作
    try
    {
        bool IsSuccess = opcUaClient.WriteNode("ns=2;s=Machines/Machine B/Name","abcd测试写入啊");
        MessageBox.Show(IsSuccess.ToString()); // 显示True,如果成功的话
    }
    catch(Exception ex)
    {
        // 使用了opc ua的错误处理机制来处理错误,网络不通或是读取拒绝
        Opc.Ua.Client.Controls.ClientUtils.HandleException(Text, ex);
    }
}

免责声明

引用的4个组件分别为

  • Opc.Ua.Client.dll
  • Opc.Ua.ClientControls.dll
  • Opc.Ua.Configuration.dll
  • Opc.Ua.Core.dll

OPC-UA相关的组件版权归OPC Foundation所有,在使用本组件前请确认是否遵循OPC Foundation的规章要求。组件来源地址:https://github.com/OPCFoundation/UA-.NET

本组件订阅功能和异步读写功能的部分代码参考了下面的项目,对作者表示感谢: https://github.com/hylasoft-usa/h-opc

代码贡献

热烈欢迎对本项目的代码提出改进意见,可以发起Pull Request,对于代码量贡献较多的小伙伴,会有额外的组件使用权,并在特别感谢里写明。

特别感谢

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].