Wisdom.Utils.Driver
3.0.0-rc1
See the version list below for details.
dotnet add package Wisdom.Utils.Driver --version 3.0.0-rc1
NuGet\Install-Package Wisdom.Utils.Driver -Version 3.0.0-rc1
<PackageReference Include="Wisdom.Utils.Driver" Version="3.0.0-rc1" />
paket add Wisdom.Utils.Driver --version 3.0.0-rc1
#r "nuget: Wisdom.Utils.Driver, 3.0.0-rc1"
// Install Wisdom.Utils.Driver as a Cake Addin #addin nuget:?package=Wisdom.Utils.Driver&version=3.0.0-rc1&prerelease // Install Wisdom.Utils.Driver as a Cake Tool #tool nuget:?package=Wisdom.Utils.Driver&version=3.0.0-rc1&prerelease
一个通讯框架,支持串口和网口,内置Modbus和Fins协议,旨在让开发者关注协议本身,而不必维护通讯的细节。
1. 抽象了通讯方式
不用编写通讯方面的代码,通过配置选择串口或者网口通讯,例如串口设备增加了串口服务器变成网口通讯的情况。
2. 封装了通讯流程
可指定超时时间、重试次数,自动处理发送和接收同步的问题,带有收发日志和事件上报。
3. 应答报文的完整性检查
可选择固定长度的应答、使用指定的长度字节来判断、以固定标志结尾、等待固定时间或者没有应答。
4. 校验方式
可选择校验和、异或校验、CRC16,支持自定义扩展。
5. 驱动与协议分离
一个驱动下可以使用不同的协议,例如读取和设置命令返回的报文格式不同的情况。
6. 内嵌常用协议
内置Modbus和Fins驱动。另外,依赖此框架开发的DLT645驱动是独立的项目,不在此项目中。
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. 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. |
-
- Wisdom.Utils (>= 2.1.2)
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,894 | 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,222 | 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.0.0-rc1](**与之前版本不兼容**)
支持异步操作,区分上下行规约,引入规则的概念