forked from IoTSharp/IoTSharp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2. 将数据库访问移动到子目录中 3.将扩展进行分类,尽可能通用。 减少干涉。
- Loading branch information
Showing
64 changed files
with
4,698 additions
and
249 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
namespace IoTSharp.Contracts | ||
{ | ||
public class TelemetryDataDto | ||
{ | ||
public string KeyName { get; set; } | ||
|
||
public DateTime DateTime { get; set; } | ||
public Data.DataType DataType { get; set; } | ||
public object Value { get; set; } | ||
} | ||
} |
11 changes: 5 additions & 6 deletions
11
IoTSharp/Storage/EFStorage.cs → IoTSharp.Data.TimeSeries/EFStorage.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
IoTSharp/Storage/IStorage.cs → IoTSharp.Data.TimeSeries/IStorage.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 2 additions & 7 deletions
9
IoTSharp/Storage/InfluxDBStorage.cs → IoTSharp.Data.TimeSeries/InfluxDBStorage.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
IoTSharp/Storage/IoTDBStorage.cs → IoTSharp.Data.TimeSeries/IoTDBStorage.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
|
||
<PackageReference Include="Apache.IoTDB.Data" Version="0.13.0.8" /> | ||
|
||
<PackageReference Include="EFCore.Sharding" Version="6.0.7" /> | ||
|
||
<PackageReference Include="hyjiacan.pinyin4net" Version="4.1.1" /> | ||
|
||
<PackageReference Include="InfluxDB.Client" Version="4.5.0" /> | ||
<PackageReference Include="IoTSharp.Data.Taos" Version="2.6.2" /> | ||
<PackageReference Include="PinusDB" Version="1.0.10" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\IoTSharp.Contracts\IoTSharp.Contracts.csproj" /> | ||
<ProjectReference Include="..\IoTSharp.Data\IoTSharp.Data.csproj" /> | ||
<ProjectReference Include="..\IoTSharp.Extensions.EFCore\IoTSharp.Extensions.EFCore.csproj" /> | ||
<ProjectReference Include="..\IoTSharp.Extensions\IoTSharp.Extensions.csproj" /> | ||
</ItemGroup> | ||
|
||
</Project> |
8 changes: 3 additions & 5 deletions
8
IoTSharp/Storage/PinusDBStorage.cs → IoTSharp.Data.TimeSeries/PinusDBStorage.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
IoTSharp/Storage/ShardingStorage.cs → IoTSharp.Data.TimeSeries/ShardingStorage.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 5 additions & 7 deletions
12
IoTSharp/Storage/TaosStorage.cs → IoTSharp.Data.TimeSeries/TaosStorage.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
IoTSharp/Storage/TimescaleDBStorage.cs → ...arp.Data.TimeSeries/TimescaleDBStorage.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.