mirror of
https://github.com/DarthAffe/OBD.NET.git
synced 2025-12-12 16:58:30 +00:00
Compare commits
7 Commits
35af0f8c15
...
1c2794874b
| Author | SHA1 | Date | |
|---|---|---|---|
| 1c2794874b | |||
| 6f0ec9b4e1 | |||
| 97ad2a6a72 | |||
| 2b4dadfd12 | |||
| 68d34568bf | |||
| c09f81a741 | |||
|
|
d39b447380 |
@ -1,12 +1,12 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net5.0;netstandard1.4</TargetFrameworks>
|
||||
<TargetFrameworks>net5.0;net6.0;netstandard1.4</TargetFrameworks>
|
||||
<Authors>Darth Affe / Roman Lumetsberger</Authors>
|
||||
<Company>-</Company>
|
||||
<Product>OBD.NET</Product>
|
||||
<Description>C#-Library to read/write data from/to a car through an ELM327-/STN1170-Adapter</Description>
|
||||
<Version>1.1.0</Version>
|
||||
<Version>1.2.0</Version>
|
||||
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<RepositoryType>Github</RepositoryType>
|
||||
@ -25,6 +25,10 @@
|
||||
<DefineConstants>NET5_0;NETFULL</DefineConstants>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0'">
|
||||
<DefineConstants>NET6_0;NETFULL</DefineConstants>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard1.4'">
|
||||
<DefineConstants>NETCORE;NETSTANDARD;NETSTANDARD1_4</DefineConstants>
|
||||
</PropertyGroup>
|
||||
|
||||
@ -54,9 +54,9 @@
|
||||
<Project>{D985B70E-CDF3-4CF1-AB5D-8D19C7FE7B31}</Project>
|
||||
<Name>OBD.NET.Common</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ODB.NET.Desktop\ODB.NET.Desktop.csproj">
|
||||
<ProjectReference Include="..\OBD.NET.Desktop\OBD.NET.Desktop.csproj">
|
||||
<Project>{14CB98E1-95DE-4923-8896-FDF5171AA49E}</Project>
|
||||
<Name>ODB.NET.Desktop</Name>
|
||||
<Name>OBD.NET.Desktop</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
@ -5,10 +5,10 @@ using OBD.NET.Common.Devices;
|
||||
using OBD.NET.Common.Extensions;
|
||||
using OBD.NET.Common.Logging;
|
||||
using OBD.NET.Common.OBDData;
|
||||
using ODB.NET.Desktop.Communication;
|
||||
using ODB.NET.Desktop.Logging;
|
||||
using OBD.NET.Desktop.Communication;
|
||||
using OBD.NET.Desktop.Logging;
|
||||
|
||||
namespace ODB.NET.ConsoleClient
|
||||
namespace OBD.NET.ConsoleClient
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
@ -4,11 +4,11 @@ using System.Runtime.InteropServices;
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("ODB.NET.ConsoleClient")]
|
||||
[assembly: AssemblyTitle("OBD.NET.ConsoleClient")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("ODB.NET.ConsoleClient")]
|
||||
[assembly: AssemblyProduct("OBD.NET.ConsoleClient")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2017")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
@ -21,7 +21,7 @@ using System.Runtime.InteropServices;
|
||||
using System.Threading;
|
||||
|
||||
// Source: http://antanas.veiverys.com/mono-serialport-datareceived-event-workaround-using-a-derived-class/
|
||||
namespace ODB.NET.Desktop.Communication
|
||||
namespace OBD.NET.Desktop.Communication
|
||||
{
|
||||
[DesignerCategory("Code")]
|
||||
public class EnhancedSerialPort : SerialPort
|
||||
@ -6,7 +6,7 @@ using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using OBD.NET.Common.Communication;
|
||||
|
||||
namespace ODB.NET.Desktop.Communication
|
||||
namespace OBD.NET.Desktop.Communication
|
||||
{
|
||||
public class SerialConnection : ISerialConnection
|
||||
{
|
||||
@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using OBD.NET.Common.Logging;
|
||||
|
||||
namespace ODB.NET.Desktop.Logging
|
||||
namespace OBD.NET.Desktop.Logging
|
||||
{
|
||||
/// <summary>
|
||||
/// Simple console logger
|
||||
@ -1,12 +1,12 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net5.0;net461</TargetFrameworks>
|
||||
<TargetFrameworks>net5.0;net6.0;net461</TargetFrameworks>
|
||||
<Authors>Darth Affe / Roman Lumetsberger</Authors>
|
||||
<Company>-</Company>
|
||||
<Product>OBD.NET</Product>
|
||||
<Description>C#-Library to read/write data from/to a car through an ELM327-/STN1170-Adapter</Description>
|
||||
<Version>1.1.0</Version>
|
||||
<Version>1.2.0</Version>
|
||||
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<RepositoryType>Github</RepositoryType>
|
||||
@ -25,6 +25,10 @@
|
||||
<DefineConstants>NET5_0;NETFULL</DefineConstants>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0'">
|
||||
<DefineConstants>NET6_0;NETFULL</DefineConstants>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(TargetFramework)' == 'net461'">
|
||||
<DefineConstants>NET461;NETFULL</DefineConstants>
|
||||
</PropertyGroup>
|
||||
@ -47,6 +51,10 @@
|
||||
<PackageReference Include="System.IO.Ports" Version="5.0.1" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
|
||||
<PackageReference Include="System.IO.Ports" Version="6.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\OBD.NET.Common\OBD.NET.Common.csproj" />
|
||||
</ItemGroup>
|
||||
@ -5,11 +5,11 @@ VisualStudioVersion = 15.0.26403.7
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OBD.NET.Common", "OBD.NET.Common\OBD.NET.Common.csproj", "{D985B70E-CDF3-4CF1-AB5D-8D19C7FE7B31}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ODB.NET.Desktop", "ODB.NET.Desktop\ODB.NET.Desktop.csproj", "{14CB98E1-95DE-4923-8896-FDF5171AA49E}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OBD.NET.Desktop", "OBD.NET.Desktop\OBD.NET.Desktop.csproj", "{14CB98E1-95DE-4923-8896-FDF5171AA49E}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OBD.NET.Universal", "OBD.NET.Universal\OBD.NET.Universal.csproj", "{E0EAFF82-C514-4827-8F49-F1928EBA8E73}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ODB.NET.ConsoleClient", "ODB.NET.ConsoleClient\ODB.NET.ConsoleClient.csproj", "{8F8EC5D5-94BD-47CF-9714-CA8C0198BDDC}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OBD.NET.ConsoleClient", "OBD.NET.ConsoleClient\OBD.NET.ConsoleClient.csproj", "{8F8EC5D5-94BD-47CF-9714-CA8C0198BDDC}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
C#-Library to read/write data from/to a car through an ELM327-/STN1170-Adapter
|
||||
|
||||
## Projects
|
||||
* OBD.NET.Common - NetStandard 1.4 Library for platform independent stuff
|
||||
* OBD.NET.Desktop - Implemenation of SerialConnection on full .NET Framework
|
||||
* [OBD.NET.Common](https://www.nuget.org/packages/OBD.NET.Common) - NetStandard 1.4 Library for platform independent stuff
|
||||
* [OBD.NET.Desktop](https://www.nuget.org/packages/OBD.NET.Desktop) - Implemenation of SerialConnection on full .NET Framework
|
||||
* OBD.NET.Universal - Implementation of BluetoothSerialConnection for connecting to Bluetooth Adapter on UWP
|
||||
* OBD.NET.ConsoleClient - Example client application using SerialConnection on full .NET Framework
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user