DoNetDrive.Protocol.Door
2.19.0
dotnet add package DoNetDrive.Protocol.Door --version 2.19.0
NuGet\Install-Package DoNetDrive.Protocol.Door -Version 2.19.0
<PackageReference Include="DoNetDrive.Protocol.Door" Version="2.19.0" />
<PackageVersion Include="DoNetDrive.Protocol.Door" Version="2.19.0" />
<PackageReference Include="DoNetDrive.Protocol.Door" />
paket add DoNetDrive.Protocol.Door --version 2.19.0
#r "nuget: DoNetDrive.Protocol.Door, 2.19.0"
#:package DoNetDrive.Protocol.Door@2.19.0
#addin nuget:?package=DoNetDrive.Protocol.Door&version=2.19.0
#tool nuget:?package=DoNetDrive.Protocol.Door&version=2.19.0
DoNetDrive.Protocol.Door
介绍
用于定义门禁控制器 FC89\FC89H\MC58 型号设备的命令,包含命令协议文档中的所有章节
软件架构
基于 netstandard2.0 ;
使用说明
读取设备SN示例
var mAllocator = ConnectorAllocator.GetAllocator();
var cmdDtl = CommandDetailFactory.CreateDetail(CommandDetailFactory.ConnectType.TCPClient, "192.168.1.158", 8000,
CommandDetailFactory.ControllerType.Door88, "0000000000000000", "FFFFFFFF");
ReadSN cmd = new ReadSN(cmdDtl);
try
{
await mAllocator.AddCommandAsync(cmd);
var snResult = cmd.getResult() as SN_Result;
Console.WriteLine(System.Text.Encoding.ASCII.GetString(snResult.SNBuf));
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
}
//释放
mAllocator.Dispose();
远程开门示例
var mAllocator = ConnectorAllocator.GetAllocator();
var cmdDtl = CommandDetailFactory.CreateDetail(CommandDetailFactory.ConnectType.TCPClient, "192.168.1.158", 8000,
CommandDetailFactory.ControllerType.Door89H, "FC-8940H43030001", "FFFFFFFF");
var doorDetail = new DoNetDrive.Protocol.Door.Door8800.Door.DoorDetail<bool>();
doorDetail.SetDoor(1, true);
var cmd = new OpenDoor(cmdDtl,new Remote_Parameter(doorDetail));
try
{
await mAllocator.AddCommandAsync(cmd);
Console.WriteLine("开门成功");
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
}
//释放
mAllocator.Dispose();
版本记录
ver 2.02.0
更新引用的 DoNetDrive.Core 版本到 2.04
ver 2.03.0
更新引用的 DoNetDrive.Protocol版本到 2.02 解决由于版本引用问题导致的错误
ver 2.04.0
增加适用于 FC89H、MC-59T的门禁控制板的在线升级函数。
ver 2.05.0
修改节假日API,修复命令错误的bug,适用于 门禁控制器
ver 2.06.0
修改设备SN检查函数,增加支持SN中带有小写字母
ver 2.07.0
更新 DoNetDrive.Core 的依赖版本到 v2.09
ver 2.08.0
更新 DoNetDrive.Protocol 的依赖版本到 v2.04 ReadSN 命令增加参数 UDPBroadcast 用于指示在UDP广播时让设备使用广播回复 CacheContent 增加参数字段 ContentBytes ,以便将任意二进制数据写入到设备
ver 2.09.0
AddTimeGroup 开门时段上传时,可选择上传1-64组,不用64组全部传一次,最少可以只传一组
ver 2.10.0
DelteCard 命令改为每次删除3张卡
ver 2.11.0
DelteCard 命令改为每次删除2张卡
ver 2.12.0
DoNetDrive.Protocol.Door.Door8800.Data.CardTransaction 增加 IsPasswordCode,Password 字段,增加 PasswordCodeTable 静态字段
ver 2.13.0
更新引用库版本
ver 2.15.0
DoNetDrive.Protocol.Door.Door89H.Password.PasswordDetail 类增加 SetDoor 用来设置密码适用的门 DoNetDrive.Protocol.Door.Door89H.Password.AddPassword 添加密码时的有效期范围增加到 2099-12-31 23:59:59
ver 2.16.0
增加一些枚举以便于增加代码可读性
ver 2.17.0
增加区域消防报警控制命令
ver 2.18.0
修复读取门禁控制板记录,没有返回最后读指针位置的bug
ver 2.19.0
修改注释不准确以及修改加密通讯开关参数类型
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 | 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. |
-
.NETStandard 2.0
- DoNetDrive.Protocol (>= 2.7.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on DoNetDrive.Protocol.Door:
Package | Downloads |
---|---|
DoNetDrive.Protocol.Fingerprint
用于定义指纹机、人脸机 FCA103、FC8300及相关产品族的设备命令 |
|
DoNetDrive.Protocol.Elevator
用于定义电梯控制板的设备命令 |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
2.19.0 | 503 | 7/23/2025 |
2.18.0 | 150 | 7/8/2025 |
2.17.0 | 146 | 7/2/2025 |
2.16.0 | 235 | 12/20/2024 |
2.15.0 | 292 | 12/14/2023 |
2.13.0 | 358 | 10/9/2023 |
2.12.0 | 167 | 10/8/2023 |
2.11.0 | 324 | 7/12/2023 |
2.10.0 | 200 | 6/19/2023 |
2.9.0 | 314 | 5/10/2023 |
2.8.0 | 873 | 12/24/2022 |
2.7.0 | 2,137 | 8/24/2022 |
2.6.0 | 2,101 | 6/27/2022 |
2.5.0 | 1,078 | 5/9/2022 |
2.4.0 | 517 | 4/15/2022 |
2.3.0 | 1,330 | 4/2/2022 |
2.2.0 | 500 | 4/2/2022 |
2.1.0 | 819 | 1/10/2022 |