@@ -332,7 +332,7 @@ JT808Serializer DT2JT808Serializer = new JT808Serializer(DT2JT808Config); | |||||
场景: | 场景: | ||||
由于协议库本身可能存在消息解析出错的情况,要么就提PR上来,但是不一定会及时发布,这时候就需要自己把原有的消息解析复制出来,改造好,然后重新注册。 | 由于协议库本身可能存在消息解析出错的情况,要么就提PR上来,但是不一定会及时发布,这时候就需要自己把原有的消息解析复制出来,改造好,然后重新注册。 | ||||
[可以参考Simples的Demo14](https://github.com/SmallChi/JT808/blob/master/src/JT808.Protocol.Test/Simples/Demo13.cs) | |||||
[可以参考Simples的Demo13](https://github.com/SmallChi/JT808/blob/master/src/JT808.Protocol.Test/Simples/Demo13.cs) | |||||
### 举个栗子14 | ### 举个栗子14 | ||||
@@ -1,20 +1,33 @@ | |||||
<Project> | <Project> | ||||
<PropertyGroup> | |||||
<TargetFrameworks>netstandard2.0;netstandard2.1;net5.0;</TargetFrameworks> | |||||
<LangVersion>9.0</LangVersion> | |||||
<Copyright>Copyright 2018.</Copyright> | |||||
<Authors>SmallChi(Koike)</Authors> | |||||
<RepositoryUrl>https://github.com/SmallChi/JT808</RepositoryUrl> | |||||
<PackageProjectUrl>https://github.com/SmallChi/JT808</PackageProjectUrl> | |||||
<licenseUrl>https://github.com/SmallChi/JT808/blob/master/LICENSE</licenseUrl> | |||||
<license>https://github.com/SmallChi/JT808/blob/master/LICENSE</license> | |||||
<Version>2.4.3</Version> | |||||
<PackageLicenseFile>LICENSE</PackageLicenseFile> | |||||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance> | |||||
<AnalysisLevel>latest</AnalysisLevel> | |||||
<EnableNETAnalyzers>true</EnableNETAnalyzers> | |||||
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild> | |||||
<GeneratePackageOnBuild>false</GeneratePackageOnBuild> | |||||
<PropertyGroup> | |||||
<TargetFrameworks>netstandard2.0;netstandard2.1;net5.0;</TargetFrameworks> | |||||
<LangVersion>9.0</LangVersion> | |||||
<Copyright>Copyright 2018.</Copyright> | |||||
<Authors>SmallChi(Koike)</Authors> | |||||
<RepositoryUrl>https://github.com/SmallChi/JT808</RepositoryUrl> | |||||
<PackageProjectUrl>https://github.com/SmallChi/JT808</PackageProjectUrl> | |||||
<licenseUrl>https://github.com/SmallChi/JT808/blob/master/LICENSE</licenseUrl> | |||||
<license>https://github.com/SmallChi/JT808/blob/master/LICENSE</license> | |||||
<Version>2.4.4-preview1</Version> | |||||
<PackageLicenseFile>LICENSE</PackageLicenseFile> | |||||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance> | |||||
<AnalysisLevel>latest</AnalysisLevel> | |||||
<EnableNETAnalyzers>true</EnableNETAnalyzers> | |||||
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild> | |||||
<GeneratePackageOnBuild>false</GeneratePackageOnBuild> | |||||
<PackageReadmeFile>README.md</PackageReadmeFile> | <PackageReadmeFile>README.md</PackageReadmeFile> | ||||
<PublishRepositoryUrl>true</PublishRepositoryUrl> | |||||
<DebugSymbols>true</DebugSymbols> | |||||
<DebugType>embedded</DebugType> | |||||
</PropertyGroup> | |||||
<PropertyGroup Condition="'$(Configuration)' == 'Release'"> | |||||
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> | |||||
<Deterministic>true</Deterministic> | |||||
<EmbedUntrackedSources>true</EmbedUntrackedSources> | |||||
</PropertyGroup> | </PropertyGroup> | ||||
<ItemGroup> | |||||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/> | |||||
</ItemGroup> | |||||
</Project> | </Project> |
@@ -9,11 +9,8 @@ | |||||
</PropertyGroup> | </PropertyGroup> | ||||
<ItemGroup> | <ItemGroup> | ||||
<None Include="..\..\..\LICENSE"> | |||||
<Pack>True</Pack> | |||||
<PackagePath></PackagePath> | |||||
</None> | |||||
<None Include="..\..\..\README.md" Pack="true" PackagePath="\"/> | |||||
<None Include="..\..\..\LICENSE" Pack="true" PackagePath=""/> | |||||
<None Include="..\..\..\README.md" Pack="true" PackagePath=""/> | |||||
</ItemGroup> | </ItemGroup> | ||||
<ItemGroup> | <ItemGroup> | ||||
@@ -9,11 +9,8 @@ | |||||
</PropertyGroup> | </PropertyGroup> | ||||
<ItemGroup> | <ItemGroup> | ||||
<None Include="..\..\..\LICENSE"> | |||||
<Pack>True</Pack> | |||||
<PackagePath></PackagePath> | |||||
</None> | |||||
<None Include="..\..\..\README.md" Pack="true" PackagePath="\"/> | |||||
<None Include="..\..\..\LICENSE" Pack="true" PackagePath=""/> | |||||
<None Include="..\..\..\README.md" Pack="true" PackagePath=""/> | |||||
</ItemGroup> | </ItemGroup> | ||||
@@ -9,11 +9,8 @@ | |||||
</PropertyGroup> | </PropertyGroup> | ||||
<ItemGroup> | <ItemGroup> | ||||
<None Include="..\..\..\LICENSE"> | |||||
<Pack>True</Pack> | |||||
<PackagePath></PackagePath> | |||||
</None> | |||||
<None Include="..\..\..\README.md" Pack="true" PackagePath="\" /> | |||||
<None Include="..\..\..\LICENSE" Pack="true" PackagePath=""/> | |||||
<None Include="..\..\..\README.md" Pack="true" PackagePath="" /> | |||||
</ItemGroup> | </ItemGroup> | ||||
<ItemGroup> | <ItemGroup> | ||||
@@ -6,6 +6,7 @@ | |||||
<Description>JT808协议、GB808协议、道路运输车辆卫星定位系统-北斗兼容车载终端通讯协议(支持2011、2013、2019版本)</Description> | <Description>JT808协议、GB808协议、道路运输车辆卫星定位系统-北斗兼容车载终端通讯协议(支持2011、2013、2019版本)</Description> | ||||
<PackageReleaseNotes>JT808协议、GB808协议、道路运输车辆卫星定位系统-北斗兼容车载终端通讯协议(支持2011、2013、2019版本)</PackageReleaseNotes> | <PackageReleaseNotes>JT808协议、GB808协议、道路运输车辆卫星定位系统-北斗兼容车载终端通讯协议(支持2011、2013、2019版本)</PackageReleaseNotes> | ||||
<DocumentationFile>JT808.Protocol.xml</DocumentationFile> | <DocumentationFile>JT808.Protocol.xml</DocumentationFile> | ||||
<PackageReadmeFile>README.md</PackageReadmeFile> | |||||
</PropertyGroup> | </PropertyGroup> | ||||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.0|AnyCPU'"> | <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.0|AnyCPU'"> | ||||
@@ -30,11 +31,8 @@ | |||||
<EmbeddedResource Remove="Metadata\JT808LocationAttachProperties\**" /> | <EmbeddedResource Remove="Metadata\JT808LocationAttachProperties\**" /> | ||||
<None Remove="Formatters\MessageBodyFormatters\**" /> | <None Remove="Formatters\MessageBodyFormatters\**" /> | ||||
<None Remove="Metadata\JT808LocationAttachProperties\**" /> | <None Remove="Metadata\JT808LocationAttachProperties\**" /> | ||||
<None Include="..\..\LICENSE"> | |||||
<Pack>True</Pack> | |||||
<PackagePath></PackagePath> | |||||
</None> | |||||
<None Include="..\..\README.md" Pack="true" PackagePath="\"/> | |||||
<None Include="..\..\LICENSE" Pack="true" PackagePath="" /> | |||||
<None Include="..\..\README.md" Pack="true" PackagePath=""/> | |||||
<None Include="..\.editorconfig" Link=".editorconfig" /> | <None Include="..\.editorconfig" Link=".editorconfig" /> | ||||
</ItemGroup> | </ItemGroup> | ||||