CSoft.TopPortLib 9.9.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package CSoft.TopPortLib --version 9.9.2
                    
NuGet\Install-Package CSoft.TopPortLib -Version 9.9.2
                    
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="CSoft.TopPortLib" Version="9.9.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CSoft.TopPortLib" Version="9.9.2" />
                    
Directory.Packages.props
<PackageReference Include="CSoft.TopPortLib" />
                    
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 CSoft.TopPortLib --version 9.9.2
                    
#r "nuget: CSoft.TopPortLib, 9.9.2"
                    
#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 CSoft.TopPortLib@9.9.2
                    
#: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=CSoft.TopPortLib&version=9.9.2
                    
Install as a Cake Addin
#tool nuget:?package=CSoft.TopPortLib&version=9.9.2
                    
Install as a Cake Tool

c# 通讯库使用

为什么要使用通讯库?

1.集成同步口,异步口。

2.集成各种分包方式,节省每次编写成本,降低代码出错,使程序员专注于业务逻辑,并且,如果认为自己写的分包更好,实现接口IParser,即可接入。

3.支持各种通讯口,例如:串口,Tcp client, Tcp server,蓝牙,命名管道,等等,如果在库中未列出只需要实现接口IPhysicalPort ,即可接入使用,享受通讯库提供的自动重连,上层分包,通讯队列等一系列服务。

4.整库使用异步开发,不卡UI。

5.使用标准库开发,支持.net framework 4.8,.net core,.net8, .net 9。

6.低代码量,简单配置,即可完成复杂操作

总结:通讯是上位机开发中重要的一环,稍有错误,导致严重bug,使用通讯库,可以省去大量重复工作量,使程序员更专注于业务逻辑开发。

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 is compatible.  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 was computed.  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 Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on CSoft.TopPortLib:

Package Downloads
CSoft.Protocol.ProtocolInterface

协议接口

GalaxySmartDeviceCore

如果银河系有旋律,星星一定是发光的IoT设备。做可信赖的智慧工业物联网的生态型伙伴,听一听宇宙终极乐章。

FTIRSpectrometerCore

基于设备私有网络应用层通信协议开发为傅里叶红外光谱产品服务的配套模块库

CSoft.Communication.Bluetooth

Package Description

FTIRSpectrometerBusiness

傅里叶红外光谱商用库是为傅里叶红外光谱产品服务的配套模块,基于设备私有网络应用层通信协议开发。它提供了一组功能强大的接口和工具,方便用户对傅里叶红外光谱产品进行操作和控制,具有高度可定制、高效稳定、易于使用、灵活可扩展等特点。

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
9.13.2 0 7/22/2025
9.13.1 0 7/22/2025
9.13.0 0 7/22/2025
9.12.4 119 7/17/2025 9.12.4 is deprecated because it has critical bugs.
9.12.3 236 7/16/2025 9.12.3 is deprecated because it has critical bugs.
9.12.2 398 6/27/2025 9.12.2 is deprecated because it has critical bugs.
9.12.1 267 6/25/2025 9.12.1 is deprecated because it has critical bugs.
9.12.0 437 6/4/2025 9.12.0 is deprecated because it has critical bugs.
9.11.3 285 5/30/2025 9.11.3 is deprecated because it is no longer maintained.
9.11.2 259 5/27/2025 9.11.2 is deprecated because it is no longer maintained.
9.11.1 336 5/22/2025 9.11.1 is deprecated because it is no longer maintained.
9.11.0 277 5/21/2025 9.11.0 is deprecated because it is no longer maintained.
9.10.2 411 3/20/2025 9.10.2 is deprecated because it is no longer maintained.
9.10.1 321 3/18/2025 9.10.1 is deprecated because it is no longer maintained.
9.10.0 298 3/17/2025 9.10.0 is deprecated because it is no longer maintained.
9.9.2 478 2/19/2025 9.9.2 is deprecated because it is no longer maintained.
9.9.1 232 2/18/2025 9.9.1 is deprecated because it is no longer maintained.
9.9.0 225 2/17/2025 9.9.0 is deprecated because it is no longer maintained.
9.8.1 194 2/14/2025 9.8.1 is deprecated because it is no longer maintained.
9.8.0 198 2/12/2025 9.8.0 is deprecated because it is no longer maintained.
9.7.1 206 2/12/2025 9.7.1 is deprecated because it is no longer maintained.
9.7.0 196 2/12/2025 9.7.0 is deprecated because it is no longer maintained.
9.6.0 189 2/10/2025 9.6.0 is deprecated because it is no longer maintained.
9.5.3 186 2/8/2025 9.5.3 is deprecated because it is no longer maintained.
9.5.2 188 2/8/2025 9.5.2 is deprecated because it is no longer maintained.
9.5.1 283 1/23/2025 9.5.1 is deprecated because it is no longer maintained.
9.5.0 224 1/20/2025 9.5.0 is deprecated because it is no longer maintained.
9.4.1 177 1/20/2025 9.4.1 is deprecated because it is no longer maintained.
9.4.0 251 1/2/2025 9.4.0 is deprecated because it is no longer maintained.
9.3.0 405 12/28/2024 9.3.0 is deprecated because it is no longer maintained.
9.2.0 166 12/28/2024 9.2.0 is deprecated because it is no longer maintained.
9.1.0 520 11/29/2024 9.1.0 is deprecated because it is no longer maintained.
9.0.0 291 11/22/2024 9.0.0 is deprecated because it is no longer maintained.
8.3.1 2,457 9/3/2024
8.3.0 771 6/28/2024
8.2.9 263 6/25/2024 8.2.9 is deprecated because it is no longer maintained.
8.2.8 211 6/21/2024 8.2.8 is deprecated because it is no longer maintained.
8.2.7 426 6/11/2024 8.2.7 is deprecated because it is no longer maintained.
8.2.6 273 6/7/2024 8.2.6 is deprecated because it is no longer maintained.
8.2.5 189 6/6/2024 8.2.5 is deprecated because it is no longer maintained.
8.2.4 178 6/6/2024 8.2.4 is deprecated because it is no longer maintained.
8.2.3 186 6/6/2024 8.2.3 is deprecated because it is no longer maintained.
8.2.2-pre 136 5/31/2024 8.2.2-pre is deprecated because it is no longer maintained.
8.2.1-pre 130 5/30/2024 8.2.1-pre is deprecated because it is no longer maintained.
8.2.0 189 5/30/2024 8.2.0 is deprecated because it is no longer maintained.
8.1.7 235 5/28/2024 8.1.7 is deprecated because it is no longer maintained.
8.1.6 754 4/30/2024 8.1.6 is deprecated because it is no longer maintained.
8.1.5 220 4/29/2024 8.1.5 is deprecated because it is no longer maintained.
8.1.3 364 4/11/2024 8.1.3 is deprecated because it is no longer maintained.
8.1.2 266 4/10/2024 8.1.2 is deprecated because it is no longer maintained.
8.1.1 223 3/22/2024 8.1.1 is deprecated because it is no longer maintained.
8.1.0 281 3/11/2024 8.1.0 is deprecated because it has critical bugs.
8.0.9 259 2/28/2024 8.0.9 is deprecated because it has critical bugs.
8.0.8 231 2/4/2024 8.0.8 is deprecated because it is no longer maintained.
8.0.7 187 2/4/2024 8.0.7 is deprecated because it has critical bugs.
8.0.6 421 12/28/2023 8.0.6 is deprecated because it is no longer maintained.
8.0.5 201 12/28/2023 8.0.5 is deprecated because it is no longer maintained.
8.0.4 261 12/20/2023 8.0.4 is deprecated because it is no longer maintained.
8.0.3 252 12/14/2023 8.0.3 is deprecated because it is no longer maintained.
8.0.2 223 12/12/2023 8.0.2 is deprecated because it has critical bugs.
8.0.1 427 12/4/2023 8.0.1 is deprecated because it is no longer maintained.
8.0.0 477 11/15/2023 8.0.0 is deprecated because it has critical bugs.
7.0.6 364 9/19/2023 7.0.6 is deprecated because it is no longer maintained.
7.0.5 625 8/28/2023 7.0.5 is deprecated because it has critical bugs.
7.0.4 241 8/17/2023 7.0.4 is deprecated because it is no longer maintained.
7.0.3 2,550 2/28/2023 7.0.3 is deprecated because it is no longer maintained.
7.0.2 574 2/27/2023 7.0.2 is deprecated because it is no longer maintained.
7.0.1 2,133 2/13/2023 7.0.1 is deprecated because it is no longer maintained.
7.0.0 2,876 11/9/2022 7.0.0 is deprecated because it is no longer maintained.
6.6.2 549 10/24/2022 6.6.2 is deprecated because it is no longer maintained.
6.6.1 856 10/17/2022 6.6.1 is deprecated because it is no longer maintained.
6.6.0 524 10/17/2022 6.6.0 is deprecated because it is no longer maintained.
6.5.2 557 10/15/2022 6.5.2 is deprecated because it is no longer maintained.
6.5.1 655 10/15/2022 6.5.1 is deprecated because it is no longer maintained.
6.5.0 832 10/14/2022 6.5.0 is deprecated because it is no longer maintained.
6.4.3 541 10/14/2022 6.4.3 is deprecated because it is no longer maintained.
6.4.2 549 10/14/2022 6.4.2 is deprecated because it is no longer maintained.
6.4.1 552 10/13/2022 6.4.1 is deprecated because it has critical bugs.
6.4.0 558 10/13/2022 6.4.0 is deprecated because it is no longer maintained.
6.3.0 564 10/13/2022 6.3.0 is deprecated because it is no longer maintained.
6.2.6 846 9/30/2022 6.2.6 is deprecated because it is no longer maintained.
6.2.5 534 9/30/2022 6.2.5 is deprecated because it is no longer maintained.
6.2.4 721 9/26/2022 6.2.4 is deprecated because it is no longer maintained.
6.2.3 712 9/23/2022 6.2.3 is deprecated because it is no longer maintained.
6.2.2 625 9/23/2022 6.2.2 is deprecated because it has critical bugs.
6.2.1 611 9/22/2022 6.2.1 is deprecated because it is no longer maintained.
6.2.0 1,303 8/19/2022 6.2.0 is deprecated because it is no longer maintained.
6.1.2 608 8/12/2022 6.1.2 is deprecated because it has critical bugs.
6.1.1 604 5/26/2022 6.1.1 is deprecated because it is no longer maintained.
6.0.9 706 5/19/2022 6.0.9 is deprecated because it has critical bugs.
6.0.5 591 5/17/2022 6.0.5 is deprecated because it is no longer maintained.
6.0.4 601 5/13/2022 6.0.4 is deprecated because it is no longer maintained.
6.0.3 633 3/15/2022 6.0.3 is deprecated because it is no longer maintained.
6.0.2 582 3/15/2022 6.0.2 is deprecated because it is no longer maintained.
6.0.1 762 11/9/2021 6.0.1 is deprecated because it is no longer maintained.
5.1.4 623 8/18/2021 5.1.4 is deprecated because it is no longer maintained.
5.1.3 656 7/8/2021 5.1.3 is deprecated because it is no longer maintained.
5.1.2 595 7/8/2021 5.1.2 is deprecated because it has critical bugs.
5.1.1 521 7/8/2021 5.1.1 is deprecated because it has critical bugs.
5.1.0 825 7/7/2021 5.1.0 is deprecated because it has critical bugs.
5.0.9 633 7/7/2021 5.0.9 is deprecated because it has critical bugs.
5.0.8 712 3/11/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 707 1/26/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 610 1/23/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 652 1/22/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 649 1/11/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 611 1/11/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 682 11/18/2020 5.0.2 is deprecated because it is no longer maintained.
5.0.1 800 11/18/2020 5.0.1 is deprecated because it has critical bugs.
1.0.2 682 11/18/2020 1.0.2 is deprecated because it is no longer maintained.
1.0.1 695 10/12/2020 1.0.1 is deprecated because it has critical bugs.
1.0.0 776 6/30/2020 1.0.0 is deprecated because it has critical bugs.

构造函数移除了 `isDisconnectedWhenZero` 参数,并简化了数据读取逻辑