Aspdcs.Rtu 1.3.3

dotnet add package Aspdcs.Rtu --version 1.3.3
                    
NuGet\Install-Package Aspdcs.Rtu -Version 1.3.3
                    
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="Aspdcs.Rtu" Version="1.3.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Aspdcs.Rtu" Version="1.3.3" />
                    
Directory.Packages.props
<PackageReference Include="Aspdcs.Rtu" />
                    
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 Aspdcs.Rtu --version 1.3.3
                    
#r "nuget: Aspdcs.Rtu, 1.3.3"
                    
#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 Aspdcs.Rtu@1.3.3
                    
#: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=Aspdcs.Rtu&version=1.3.3
                    
Install as a Cake Addin
#tool nuget:?package=Aspdcs.Rtu&version=1.3.3
                    
Install as a Cake Tool

Aspdcs.Rtu

面向 .NET 9 的 RTU 通讯基础设施库,为 DLT645、TCP、BACnet 等协议提供统一的抽象层和工具集。

功能特性

  • 通道抽象 - 统一的通信通道接口,支持串口、TCP、UDP 等多种传输方式
  • 消息队列 - 异步消息处理队列,支持背压控制和优先级调度
  • 依赖注入 - 完整的 DI 扩展,便于集成到 ASP.NET Core 或主机服务
  • 缓存支持 - 基于 FusionCache 的高性能分布式缓存抽象
  • 响应式扩展 - 集成 System.Reactive,支持响应式编程模式

快速开始

using Aspdcs.Rtu.Contracts;
using Microsoft.Extensions.DependencyInjection;

var services = new ServiceCollection();
services.AddRtuServices(); // 注册 RTU 基础服务

var provider = services.BuildServiceProvider();

包含组件

  • Contracts/ - 核心接口与契约定义
  • Attributes/ - 特性标记(如 LibraryCapacities)
  • Extensions/ - 扩展方法集合
  • Queue/ - 消息队列实现

依赖项

  • Microsoft.Extensions.Hosting.Abstractions
  • Microsoft.Extensions.Caching.Memory
  • ZiggyCreatures.FusionCache
  • System.Reactive

授权

MIT License - Copyright © 2025 Aspdcs

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 was computed.  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 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 Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen 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 (1)

Showing the top 1 NuGet packages that depend on Aspdcs.Rtu:

Package Downloads
Aspdcs.Rtu.DLT645

DLT645 电力行业通信协议实现库,支持 DLT645-1997 和 DLT645-2007 协议

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.3.3 220 12/24/2025
1.3.2 215 12/24/2025
1.3.1 213 12/23/2025
1.2.1-rc-1 211 12/23/2025
1.2.0 206 12/22/2025
1.1.0-rc.4 204 12/19/2025