在好例子网,分享、交流、成长!
您当前所在位置:首页C# 开发实例C#语言基础 → OPCUA客户端和服务端

OPCUA客户端和服务端

C#语言基础

下载此实例
  • 开发语言:C#
  • 实例大小:7.79M
  • 下载次数:52
  • 浏览次数:286
  • 发布时间:2023-03-08
  • 实例类别:C#语言基础
  • 发 布 人:wjonne
  • 文件格式:.zip
  • 所需积分:4
 相关标签: OPCUA opc 服务端 客户端 UA

实例介绍

【实例简介】OPCUA客户端和服务端

根据OPC协议完整实现客户端和服务端,有助于开发自己的项目

【实例截图】

from clipboard

【核心代码】

.
├── OPCUA-master
│   ├── Imgs
│   │   ├── NodeSettings.png
│   │   ├── NodeView.png
│   │   ├── OpcUaServer.png
│   │   ├── RedisServer.png
│   │   ├── SampleServer.png
│   │   └── SimplifyView.png
│   ├── LICENSE
│   ├── README.md
│   ├── SharpNodeSettings
│   │   ├── Controls
│   │   │   └── TreeViewEx.cs
│   │   ├── Core
│   │   │   └── SharpNodeServer.cs
│   │   ├── Device
│   │   │   ├── DeviceCore.cs
│   │   │   ├── DeviceMelsecMc.cs
│   │   │   ├── DeviceModbusTcp.cs
│   │   │   ├── DeviceModbusTcpAlien.cs
│   │   │   ├── DeviceOmron.cs
│   │   │   └── DeviceSiemens.cs
│   │   ├── Forms
│   │   │   ├── FormAlienNode.cs
│   │   │   ├── FormAlienNode.designer.cs
│   │   │   ├── FormAlienNode.resx
│   │   │   ├── FormEmpty.cs
│   │   │   ├── FormEmpty.designer.cs
│   │   │   ├── FormEmpty.resx
│   │   │   ├── FormMelsec3E.cs
│   │   │   ├── FormMelsec3E.designer.cs
│   │   │   ├── FormMelsec3E.resx
│   │   │   ├── FormModbusServer.cs
│   │   │   ├── FormModbusServer.designer.cs
│   │   │   ├── FormModbusServer.resx
│   │   │   ├── FormModbusTcp.cs
│   │   │   ├── FormModbusTcp.designer.cs
│   │   │   ├── FormModbusTcp.resx
│   │   │   ├── FormModbusTcpAlien.cs
│   │   │   ├── FormModbusTcpAlien.designer.cs
│   │   │   ├── FormModbusTcpAlien.resx
│   │   │   ├── FormNodeClass.cs
│   │   │   ├── FormNodeClass.designer.cs
│   │   │   ├── FormNodeClass.resx
│   │   │   ├── FormOmron.cs
│   │   │   ├── FormOmron.designer.cs
│   │   │   ├── FormOmron.resx
│   │   │   ├── FormRegularItemNode.cs
│   │   │   ├── FormRegularItemNode.designer.cs
│   │   │   ├── FormRegularItemNode.resx
│   │   │   ├── FormRegularNode.cs
│   │   │   ├── FormRegularNode.designer.cs
│   │   │   ├── FormRegularNode.resx
│   │   │   ├── FormRequest.cs
│   │   │   ├── FormRequest.designer.cs
│   │   │   ├── FormRequest.resx
│   │   │   ├── FormSiemens.cs
│   │   │   ├── FormSiemens.designer.cs
│   │   │   └── FormSiemens.resx
│   │   ├── Imgs
│   │   │   ├── ASCube_16xLG.png
│   │   │   ├── ClassIcon.png
│   │   │   ├── Class_489.png
│   │   │   ├── Enum_582.png
│   │   │   ├── Event_594.png
│   │   │   ├── Event_594_exp.png
│   │   │   ├── ExtensionManager_vsix.png
│   │   │   ├── FieldsHeader_12x.png
│   │   │   ├── FlagRed_16x.png
│   │   │   ├── FlagSpace_16x.png
│   │   │   ├── GenericVSEditor_9905.png
│   │   │   ├── HotSpot_10548.png
│   │   │   ├── HotSpot_10548_color.png
│   │   │   ├── Method_636.png
│   │   │   ├── Module_648.png
│   │   │   ├── Monitor_Screen_16xLG.png
│   │   │   ├── Operator_660.png
│   │   │   ├── PencilAngled_16xLG.png
│   │   │   ├── PencilAngled_16xLG_color.png
│   │   │   ├── Property_501.png
│   │   │   ├── VirtualMachine_16xLG.png
│   │   │   ├── WindowsAzure_16xLG.png
│   │   │   ├── WindowsAzure_16xLG_Cyan.png
│   │   │   ├── abstr1.png
│   │   │   ├── action_Cancel_16xLG.png
│   │   │   ├── action_add_16xLG.png
│   │   │   ├── arrow_open_16xLG.png
│   │   │   ├── envelope_16xLG.png
│   │   │   ├── flag_16xLG.png
│   │   │   ├── interface_16xLG.png
│   │   │   ├── library_16xLG.png
│   │   │   ├── save_16xLG.png
│   │   │   ├── server_Local_16xLG.png
│   │   │   ├── star_16xLG.png
│   │   │   ├── usbcontroller.png
│   │   │   └── xbox1Color_16x.png
│   │   ├── Node
│   │   │   ├── Device
│   │   │   │   ├── DeviceNode.cs
│   │   │   │   ├── NodeEmpty.cs
│   │   │   │   ├── NodeMelsecMc.cs
│   │   │   │   ├── NodeModbusTcpAline.cs
│   │   │   │   ├── NodeModbusTcpClient.cs
│   │   │   │   ├── NodeOmron.cs
│   │   │   │   ├── NodeSiemens.cs
│   │   │   │   └── NodeSimplifyNet.cs
│   │   │   ├── NodeBase
│   │   │   │   ├── IXmlConvert.cs
│   │   │   │   ├── NodeClass.cs
│   │   │   │   ├── NodeClassInfo.cs
│   │   │   │   └── NodeClassRenderItem.cs
│   │   │   ├── Regular
│   │   │   │   ├── RegularItemNode.cs
│   │   │   │   ├── RegularNode.cs
│   │   │   │   └── RegularNodeTypeItem.cs
│   │   │   ├── Request
│   │   │   │   └── DeviceRequest.cs
│   │   │   └── Server
│   │   │       ├── AlienServerNode.cs
│   │   │       ├── NodeModbusServer.cs
│   │   │       └── ServerNode.cs
│   │   ├── Properties
│   │   │   ├── AssemblyInfo.cs
│   │   │   ├── Resources.Designer.cs
│   │   │   └── Resources.resx
│   │   ├── SharpNodeSettings.csproj
│   │   ├── Util.cs
│   │   ├── View
│   │   │   ├── FormNodeSetting.cs
│   │   │   ├── FormNodeSetting.designer.cs
│   │   │   ├── FormNodeSetting.resx
│   │   │   ├── FormNodeView.Designer.cs
│   │   │   ├── FormNodeView.cs
│   │   │   ├── FormNodeView.resx
│   │   │   ├── FormSelectDevice.Designer.cs
│   │   │   ├── FormSelectDevice.cs
│   │   │   └── FormSelectDevice.resx
│   │   └── packages.config
│   ├── SharpNodeSettings.NodeView
│   │   ├── App.config
│   │   ├── Program.cs
│   │   ├── Properties
│   │   │   ├── AssemblyInfo.cs
│   │   │   ├── Resources.Designer.cs
│   │   │   ├── Resources.resx
│   │   │   ├── Settings.Designer.cs
│   │   │   └── Settings.settings
│   │   └── SharpNodeSettings.NodeView.csproj
│   ├── SharpNodeSettings.OpcUaServer
│   │   ├── App.config
│   │   ├── App.ico
│   │   ├── Namespaces.cs
│   │   ├── Opc.Ua.CertificateGenerator.exe
│   │   ├── Program.cs
│   │   ├── Properties
│   │   │   ├── AssemblyInfo.cs
│   │   │   ├── Resources.Designer.cs
│   │   │   ├── Resources.resx
│   │   │   ├── Settings.Designer.cs
│   │   │   └── Settings.settings
│   │   ├── ReferenceNodeManager.cs
│   │   ├── ReferenceServer.cs
│   │   ├── ReferenceServerConfiguration.cs
│   │   ├── ReferenceServerUtils.cs
│   │   ├── SharpNodeSettings.OpcUaServer.csproj
│   │   ├── SharpNodeSettingsServer.Config.xml
│   │   └── packages.config
│   ├── SharpNodeSettings.RedisServer
│   │   ├── App.config
│   │   ├── Program.cs
│   │   ├── Properties
│   │   │   └── AssemblyInfo.cs
│   │   ├── SharpNodeSettings.RedisServer.csproj
│   │   └── packages.config
│   ├── SharpNodeSettings.SampleServer
│   │   ├── App.config
│   │   ├── Program.cs
│   │   ├── Properties
│   │   │   └── AssemblyInfo.cs
│   │   └── SharpNodeSettings.SampleServer.csproj
│   ├── SharpNodeSettings.Tools
│   │   ├── App.config
│   │   ├── Program.cs
│   │   ├── Properties
│   │   │   ├── AssemblyInfo.cs
│   │   │   ├── Resources.Designer.cs
│   │   │   ├── Resources.resx
│   │   │   ├── Settings.Designer.cs
│   │   │   └── Settings.settings
│   │   ├── SharpNodeSettings.Tools.csproj
│   │   └── packages.config
│   ├── SharpNodeSettings.sln
│   ├── XmlFile
│   │   ├── HslCommunication.dll
│   │   ├── Newtonsoft.Json.dll
│   │   ├── SharpNodeSettings.Tools.exe
│   │   ├── SharpNodeSettings.dll
│   │   └── settings.xml
│   └── dll
│       ├── BouncyCastle.Crypto.dll
│       ├── Microsoft.AspNetCore.Hosting.Abstractions.dll
│       ├── Microsoft.AspNetCore.Hosting.Server.Abstractions.dll
│       ├── Microsoft.AspNetCore.Hosting.dll
│       ├── Microsoft.AspNetCore.Http.Abstractions.dll
│       ├── Microsoft.AspNetCore.Http.Features.dll
│       ├── Microsoft.AspNetCore.Http.dll
│       ├── Microsoft.AspNetCore.Server.Kestrel.Https.dll
│       ├── Microsoft.AspNetCore.Server.Kestrel.dll
│       ├── Microsoft.AspNetCore.WebUtilities.dll
│       ├── Microsoft.Extensions.Configuration.Abstractions.dll
│       ├── Microsoft.Extensions.Configuration.EnvironmentVariables.dll
│       ├── Microsoft.Extensions.Configuration.dll
│       ├── Microsoft.Extensions.DependencyInjection.Abstractions.dll
│       ├── Microsoft.Extensions.DependencyInjection.dll
│       ├── Microsoft.Extensions.FileProviders.Abstractions.dll
│       ├── Microsoft.Extensions.FileProviders.Physical.dll
│       ├── Microsoft.Extensions.FileSystemGlobbing.dll
│       ├── Microsoft.Extensions.Logging.Abstractions.dll
│       ├── Microsoft.Extensions.Logging.dll
│       ├── Microsoft.Extensions.ObjectPool.dll
│       ├── Microsoft.Extensions.Options.dll
│       ├── Microsoft.Extensions.PlatformAbstractions.dll
│       ├── Microsoft.Extensions.Primitives.dll
│       ├── Microsoft.Net.Http.Headers.dll
│       ├── Newtonsoft.Json.dll
│       ├── Opc.Ua.CertificateGenerator.exe
│       ├── Opc.Ua.Configuration.dll
│       ├── Opc.Ua.Core.dll
│       ├── Opc.Ua.Server.dll
│       ├── Opc.Ua.ServerControls.dll
│       ├── System.Buffers.dll
│       ├── System.Collections.Immutable.dll
│       ├── System.Diagnostics.DiagnosticSource.dll
│       ├── System.Net.Http.dll
│       ├── System.Numerics.Vectors.dll
│       ├── System.Reflection.Metadata.dll
│       ├── System.Runtime.CompilerServices.Unsafe.dll
│       ├── System.Runtime.InteropServices.RuntimeInformation.dll
│       ├── System.Text.Encodings.Web.dll
│       └── System.Threading.Tasks.Extensions.dll
├── OPCUA-master.zip
├── OPCUA客户端和服务端_OPCUA_ClientAndServer.zip
├── OPC_UA_Client-master
│   ├── ClientAPI
│   │   ├── ClientAPI.cs
│   │   ├── ClientAPI.csproj
│   │   ├── ClientDiscovery.cs
│   │   ├── ClientSubscription.cs
│   │   ├── Properties
│   │   │   ├── AssemblyInfo.cs
│   │   │   └── Helpers.cs
│   │   ├── bin
│   │   │   └── Debug
│   │   │       ├── Opc.Ua.Client.dll
│   │   │       ├── Opc.Ua.Core.dll
│   │   │       ├── Siemens.OpcUA.dll
│   │   │       └── Siemens.OpcUA.pdb
│   │   └── obj
│   │       └── Debug
│   │           ├── ClientAPI.csproj.CopyComplete
│   │           ├── ClientAPI.csproj.CoreCompileInputs.cache
│   │           ├── ClientAPI.csproj.FileListAbsolute.txt
│   │           ├── ClientAPI.csprojAssemblyReference.cache
│   │           ├── DesignTimeResolveAssemblyReferencesInput.cache
│   │           ├── Siemens.OpcUA.dll
│   │           └── Siemens.OpcUA.pdb
│   ├── LICENSE
│   ├── README.md
│   ├── SimpleClient
│   │   ├── EndpointWrapper.cs
│   │   ├── Main.ico
│   │   ├── MainForm.Designer.cs
│   │   ├── MainForm.cs
│   │   ├── MainForm.resx
│   │   ├── Program.cs
│   │   ├── Properties
│   │   │   ├── AssemblyInfo.cs
│   │   │   ├── Resources.Designer.cs
│   │   │   ├── Resources.resx
│   │   │   ├── Settings.Designer.cs
│   │   │   └── Settings.settings
│   │   ├── SimpleClient.csproj
│   │   ├── app.config
│   │   ├── bin
│   │   │   └── Debug
│   │   │       ├── Opc.Ua.Client.dll
│   │   │       ├── Opc.Ua.Core.dll
│   │   │       ├── Siemens.OpcUA.SimpleClient.exe
│   │   │       ├── Siemens.OpcUA.SimpleClient.exe.config
│   │   │       ├── Siemens.OpcUA.SimpleClient.pdb
│   │   │       ├── Siemens.OpcUA.dll
│   │   │       └── Siemens.OpcUA.pdb
│   │   └── obj
│   │       └── Debug
│   │           ├── DesignTimeResolveAssemblyReferences.cache
│   │           ├── DesignTimeResolveAssemblyReferencesInput.cache
│   │           ├── Siemens.OpcUA.SimpleClient.MainForm.resources
│   │           ├── Siemens.OpcUA.SimpleClient.Properties.Resources.resources
│   │           ├── Siemens.OpcUA.SimpleClient.exe
│   │           ├── Siemens.OpcUA.SimpleClient.pdb
│   │           ├── SimpleClient.csproj.CopyComplete
│   │           ├── SimpleClient.csproj.CoreCompileInputs.cache
│   │           ├── SimpleClient.csproj.FileListAbsolute.txt
│   │           ├── SimpleClient.csproj.GenerateResource.cache
│   │           ├── SimpleClient.csprojAssemblyReference.cache
│   │           └── TempPE
│   │               └── Properties.Resources.Designer.cs.dll
│   ├── UAClient
│   │   ├── Controls
│   │   │   ├── AttributeListControl.Designer.cs
│   │   │   ├── AttributeListControl.cs
│   │   │   ├── AttributeListControl.resx
│   │   │   ├── BrowseControl.Designer.cs
│   │   │   ├── BrowseControl.cs
│   │   │   ├── BrowseControl.resx
│   │   │   ├── MonitoredItemsControl.Designer.cs
│   │   │   ├── MonitoredItemsControl.cs
│   │   │   └── MonitoredItemsControl.resx
│   │   ├── EndpointWrapper.cs
│   │   ├── Main.ico
│   │   ├── MainForm.Designer.cs
│   │   ├── MainForm.cs
│   │   ├── MainForm.resx
│   │   ├── Program.cs
│   │   ├── Properties
│   │   │   ├── AssemblyInfo.cs
│   │   │   ├── Resources.Designer.cs
│   │   │   ├── Resources.resx
│   │   │   ├── Settings.Designer.cs
│   │   │   └── Settings.settings
│   │   ├── UAClient.csproj
│   │   ├── WriteValuesDialog.Designer.cs
│   │   ├── WriteValuesDialog.cs
│   │   ├── WriteValuesDialog.resx
│   │   ├── app.config
│   │   ├── bin
│   │   │   └── Debug
│   │   │       ├── Opc.Ua.Client.dll
│   │   │       ├── Opc.Ua.Core.dll
│   │   │       ├── Siemens.OpcUA.Client.exe
│   │   │       ├── Siemens.OpcUA.Client.exe.config
│   │   │       ├── Siemens.OpcUA.Client.pdb
│   │   │       ├── Siemens.OpcUA.Client.vshost.exe
│   │   │       ├── Siemens.OpcUA.Client.vshost.exe.manifest
│   │   │       ├── Siemens.OpcUA.dll
│   │   │       └── Siemens.OpcUA.pdb
│   │   ├── icons
│   │   │   ├── error.png
│   │   │   ├── success.png
│   │   │   └── warning.png
│   │   └── obj
│   │       └── Debug
│   │           ├── DesignTimeResolveAssemblyReferences.cache
│   │           ├── DesignTimeResolveAssemblyReferencesInput.cache
│   │           ├── ResolveAssemblyReference.cache
│   │           ├── Siemens.OpcUA.Client.AttributeListControl.resources
│   │           ├── Siemens.OpcUA.Client.BrowseControl.resources
│   │           ├── Siemens.OpcUA.Client.LoginForm.resources
│   │           ├── Siemens.OpcUA.Client.MainForm.resources
│   │           ├── Siemens.OpcUA.Client.MonitoredItemsControl.resources
│   │           ├── Siemens.OpcUA.Client.Properties.Resources.resources
│   │           ├── Siemens.OpcUA.Client.WriteValuesDialog.resources
│   │           ├── Siemens.OpcUA.Client.exe
│   │           ├── Siemens.OpcUA.Client.pdb
│   │           ├── TempPE
│   │           │   └── Properties.Resources.Designer.cs.dll
│   │           ├── UAClient.csproj.CopyComplete
│   │           ├── UAClient.csproj.CoreCompileInputs.cache
│   │           ├── UAClient.csproj.FileListAbsolute.txt
│   │           ├── UAClient.csproj.GenerateResource.cache
│   │           └── UAClient.csprojAssemblyReference.cache
│   └── UaClient.sln
└── OPC_UA_Client-master.zip

51 directories, 322 files


网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警