Industrial.Communication.DependencyInjection
0.1.1
dotnet add package Industrial.Communication.DependencyInjection --version 0.1.1
NuGet\Install-Package Industrial.Communication.DependencyInjection -Version 0.1.1
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="Industrial.Communication.DependencyInjection" Version="0.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Industrial.Communication.DependencyInjection" Version="0.1.1" />
<PackageReference Include="Industrial.Communication.DependencyInjection" />
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 Industrial.Communication.DependencyInjection --version 0.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Industrial.Communication.DependencyInjection, 0.1.1"
#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 Industrial.Communication.DependencyInjection@0.1.1
#: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=Industrial.Communication.DependencyInjection&version=0.1.1
#tool nuget:?package=Industrial.Communication.DependencyInjection&version=0.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Industrial Communication
面向 .NET Standard 2.1 的通用工业通信类库,可用于现代 .NET 应用中的设备连接、协议通信、数据采集和状态监控。
安装
dotnet add package Industrial.Communication.Protocols.Modbus --version 0.1.1
按需安装对应组件包:
Industrial.Communication.Abstractions:公共契约与数据模型Industrial.Communication.Core:可靠通信、重试、队列、监控、历史与回放Industrial.Communication.Transports:Serial、TCP Client/Server 和 UDP 传输Industrial.Communication.Protocols.Modbus:Modbus TCP/RTUIndustrial.Communication.Protocols.S7:Siemens S7 ISO-on-TCPIndustrial.Communication.Protocols.Mc:Mitsubishi MC 3E BinaryIndustrial.Communication.Protocols.OpcUa:OPC UAIndustrial.Communication.Adapters:数字 IO、运动控制、扫码和称重设备适配器Industrial.Communication.DependencyInjection:依赖注入注册扩展
文档与示例
从 完整使用指南 或 快速开始 入门。进一步参阅 架构说明、Modbus、PLC/S7/MC、OPC UA 与设备适配器、可靠性与可观测性、故障排查、安全说明、API 兼容性 和 支持矩阵。
运行 TCP Echo 示例:
dotnet run --project samples/ServerAndSimulator -- 5020
dotnet run --project samples/BasicClient -- 127.0.0.1 5020 "hello"
运行 Modbus TCP 模拟器与客户端:
dotnet run --project samples/ServerAndSimulator -- modbus 5020
dotnet run --project samples/BasicClient -- modbus 127.0.0.1 5020
运行 Modbus、S7、MC 统一变量监视示例:
dotnet run --project samples/PlcVariableMonitor
运行 OPC UA 订阅恢复与数字 IO 适配器示例:
dotnet run --project samples/OpcUaAndDevices
| Product | Versions 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 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 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 | 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.
-
.NETStandard 2.1
- Industrial.Communication.Adapters (>= 0.1.1)
- Industrial.Communication.Protocols.Mc (>= 0.1.1)
- Industrial.Communication.Protocols.Modbus (>= 0.1.1)
- Industrial.Communication.Protocols.OpcUa (>= 0.1.1)
- Industrial.Communication.Protocols.S7 (>= 0.1.1)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.8)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Correct package author metadata to WJP. No API changes.