-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from jiilaa/net60
.NET 6.0
- Loading branch information
Showing
40 changed files
with
654 additions
and
408 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace net.jommy.RuuviCore.Common | ||
{ | ||
public class AlertSettings | ||
{ | ||
public List<string> EndPoints { get; set; } | ||
} | ||
} |
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,8 @@ | ||
namespace net.jommy.RuuviCore.Common; | ||
|
||
public class AlertThresholds | ||
{ | ||
public decimal? MinValidValue { get; set; } | ||
|
||
public decimal? MaxValidValue { get; set; } | ||
} |
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard2.1</TargetFramework> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<RootNamespace>net.jommy.RuuviCore.Common</RootNamespace> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Orleans.Streams.Utils" Version="9.0.0" /> | ||
<PackageReference Include="Orleans.Streams.Utils" Version="11.1.0" /> | ||
</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
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 |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netcoreapp3.0</TargetFramework> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<RootNamespace>net.jommy.Orleans</RootNamespace> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.Orleans.Core" Version="3.3.0" /> | ||
<PackageReference Include="Microsoft.Orleans.Core.Abstractions" Version="3.3.0" /> | ||
<PackageReference Include="Microsoft.Orleans.Runtime.Abstractions" Version="3.3.0" /> | ||
<PackageReference Include="Microsoft.Orleans.Core" Version="3.6.2" /> | ||
<PackageReference Include="Microsoft.Orleans.Core.Abstractions" Version="3.6.2" /> | ||
<PackageReference Include="Microsoft.Orleans.Runtime.Abstractions" Version="3.6.2" /> | ||
</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 |
---|---|---|
@@ -1,16 +1,20 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netcoreapp3.0</TargetFramework> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<RootNamespace>net.jommy.RuuviCore.Interfaces</RootNamespace> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.Orleans.CodeGenerator.MSBuild" Version="3.3.0"> | ||
<PackageReference Include="Microsoft.Orleans.CodeGenerator.MSBuild" Version="3.6.2"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
<PackageReference Include="Microsoft.Orleans.Core.Abstractions" Version="3.3.0" /> | ||
<PackageReference Include="Microsoft.Orleans.Core.Abstractions" Version="3.6.2" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\Common\Common.csproj" /> | ||
</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 |
---|---|---|
@@ -1,17 +1,12 @@ | ||
using System; | ||
|
||
namespace net.jommy.RuuviCore.Interfaces | ||
{ | ||
[Serializable] | ||
public class MeasurementEnvelope | ||
{ | ||
public MeasurementEnvelope() | ||
{ | ||
} | ||
namespace net.jommy.RuuviCore.Interfaces; | ||
|
||
public string MacAddress { get; set; } | ||
public DateTime Timestamp { get; set; } | ||
public short SignalStrength { get; set; } | ||
public byte[] Data { get; set; } | ||
} | ||
[Serializable] | ||
public class MeasurementEnvelope | ||
{ | ||
public string MacAddress { get; set; } | ||
public DateTime Timestamp { get; set; } | ||
public short? SignalStrength { get; set; } | ||
public byte[] Data { get; set; } | ||
} |
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
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
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 |
---|---|---|
@@ -1,10 +1,15 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Threading.Tasks; | ||
|
||
namespace net.jommy.RuuviCore.GrainServices | ||
{ | ||
public interface IDeviceListener : IDisposable | ||
{ | ||
Task StartListeningAsync(); | ||
|
||
bool IsAlive(); | ||
|
||
Task HandleDataAsync(IDictionary<ushort, object> manufacturerData); | ||
} | ||
} |
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.