TianWeiToolsPro.Communication 3.2.6

dotnet add package TianWeiToolsPro.Communication --version 3.2.6
                    
NuGet\Install-Package TianWeiToolsPro.Communication -Version 3.2.6
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TianWeiToolsPro.Communication" Version="3.2.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TianWeiToolsPro.Communication" Version="3.2.6" />
                    
Directory.Packages.props
<PackageReference Include="TianWeiToolsPro.Communication" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TianWeiToolsPro.Communication --version 3.2.6
                    
#r "nuget: TianWeiToolsPro.Communication, 3.2.6"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package TianWeiToolsPro.Communication@3.2.6
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TianWeiToolsPro.Communication&version=3.2.6
                    
Install as a Cake Addin
#tool nuget:?package=TianWeiToolsPro.Communication&version=3.2.6
                    
Install as a Cake Tool

TianWeiToolsPro.Communication

TianWeiToolsPro.Communication 提供工业 PLC 通信、PLC 仿真服务、串口会话、报文分帧与设备协议定义,依赖 TianWeiToolsPro.Common。

目标框架与平台

支持 .NET Framework 4.7.2、4.8,以及 .NET 6、8、10;仅支持 x64 进程。

主要功能

功能 公开入口与说明
PLC 客户端 TianWeiToolsPro.Communication.Plc 中的 OmronTcp / OmronUdp、MelsecTcp / MelsecUdp、ModbusTcp / ModbusUdp
PLC 客户端工厂 TianWeiToolsPro.Communication.PlcFactory:按厂家与 TCP / UDP 类型创建支持的客户端
PLC 仿真服务 TianWeiToolsPro.Communication.Plc 中的 OmronFinsTcpServer / OmronFinsUdpServer、MelsecMcTcpServer / MelsecMcUdpServer、SiemensS7TcpServer;由 SimulatorFactory 创建
异步串口会话 TianWeiToolsPro.Communication.Serial 中的 SerialSession、SerialSessionFactory、SerialPortParameters 与 SerialPortLeaseRegistry,管理端口独占、请求执行、关闭与在途 I/O
报文分帧 DelimiterFrameDecoder、StxEtxFrameDecoder、ModbusRtuFrameDecoder
串口诊断 SerialResult、SerialErrorKind、SerialTrafficLog:事务结果、错误分类与报文记录
协议定义 TianWeiToolsPro.Communication.Protocols 中的 ProtocolDefinition、ProtocolDefinitionValidator、BuiltInProtocolCatalog,描述串口参数、报文、命令、字段与能力绑定
专用外设封装 电源、电子负载、I/O、I²C 与 SMBus 等串口设备辅助类

使用说明

PLC 点位地址、站号、数据格式和串口参数须按实际设备协议配置。客户端与仿真服务支持的协议组合分别由对应工厂决定;仿真服务不代表真实设备能力或现场验收结果。

异步串口会话的超时、取消和协议错误通过本次事务结果报告,不自动重发。关闭时仍须等待实际在途 I/O 收尾;会话共用同一个端口租约登记器,避免同一端口被重复占用。

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Framework net472 is compatible.  net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on TianWeiToolsPro.Communication:

Package Downloads
TianWeiToolsPro

整合通用工具、工业通讯、WPF控件及图像绘制的工具包。

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.2.6 108 10/31/2026
3.2.4 103 10/31/2026
3.2.3 102 10/27/2026
3.2.2 97 10/21/2026
3.2.0 111 9/29/2026
3.1.4 142 6/3/2026
3.1.0 136 3/23/2026