资源简介
基于 HslCommunication.dll ,Opc.Ua.Core.dll实现
代码片段和文件信息
/* ========================================================================
* Copyright (c) 2005-2019 The OPC Foundation Inc. All rights reserved.
*
* OPC Foundation MIT License 1.00
*
* Permission is hereby granted free of charge to any person
* obtaining a copy of this software and associated documentation
* files (the “Software“) to deal in the Software without
* restriction including without limitation the rights to use
* copy modify merge publish distribute sublicense and/or sell
* copies of the Software and to permit persons to whom the
* Software is furnished to do so subject to the following
* conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
* THE SOFTWARE IS PROVIDED “AS IS“ WITHOUT WARRANTY OF ANY KIND
* EXPRESS OR IMPLIED INCLUDING BUT NOT LIMITED TO THE WARRANTIES
* OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
* HOLDERS BE LIABLE FOR ANY CLAIM DAMAGES OR OTHER LIABILITY
* WHETHER IN AN ACTION OF CONTRACT TORT OR OTHERWISE ARISING
* FROM OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*
* The complete license agreement can be found here:
* http://opcfoundation.org/License/MIT/1.00/
* ======================================================================*/
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Security.Cryptography.X509Certificates;
using System.Windows.Forms;
using System.IO;
using Opc.Ua;
using Opc.Ua.Client;
using Opc.Ua.Client.Controls;
namespace Quickstarts.ReferenceClient
{
///
/// The main form for a simple Quickstart Client application.
///
public partial class MainForm : Form
{
#region Constructors
///
/// Creates an empty form.
///
private MainForm()
{
InitializeComponent();
}
///
/// Creates a form which uses the specified client configuration.
///
/// The configuration to use.
public MainForm(ApplicationConfiguration configuration)
{
InitializeComponent();
ConnectServerCTRL.Configuration = m_configuration = configuration;
ConnectServerCTRL.ServerUrl = “opc.tcp://localhost:62541/Quickstarts/ReferenceServer“;
this.Text = m_configuration.ApplicationName;
}
#endregion
#region Private Fields
private ApplicationConfiguration m_configuration;
private Session m_session;
private bool m_connectedOnce;
#endregion
#region Private Methods
#endregion
#region Event Handlers
///
/// Connects to a server.
///
private async vo
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2020-07-03 09:50 ReferenceClient\
目录 0 2020-07-03 09:47 ReferenceClient\.vs\
目录 0 2020-07-03 09:47 ReferenceClient\.vs\Reference Client\
目录 0 2020-07-03 10:39 ReferenceClient\.vs\Reference Client\v15\
文件 7168 2020-07-03 10:39 ReferenceClient\.vs\Reference Client\v15\.suo
目录 0 2020-07-03 09:47 ReferenceClient\.vs\Reference Client\v15\Server\
目录 0 2020-07-03 09:47 ReferenceClient\.vs\Reference Client\v15\Server\sqlite3\
文件 0 2020-07-03 09:47 ReferenceClient\.vs\Reference Client\v15\Server\sqlite3\db.lock
文件 4096 2020-07-03 09:47 ReferenceClient\.vs\Reference Client\v15\Server\sqlite3\storage.ide
文件 32768 2020-07-03 09:47 ReferenceClient\.vs\Reference Client\v15\Server\sqlite3\storage.ide-shm
文件 1458512 2020-07-03 09:51 ReferenceClient\.vs\Reference Client\v15\Server\sqlite3\storage.ide-wal
文件 1917 2020-06-28 06:06 ReferenceClient\App.config
文件 3262 2020-06-28 06:06 ReferenceClient\App.ico
目录 0 2020-07-03 09:46 ReferenceClient\bin\
目录 0 2020-07-03 09:46 ReferenceClient\bin\Debug\
文件 3262 2020-06-28 06:06 ReferenceClient\bin\Debug\App.ico
文件 2740824 2018-11-06 13:35 ReferenceClient\bin\Debug\BouncyCastle.Crypto.dll
文件 471040 2018-05-06 12:44 ReferenceClient\bin\Debug\HslCommunication.dll
文件 33656 2018-11-12 17:30 ReferenceClient\bin\Debug\Microsoft.AspNetCore.Connections.Abstractions.dll
文件 22904 2018-11-12 17:30 ReferenceClient\bin\Debug\Microsoft.AspNetCore.Hosting.Abstractions.dll
文件 133496 2018-11-12 17:30 ReferenceClient\bin\Debug\Microsoft.AspNetCore.Hosting.dll
文件 15224 2018-11-12 17:30 ReferenceClient\bin\Debug\Microsoft.AspNetCore.Hosting.Server.Abstractions.dll
文件 76152 2018-11-12 17:29 ReferenceClient\bin\Debug\Microsoft.AspNetCore.Http.Abstractions.dll
文件 82296 2018-11-12 17:29 ReferenceClient\bin\Debug\Microsoft.AspNetCore.Http.dll
文件 38776 2018-11-12 17:29 ReferenceClient\bin\Debug\Microsoft.AspNetCore.Http.Extensions.dll
文件 32120 2018-11-12 17:28 ReferenceClient\bin\Debug\Microsoft.AspNetCore.Http.Features.dll
文件 469368 2018-11-12 17:30 ReferenceClient\bin\Debug\Microsoft.AspNetCore.Server.Kestrel.Core.dll
文件 17272 2018-11-12 17:31 ReferenceClient\bin\Debug\Microsoft.AspNetCore.Server.Kestrel.dll
文件 14712 2018-11-12 17:30 ReferenceClient\bin\Debug\Microsoft.AspNetCore.Server.Kestrel.Https.dll
文件 45944 2018-11-12 17:30 ReferenceClient\bin\Debug\Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.dll
文件 41336 2018-11-12 17:30 ReferenceClient\bin\Debug\Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.dll
............此处省略178个文件信息
- 上一篇:MES通讯
- 下一篇:JSON C#与服务器通讯
相关资源
- 基于C#开发OPC客户端
- c# opc开发
- OPCUA:C#使用OpcUaHelper开源库开发客M
- 基于pcan-basic编译的上位机
- 压缩和解压(基于ICSharpCode)
- 大文件Socket 传输 客户端和服务端
- TcpClient C#2010读取PLC
- RSlinux Opc Client
- C# RPC框架(微服务)
- HJ212数据传输工具源码
- C#访问OPC(附代码讲解)
- 规约测试软件源码(PCL)
- C#编写的Gerber查看器
- C# winform Socket大文件传输
- 用C#实现PC与西门子PLC串行通讯
- C#实现封装SPC过程能力工具类ProcessC
- C# 使用 TcpClient,Socket 聊天
- OPC UA Server .Net源码,SDK
- 01 STM32F205 多功能LCD时钟-原理图PCB文件
- .net对接支付宝PC网页端
- PC桌面程序鼠标轨迹在Robotstudio中重现
- C#网络抓包MySniffer+WinPcap_中文技术文档
- C# 文件传输
- PCQQ协议 C#版本
- 0322 C# OPC UA 简单.zip
- C#RTSP以及FFmpeg视频传输Demo
- 基于C#和SharpPcap实现的sniffer
- VS C#语言编写的与plc通讯的OPC代码完整
- C#_UDP可靠文件传输
- c# 读取 wireshark pcap文件 官方源码
评论
共有 条评论