@@ -46,15 +46,12 @@ | |||||
<Compile Include="JT809Enums\JT809BusinessType.cs" /> | <Compile Include="JT809Enums\JT809BusinessType.cs" /> | ||||
<Compile Include="JT809Enums\JT809SubBusinessType.cs" /> | <Compile Include="JT809Enums\JT809SubBusinessType.cs" /> | ||||
<Compile Include="JT809Enums\JT809VehicleColorType.cs" /> | <Compile Include="JT809Enums\JT809VehicleColorType.cs" /> | ||||
<Compile Include="JT809Enums\JT809WarnSrc.cs" /> | |||||
<Compile Include="JT809Enums\JT809_0x1502_PhotoRspFlag.cs" /> | <Compile Include="JT809Enums\JT809_0x1502_PhotoRspFlag.cs" /> | ||||
<Compile Include="JT809Enums\JT809_0x1501_Result.cs" /> | <Compile Include="JT809Enums\JT809_0x1501_Result.cs" /> | ||||
<Compile Include="JT809Enums\JT809_0x1505_Result.cs" /> | <Compile Include="JT809Enums\JT809_0x1505_Result.cs" /> | ||||
<Compile Include="JT809Enums\JT809_0x1503_Result.cs" /> | <Compile Include="JT809Enums\JT809_0x1503_Result.cs" /> | ||||
<Compile Include="JT809Enums\JT809_0x9403_WarnSrc.cs" /> | |||||
<Compile Include="JT809Enums\JT809_0x9402_WarnSrc.cs" /> | |||||
<Compile Include="JT809Enums\JT809_0x9401_WarnSrc.cs" /> | |||||
<Compile Include="JT809Enums\JT809_0x1403_Result.cs" /> | <Compile Include="JT809Enums\JT809_0x1403_Result.cs" /> | ||||
<Compile Include="JT809Enums\JT809_0x1402_WarnSrc.cs" /> | |||||
<Compile Include="JT809Enums\JT809_0x1401_Result.cs" /> | <Compile Include="JT809Enums\JT809_0x1401_Result.cs" /> | ||||
<Compile Include="JT809Enums\JT809_0x1002_Result.cs" /> | <Compile Include="JT809Enums\JT809_0x1002_Result.cs" /> | ||||
<Compile Include="JT809Enums\JT809_0x1007_ErrorCode.cs" /> | <Compile Include="JT809Enums\JT809_0x1007_ErrorCode.cs" /> | ||||
@@ -7,7 +7,7 @@ namespace JT809.Protocol.JT809Enums | |||||
/// <summary> | /// <summary> | ||||
/// 报警信息来源 | /// 报警信息来源 | ||||
/// </summary> | /// </summary> | ||||
public enum JT809_0x1402_WarnSrc : byte | |||||
public enum JT809WarnSrc : byte | |||||
{ | { | ||||
车载终端 = 0x00, | 车载终端 = 0x00, | ||||
企业监控平台 = 0x01, | 企业监控平台 = 0x01, |
@@ -1,17 +0,0 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace JT809.Protocol.JT809Enums | |||||
{ | |||||
/// <summary> | |||||
/// 报警信息来源 | |||||
/// </summary> | |||||
public enum JT809_0x9401_WarnSrc : byte | |||||
{ | |||||
车载终端 = 0x00, | |||||
企业监控平台 = 0x01, | |||||
政府监管平台 = 0x02, | |||||
其他 =0x09 | |||||
} | |||||
} |
@@ -1,17 +0,0 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace JT809.Protocol.JT809Enums | |||||
{ | |||||
/// <summary> | |||||
/// 报警信息来源 | |||||
/// </summary> | |||||
public enum JT809_0x9402_WarnSrc : byte | |||||
{ | |||||
车载终端 = 0x00, | |||||
企业监控平台 = 0x01, | |||||
政府监管平台 = 0x02, | |||||
其他 =0x09 | |||||
} | |||||
} |
@@ -1,17 +0,0 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Text; | |||||
namespace JT809.Protocol.JT809Enums | |||||
{ | |||||
/// <summary> | |||||
/// 报警信息来源 | |||||
/// </summary> | |||||
public enum JT809_0x9403_WarnSrc : byte | |||||
{ | |||||
车载终端 = 0x00, | |||||
企业监控平台 = 0x01, | |||||
政府监管平台 = 0x02, | |||||
其他 =0x09 | |||||
} | |||||
} |
@@ -13,7 +13,7 @@ namespace JT809.Protocol.JT809Formatters.JT809SubMessageBodyFormatters | |||||
{ | { | ||||
int offset = 0; | int offset = 0; | ||||
JT809_0x1400_0x1402 jT809_0X1400_0X1402 = new JT809_0x1400_0x1402(); | JT809_0x1400_0x1402 jT809_0X1400_0X1402 = new JT809_0x1400_0x1402(); | ||||
jT809_0X1400_0X1402.WarnSrc = (JT809Enums.JT809_0x1402_WarnSrc)JT809BinaryExtensions.ReadByteLittle(bytes, ref offset); | |||||
jT809_0X1400_0X1402.WarnSrc = (JT809Enums.JT809WarnSrc)JT809BinaryExtensions.ReadByteLittle(bytes, ref offset); | |||||
jT809_0X1400_0X1402.WarnType= JT809BinaryExtensions.ReadUInt16Little(bytes, ref offset); | jT809_0X1400_0X1402.WarnType= JT809BinaryExtensions.ReadUInt16Little(bytes, ref offset); | ||||
jT809_0X1400_0X1402.WarnTime = JT809BinaryExtensions.ReadUTCDateTimeLittle(bytes, ref offset); | jT809_0X1400_0X1402.WarnTime = JT809BinaryExtensions.ReadUTCDateTimeLittle(bytes, ref offset); | ||||
jT809_0X1400_0X1402.InfoID= JT809BinaryExtensions.ReadUInt32Little(bytes, ref offset); | jT809_0X1400_0X1402.InfoID= JT809BinaryExtensions.ReadUInt32Little(bytes, ref offset); | ||||
@@ -13,7 +13,7 @@ namespace JT809.Protocol.JT809Formatters.JT809SubMessageBodyFormatters | |||||
{ | { | ||||
int offset = 0; | int offset = 0; | ||||
JT809_0x9400_0x9401 jT809_0X9400_0X9401 = new JT809_0x9400_0x9401(); | JT809_0x9400_0x9401 jT809_0X9400_0X9401 = new JT809_0x9400_0x9401(); | ||||
jT809_0X9400_0X9401.WarnSrc = (JT809Enums.JT809_0x9401_WarnSrc)JT809BinaryExtensions.ReadByteLittle(bytes, ref offset); | |||||
jT809_0X9400_0X9401.WarnSrc = (JT809Enums.JT809WarnSrc)JT809BinaryExtensions.ReadByteLittle(bytes, ref offset); | |||||
jT809_0X9400_0X9401.WarnType = JT809BinaryExtensions.ReadUInt16Little(bytes, ref offset); | jT809_0X9400_0X9401.WarnType = JT809BinaryExtensions.ReadUInt16Little(bytes, ref offset); | ||||
jT809_0X9400_0X9401.WarnTime = JT809BinaryExtensions.ReadUTCDateTimeLittle(bytes, ref offset); | jT809_0X9400_0X9401.WarnTime = JT809BinaryExtensions.ReadUTCDateTimeLittle(bytes, ref offset); | ||||
jT809_0X9400_0X9401.SupervisionID = JT809BinaryExtensions.ReadUInt32Little(bytes, ref offset); | jT809_0X9400_0X9401.SupervisionID = JT809BinaryExtensions.ReadUInt32Little(bytes, ref offset); | ||||
@@ -13,7 +13,7 @@ namespace JT809.Protocol.JT809Formatters.JT809SubMessageBodyFormatters | |||||
{ | { | ||||
int offset = 0; | int offset = 0; | ||||
JT809_0x9400_0x9402 jT809_0X9400_0X9402 = new JT809_0x9400_0x9402(); | JT809_0x9400_0x9402 jT809_0X9400_0X9402 = new JT809_0x9400_0x9402(); | ||||
jT809_0X9400_0X9402.WarnSrc = (JT809Enums.JT809_0x9402_WarnSrc)JT809BinaryExtensions.ReadByteLittle(bytes, ref offset); | |||||
jT809_0X9400_0X9402.WarnSrc = (JT809Enums.JT809WarnSrc)JT809BinaryExtensions.ReadByteLittle(bytes, ref offset); | |||||
jT809_0X9400_0X9402.WarnType = JT809BinaryExtensions.ReadUInt16Little(bytes, ref offset); | jT809_0X9400_0X9402.WarnType = JT809BinaryExtensions.ReadUInt16Little(bytes, ref offset); | ||||
jT809_0X9400_0X9402.WarnTime = JT809BinaryExtensions.ReadUTCDateTimeLittle(bytes, ref offset); | jT809_0X9400_0X9402.WarnTime = JT809BinaryExtensions.ReadUTCDateTimeLittle(bytes, ref offset); | ||||
jT809_0X9400_0X9402.WarnLength = JT809BinaryExtensions.ReadUInt32Little(bytes, ref offset); | jT809_0X9400_0X9402.WarnLength = JT809BinaryExtensions.ReadUInt32Little(bytes, ref offset); | ||||
@@ -13,7 +13,7 @@ namespace JT809.Protocol.JT809Formatters.JT809SubMessageBodyFormatters | |||||
{ | { | ||||
int offset = 0; | int offset = 0; | ||||
JT809_0x9400_0x9403 jT809_0X9400_0X9403 = new JT809_0x9400_0x9403(); | JT809_0x9400_0x9403 jT809_0X9400_0X9403 = new JT809_0x9400_0x9403(); | ||||
jT809_0X9400_0X9403.WarnSrc = (JT809Enums.JT809_0x9403_WarnSrc)JT809BinaryExtensions.ReadByteLittle(bytes, ref offset); | |||||
jT809_0X9400_0X9403.WarnSrc = (JT809Enums.JT809WarnSrc)JT809BinaryExtensions.ReadByteLittle(bytes, ref offset); | |||||
jT809_0X9400_0X9403.WarnType = JT809BinaryExtensions.ReadUInt16Little(bytes, ref offset); | jT809_0X9400_0X9403.WarnType = JT809BinaryExtensions.ReadUInt16Little(bytes, ref offset); | ||||
jT809_0X9400_0X9403.WarnTime = JT809BinaryExtensions.ReadUTCDateTimeLittle(bytes, ref offset); | jT809_0X9400_0X9403.WarnTime = JT809BinaryExtensions.ReadUTCDateTimeLittle(bytes, ref offset); | ||||
jT809_0X9400_0X9403.WarnLength = JT809BinaryExtensions.ReadUInt32Little(bytes, ref offset); | jT809_0X9400_0X9403.WarnLength = JT809BinaryExtensions.ReadUInt32Little(bytes, ref offset); | ||||
@@ -11,7 +11,6 @@ namespace JT809.Protocol.JT809MessageBody | |||||
/// <para>描述:上级平台收到下级平台的主链路连接保持请求消息后,向下级平台返回.主链路连接保持应答消息,保持主链路的连接状态。</para> | /// <para>描述:上级平台收到下级平台的主链路连接保持请求消息后,向下级平台返回.主链路连接保持应答消息,保持主链路的连接状态。</para> | ||||
/// <para>主链路连接保持应答消息,数据体为空。</para> | /// <para>主链路连接保持应答消息,数据体为空。</para> | ||||
/// </summary> | /// </summary> | ||||
[JT809Formatter(typeof(JT809BodiesFormatter<JT809_0x1006>))] | |||||
public class JT809_0x1006:JT809Bodies | public class JT809_0x1006:JT809Bodies | ||||
{ | { | ||||
@@ -19,7 +19,7 @@ namespace JT809.Protocol.JT809SubMessageBody | |||||
/// <summary> | /// <summary> | ||||
/// 报警信息来源 | /// 报警信息来源 | ||||
/// </summary> | /// </summary> | ||||
public JT809_0x1402_WarnSrc WarnSrc { get; set; } | |||||
public JT809WarnSrc WarnSrc { get; set; } | |||||
/// <summary> | /// <summary> | ||||
/// 报警类型 | /// 报警类型 | ||||
/// </summary> | /// </summary> | ||||
@@ -18,7 +18,7 @@ namespace JT809.Protocol.JT809SubMessageBody | |||||
/// <summary> | /// <summary> | ||||
/// 报警信息来源 | /// 报警信息来源 | ||||
/// </summary> | /// </summary> | ||||
public JT809_0x9401_WarnSrc WarnSrc { get; set; } | |||||
public JT809WarnSrc WarnSrc { get; set; } | |||||
/// <summary> | /// <summary> | ||||
/// 报警类型 | /// 报警类型 | ||||
/// </summary> | /// </summary> | ||||
@@ -19,7 +19,7 @@ namespace JT809.Protocol.JT809SubMessageBody | |||||
/// <summary> | /// <summary> | ||||
/// 报警信息来源 | /// 报警信息来源 | ||||
/// </summary> | /// </summary> | ||||
public JT809_0x9402_WarnSrc WarnSrc { get; set; } | |||||
public JT809WarnSrc WarnSrc { get; set; } | |||||
/// <summary> | /// <summary> | ||||
/// 报警类型 | /// 报警类型 | ||||
/// </summary> | /// </summary> | ||||
@@ -19,7 +19,7 @@ namespace JT809.Protocol.JT809SubMessageBody | |||||
/// <summary> | /// <summary> | ||||
/// 报警信息来源 | /// 报警信息来源 | ||||
/// </summary> | /// </summary> | ||||
public JT809_0x9403_WarnSrc WarnSrc { get; set; } | |||||
public JT809WarnSrc WarnSrc { get; set; } | |||||
/// <summary> | /// <summary> | ||||
/// 报警类型 | /// 报警类型 | ||||
/// </summary> | /// </summary> | ||||