Wisdom.Utils.Driver
3.1.2
See the version list below for details.
dotnet add package Wisdom.Utils.Driver --version 3.1.2
NuGet\Install-Package Wisdom.Utils.Driver -Version 3.1.2
<PackageReference Include="Wisdom.Utils.Driver" Version="3.1.2" />
paket add Wisdom.Utils.Driver --version 3.1.2
#r "nuget: Wisdom.Utils.Driver, 3.1.2"
// Install Wisdom.Utils.Driver as a Cake Addin #addin nuget:?package=Wisdom.Utils.Driver&version=3.1.2 // Install Wisdom.Utils.Driver as a Cake Tool #tool nuget:?package=Wisdom.Utils.Driver&version=3.1.2
一个通讯框架,支持串口和网口,内置Modbus和Fins协议,旨在让开发者关注协议本身,而不必维护通讯的细节。
1. 抽象了通讯方式
不用编写通讯方面的代码,通过配置选择串口或者网口通讯,例如串口设备增加了串口服务器变成网口通讯的情况。
2. 封装了通讯流程
可指定超时时间、重试次数,自动处理发送和接收同步的问题,带有收发日志和事件上报。
3. 应答报文的完整性检查
可选择固定长度的应答、使用指定的长度字节来判断、以固定标志结尾、等待固定时间或者没有应答。
4. 校验方式
可选择校验和、异或校验、CRC16,支持自定义扩展。
5. 驱动与协议分离
一个驱动下可以使用不同的协议,例如读取和设置命令返回的报文格式不同的情况。
6. 内嵌常用协议
内置Modbus和Fins驱动。另外,依赖此框架开发的DLT645驱动是独立的项目,不在此项目中。
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. |
.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 | net40 is compatible. net403 was computed. net45 is compatible. net451 was computed. net452 was computed. net46 was computed. 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. |
-
.NETFramework 4.0
- Microsoft.Bcl.Async (>= 1.0.168)
- Wisdom.Utils (>= 2.2.0.1)
-
.NETFramework 4.5
- Wisdom.Utils (>= 2.2.0.1)
-
.NETStandard 2.0
- System.Configuration.ConfigurationManager (>= 4.7.0)
- System.IO.Ports (>= 4.7.0)
- System.Management (>= 4.7.0)
- Wisdom.Utils (>= 2.2.0.1)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Wisdom.Utils.Driver:
Package | Downloads |
---|---|
Wisdom.Drivers.Meters
电能表驱动,兼容645和698协议。 |
|
Wisdom.Utils.Driver.Server
Wisdom.Utils.Driver库的扩展包,驱动作为tcp服务端时使用 |
|
Wisdom.Drivers.Hipots
耐压仪驱动 |
|
Wisdom.Protocols.Dlt645
Dlt645协议 |
|
Wisdom.Protocols.Oop698
698协议 |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.1.5 | 2,897 | 5/22/2020 |
3.1.4 | 631 | 5/21/2020 |
3.1.3.1 | 631 | 5/15/2020 |
3.1.3 | 621 | 5/15/2020 |
3.1.2 | 1,160 | 4/16/2020 |
3.1.1 | 932 | 3/31/2020 |
3.1.0 | 514 | 3/30/2020 |
3.0.0 | 2,104 | 12/23/2019 |
3.0.0-rc1 | 611 | 12/12/2019 |
2.1.3 | 1,224 | 10/30/2019 |
2.1.2 | 2,194 | 9/23/2019 |
2.1.1 | 2,943 | 8/10/2019 |
2.1.0-rc1 | 1,056 | 7/17/2019 |
2.0.9 | 756 | 5/13/2019 |
2.0.8.1 | 624 | 4/24/2019 |
2.0.7.1 | 569 | 4/14/2019 |
2.0.5 | 612 | 4/3/2019 |
2.0.4.1 | 621 | 3/19/2019 |
1.3.1 | 619 | 3/5/2019 |
1.2.0 | 644 | 2/24/2019 |
1.1.1 | 1,015 | 3/20/2018 |
[3.1.2]
1. 新增一种长度规则BitLengthRule,用于报文长度不固定的情况下,通过长度字节的某些位来检查报文是否完整(例如1376.1协议,长度两个字节,第2~15位代表长度)