浏览代码

修复8103参数id的类型对应不上

tags/v2.2.3
waterliu99 5 年前
父节点
当前提交
257c82b843
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/JT808.Protocol/Internal/JT808_0x8103_Factory.cs

+ 1
- 1
src/JT808.Protocol/Internal/JT808_0x8103_Factory.cs 查看文件

@@ -107,7 +107,7 @@ namespace JT808.Protocol.Interfaces
uint paramId = 0; uint paramId = 0;
try try
{ {
paramId = (ushort)type.GetProperty(nameof(JT808_0x8103_BodyBase.ParamId)).GetValue(instance);
paramId = (uint)type.GetProperty(nameof(JT808_0x8103_BodyBase.ParamId)).GetValue(instance);
} }
catch (Exception ex) catch (Exception ex)
{ {


正在加载...
取消
保存