Skip to content

Commit

Permalink
none
Browse files Browse the repository at this point in the history
  • Loading branch information
bouyeijiang committed Oct 12, 2017
1 parent e53250c commit 1d5ab10
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
Binary file modified .vs/Bouyei.BeidouLSP/v15/sqlite3/storage.ide
Binary file not shown.
4 changes: 2 additions & 2 deletions Bouyei.BeidouLSP/Bouyei.BeidouLSP.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="IPackeEncodingProvider.cs" />
<Compile Include="IPacketProvider.cs" />
<Compile Include="JT808\Reponse\REP_PB_0001.cs">
<SubType>Code</SubType>
</Compile>
Expand Down Expand Up @@ -123,7 +123,7 @@
<Compile Include="JT808\Request\REQ_PB_8900.cs" />
<Compile Include="JT808\Request\REQ_PB_8A00.cs" />
<Compile Include="Nactive\Api.cs" />
<Compile Include="PacketEncodingProvider.cs" />
<Compile Include="PacketProvider.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="JT808\PacketBody.cs" />
<Compile Include="Structures\PacketCommand.cs" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Bouyei.BeidouLSP
{
using Structures;

public interface IPackeEncodingProvider
public interface IPacketProvider
{
byte[] Encode(PacketFrom item);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ namespace Bouyei.BeidouLSP
{
using Structures;

public class PacketEncodingProvider:IPackeEncodingProvider
public class PacketProvider:IPacketProvider
{
public PacketEncodingProvider()
public PacketProvider()
{ }

public static PacketEncodingProvider CreateProvider()
public static PacketProvider CreateProvider()
{
return new PacketEncodingProvider();
return new PacketProvider();
}

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion Bouyei.BeidouLSPDemo/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Program
{
static void Main(string[] args)
{
IPackeEncodingProvider pConvert = PacketEncodingProvider.CreateProvider();
IPacketProvider pConvert = PacketProvider.CreateProvider();
string phone = "18212001111";

//终端连接鉴权平台回复通用应答
Expand Down

0 comments on commit 1d5ab10

Please sign in to comment.