Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
39525791cb | |||
f2f979eac2 |
33
Changelog.md
Normal file
33
Changelog.md
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
# Changelog
|
||||||
|
|
||||||
|
## 1.4.0 - 2022-01-09 - Cleanup
|
||||||
|
### New Features
|
||||||
|
* add changelog.md
|
||||||
|
### Bugfixes
|
||||||
|
### Changes
|
||||||
|
* add link to utils in readme
|
||||||
|
|
||||||
|
## 1.3.0 - 2021-01-09 - Default netcore
|
||||||
|
### New Features
|
||||||
|
### Bugfixes
|
||||||
|
### Changes
|
||||||
|
* Netcore is now the default projekt
|
||||||
|
|
||||||
|
## 1.2.0 - 2019-11-25 - Add netcore
|
||||||
|
### New Features
|
||||||
|
* add netcore version
|
||||||
|
### Bugfixes
|
||||||
|
### Changes
|
||||||
|
* Using newer C# language version
|
||||||
|
|
||||||
|
## 1.1.0 - 2019-05-29 - Add documentation
|
||||||
|
### New Features
|
||||||
|
* Add Readme.md, Licence, Contribution.md
|
||||||
|
### Bugfixes
|
||||||
|
### Changes
|
||||||
|
|
||||||
|
## 1.0.0.0 - 2019-02-14 - Init
|
||||||
|
### New Features
|
||||||
|
* Init release
|
||||||
|
### Bugfixes
|
||||||
|
### Changes
|
31
Iot-Interfaces-4.7.1.sln
Normal file
31
Iot-Interfaces-4.7.1.sln
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 16
|
||||||
|
VisualStudioVersion = 16.0.29519.87
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Iot-Interfaces", "Iot-Interfaces\Iot-Interfaces-4.7.1.csproj", "{4DAADA29-C600-4CF3-8AD3-9C97C8D7F632}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Utils", "..\Utils\Utils\Utils-4.7.1.csproj", "{FAC8CE64-BF13-4ECE-8097-AEB5DD060098}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{4DAADA29-C600-4CF3-8AD3-9C97C8D7F632}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{4DAADA29-C600-4CF3-8AD3-9C97C8D7F632}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{4DAADA29-C600-4CF3-8AD3-9C97C8D7F632}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{4DAADA29-C600-4CF3-8AD3-9C97C8D7F632}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{FAC8CE64-BF13-4ECE-8097-AEB5DD060098}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{FAC8CE64-BF13-4ECE-8097-AEB5DD060098}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{FAC8CE64-BF13-4ECE-8097-AEB5DD060098}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{FAC8CE64-BF13-4ECE-8097-AEB5DD060098}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {6B5D61A4-D0B6-4C5C-8C8D-76EBD5ED55CE}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
|
|||||||
# Visual Studio Version 16
|
# Visual Studio Version 16
|
||||||
VisualStudioVersion = 16.0.29519.87
|
VisualStudioVersion = 16.0.29519.87
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Iot-Interfaces", "Iot-Interfaces\Iot-Interfaces.csproj", "{4DAADA29-C600-4CF3-8AD3-9C97C8D7F632}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Iot-Interfaces", "Iot-Interfaces\Iot-Interfaces.csproj", "{C673B8CF-FCAD-4FEF-9744-DB3E6E546C12}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Utils", "..\Utils\Utils\Utils.csproj", "{FAC8CE64-BF13-4ECE-8097-AEB5DD060098}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Utils", "..\Utils\Utils\Utils.csproj", "{99709124-FAB4-479B-BB01-A34733FF4190}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
@ -13,19 +13,19 @@ Global
|
|||||||
Release|Any CPU = Release|Any CPU
|
Release|Any CPU = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
{4DAADA29-C600-4CF3-8AD3-9C97C8D7F632}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{C673B8CF-FCAD-4FEF-9744-DB3E6E546C12}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{4DAADA29-C600-4CF3-8AD3-9C97C8D7F632}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{C673B8CF-FCAD-4FEF-9744-DB3E6E546C12}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{4DAADA29-C600-4CF3-8AD3-9C97C8D7F632}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{C673B8CF-FCAD-4FEF-9744-DB3E6E546C12}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{4DAADA29-C600-4CF3-8AD3-9C97C8D7F632}.Release|Any CPU.Build.0 = Release|Any CPU
|
{C673B8CF-FCAD-4FEF-9744-DB3E6E546C12}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
{FAC8CE64-BF13-4ECE-8097-AEB5DD060098}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{99709124-FAB4-479B-BB01-A34733FF4190}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{FAC8CE64-BF13-4ECE-8097-AEB5DD060098}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{99709124-FAB4-479B-BB01-A34733FF4190}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{FAC8CE64-BF13-4ECE-8097-AEB5DD060098}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{99709124-FAB4-479B-BB01-A34733FF4190}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{FAC8CE64-BF13-4ECE-8097-AEB5DD060098}.Release|Any CPU.Build.0 = Release|Any CPU
|
{99709124-FAB4-479B-BB01-A34733FF4190}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
SolutionGuid = {6B5D61A4-D0B6-4C5C-8C8D-76EBD5ED55CE}
|
SolutionGuid = {81CC4108-C7A3-4B34-A0EE-7EC946F58C28}
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
EndGlobal
|
EndGlobal
|
||||||
|
61
Iot-Interfaces/Iot-Interfaces-4.7.1.csproj
Normal file
61
Iot-Interfaces/Iot-Interfaces-4.7.1.csproj
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{4DAADA29-C600-4CF3-8AD3-9C97C8D7F632}</ProjectGuid>
|
||||||
|
<OutputType>Library</OutputType>
|
||||||
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
|
<RootNamespace>BlubbFish.Utils.IoT.Interfaces</RootNamespace>
|
||||||
|
<AssemblyName>Iot-Interfaces</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<TargetFrameworkProfile />
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Core" />
|
||||||
|
<Reference Include="System.Xml.Linq" />
|
||||||
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
|
<Reference Include="Microsoft.CSharp" />
|
||||||
|
<Reference Include="System.Data" />
|
||||||
|
<Reference Include="System.Net.Http" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="ISenml.cs" />
|
||||||
|
<Compile Include="IMqtt.cs" />
|
||||||
|
<Compile Include="Language\Senml.cs" />
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="..\CONTRIBUTING.md" />
|
||||||
|
<Content Include="..\LICENSE" />
|
||||||
|
<Content Include="..\README.md" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\..\Utils\Utils\Utils.csproj">
|
||||||
|
<Project>{fac8ce64-bf13-4ece-8097-aeb5dd060098}</Project>
|
||||||
|
<Name>Utils</Name>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
</Project>
|
@ -1,61 +1,38 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
||||||
<ProjectGuid>{4DAADA29-C600-4CF3-8AD3-9C97C8D7F632}</ProjectGuid>
|
|
||||||
<OutputType>Library</OutputType>
|
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
||||||
<RootNamespace>BlubbFish.Utils.IoT.Interfaces</RootNamespace>
|
<RootNamespace>BlubbFish.Utils.IoT.Interfaces</RootNamespace>
|
||||||
<AssemblyName>Iot-Interfaces</AssemblyName>
|
<AssemblyName>Iot-Interfaces</AssemblyName>
|
||||||
<TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
|
<PackageId>Interfaces.IoT.Utils.BlubbFish</PackageId>
|
||||||
<FileAlignment>512</FileAlignment>
|
<Version>1.4.0</Version>
|
||||||
<TargetFrameworkProfile />
|
<NeutralLanguage>de-DE</NeutralLanguage>
|
||||||
</PropertyGroup>
|
<Description>Interfaces for IoT-Stuff</Description>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<Authors>BlubbFish</Authors>
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<Company>BlubbFish</Company>
|
||||||
<DebugType>full</DebugType>
|
<Copyright>Copyright © BlubbFish 2018 - 09.01.2022</Copyright>
|
||||||
<Optimize>false</Optimize>
|
<PackageLicenseFile>LICENSE</PackageLicenseFile>
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
<PackageProjectUrl>http://git.blubbfish.net/vs_utils/Iot-Interfaces</PackageProjectUrl>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<RepositoryUrl>http://git.blubbfish.net/vs_utils/Iot-Interfaces.git</RepositoryUrl>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<RepositoryType>git</RepositoryType>
|
||||||
<WarningLevel>4</WarningLevel>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
||||||
<DebugType>pdbonly</DebugType>
|
|
||||||
<Optimize>true</Optimize>
|
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
|
||||||
<ErrorReport>prompt</ErrorReport>
|
|
||||||
<WarningLevel>4</WarningLevel>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="System" />
|
<ProjectReference Include="..\..\Utils\Utils\Utils.csproj" />
|
||||||
<Reference Include="System.Core" />
|
|
||||||
<Reference Include="System.Xml.Linq" />
|
|
||||||
<Reference Include="System.Data.DataSetExtensions" />
|
|
||||||
<Reference Include="Microsoft.CSharp" />
|
|
||||||
<Reference Include="System.Data" />
|
|
||||||
<Reference Include="System.Net.Http" />
|
|
||||||
<Reference Include="System.Xml" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="ISenml.cs" />
|
<Content Include="../CHANGELOG.md" />
|
||||||
<Compile Include="IMqtt.cs" />
|
<Content Include="../CONTRIBUTING.md" />
|
||||||
<Compile Include="Language\Senml.cs" />
|
<Content Include="../LICENSE" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Content Include="../README.md" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="..\CONTRIBUTING.md" />
|
<None Include="..\LICENSE">
|
||||||
<Content Include="..\LICENSE" />
|
<Pack>True</Pack>
|
||||||
<Content Include="..\README.md" />
|
<PackagePath></PackagePath>
|
||||||
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
|
||||||
<ProjectReference Include="..\..\Utils\Utils\Utils.csproj">
|
</Project>
|
||||||
<Project>{fac8ce64-bf13-4ece-8097-aeb5dd060098}</Project>
|
|
||||||
<Name>Utils</Name>
|
|
||||||
</ProjectReference>
|
|
||||||
</ItemGroup>
|
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
||||||
</Project>
|
|
||||||
|
@ -1,37 +0,0 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
|
||||||
|
|
||||||
<PropertyGroup>
|
|
||||||
<TargetFramework>netcoreapp3.0</TargetFramework>
|
|
||||||
<RootNamespace>BlubbFish.Utils.IoT.Interfaces</RootNamespace>
|
|
||||||
<AssemblyName>Iot-Interfaces</AssemblyName>
|
|
||||||
<PackageId>Interfaces.IoT.Utils.BlubbFish</PackageId>
|
|
||||||
<AssemblyVersion>1.0.0</AssemblyVersion>
|
|
||||||
<FileVersion>1.0.0</FileVersion>
|
|
||||||
<NeutralLanguage>de-DE</NeutralLanguage>
|
|
||||||
<Description>Interfaces for IoT-Stuff</Description>
|
|
||||||
<Authors>BlubbFish</Authors>
|
|
||||||
<Company>BlubbFish</Company>
|
|
||||||
<Copyright>Copyright © BlubbFish 2018 - 02.05.2018</Copyright>
|
|
||||||
<PackageLicenseFile>LICENSE</PackageLicenseFile>
|
|
||||||
<PackageProjectUrl>http://git.blubbfish.net/vs_utils/Iot-Interfaces</PackageProjectUrl>
|
|
||||||
<RepositoryUrl>http://git.blubbfish.net/vs_utils/Iot-Interfaces.git</RepositoryUrl>
|
|
||||||
<RepositoryType>git</RepositoryType>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<ProjectReference Include="..\..\Utils\Utils\Utils_Core.csproj" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<Content Include="../CONTRIBUTING.md" />
|
|
||||||
<Content Include="../LICENSE" />
|
|
||||||
<Content Include="../README.md" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="..\LICENSE">
|
|
||||||
<Pack>True</Pack>
|
|
||||||
<PackagePath></PackagePath>
|
|
||||||
</None>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
</Project>
|
|
@ -1,48 +1,48 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Diagnostics.CodeAnalysis;
|
using System.Diagnostics.CodeAnalysis;
|
||||||
|
|
||||||
namespace BlubbFish.Utils.IoT.Interfaces.Language {
|
namespace BlubbFish.Utils.IoT.Interfaces.Language {
|
||||||
public abstract class Senml {
|
public abstract class Senml {
|
||||||
[SuppressMessage("Microsoft.Design", "IDE1006", Justification = "Must be lowercase")]
|
[SuppressMessage("Microsoft.Design", "IDE1006", Justification = "Must be lowercase")]
|
||||||
public String n { get; }
|
public String n { get; }
|
||||||
[SuppressMessage("Microsoft.Design", "IDE1006", Justification = "Must be lowercase")]
|
[SuppressMessage("Microsoft.Design", "IDE1006", Justification = "Must be lowercase")]
|
||||||
public String u { get; }
|
public String u { get; }
|
||||||
[SuppressMessage("Microsoft.Design", "IDE1006", Justification = "Must be lowercase")]
|
[SuppressMessage("Microsoft.Design", "IDE1006", Justification = "Must be lowercase")]
|
||||||
public Int32 t { get; }
|
public Int32 t { get; }
|
||||||
|
|
||||||
public enum Units {
|
public enum Units {
|
||||||
[Description("%")]
|
[Description("%")]
|
||||||
Percent,
|
Percent,
|
||||||
[Description("count")]
|
[Description("count")]
|
||||||
CounterValue,
|
CounterValue,
|
||||||
[Description("W")]
|
[Description("W")]
|
||||||
Watt,
|
Watt,
|
||||||
[Description("J")]
|
[Description("J")]
|
||||||
Joule,
|
Joule,
|
||||||
[Description("Cel")]
|
[Description("Cel")]
|
||||||
Celsius,
|
Celsius,
|
||||||
[Description("lx")]
|
[Description("lx")]
|
||||||
Lux
|
Lux
|
||||||
}
|
}
|
||||||
|
|
||||||
public Senml(String name, Units unit) {
|
public Senml(String name, Units unit) {
|
||||||
this.n = name;
|
this.n = name;
|
||||||
this.u = Helper.GetEnumDescription(unit);
|
this.u = Helper.GetEnumDescription(unit);
|
||||||
this.t = 0;
|
this.t = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
public class SenmlBool : Senml {
|
public class SenmlBool : Senml {
|
||||||
[SuppressMessage("Microsoft.Design", "IDE1006", Justification = "Must be lowercase")]
|
[SuppressMessage("Microsoft.Design", "IDE1006", Justification = "Must be lowercase")]
|
||||||
public Boolean bv { get; }
|
public Boolean bv { get; }
|
||||||
|
|
||||||
public SenmlBool(String name, Units unit, Boolean level) : base(name, unit) => this.bv = level;
|
public SenmlBool(String name, Units unit, Boolean level) : base(name, unit) => this.bv = level;
|
||||||
}
|
}
|
||||||
public class SenmlDouble : Senml {
|
public class SenmlDouble : Senml {
|
||||||
[SuppressMessage("Microsoft.Design", "IDE1006", Justification = "Must be lowercase")]
|
[SuppressMessage("Microsoft.Design", "IDE1006", Justification = "Must be lowercase")]
|
||||||
public Double v { get; }
|
public Double v { get; }
|
||||||
|
|
||||||
public SenmlDouble(String name, Units unit, Double level) : base(name, unit) => this.v = level;
|
public SenmlDouble(String name, Units unit, Double level) : base(name, unit) => this.v = level;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,31 +0,0 @@
|
|||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
|
||||||
# Visual Studio Version 16
|
|
||||||
VisualStudioVersion = 16.0.29519.87
|
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Iot-Interfaces_Core", "Iot-Interfaces\Iot-Interfaces_Core.csproj", "{C673B8CF-FCAD-4FEF-9744-DB3E6E546C12}"
|
|
||||||
EndProject
|
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Utils_Core", "..\Utils\Utils\Utils_Core.csproj", "{99709124-FAB4-479B-BB01-A34733FF4190}"
|
|
||||||
EndProject
|
|
||||||
Global
|
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
|
||||||
Debug|Any CPU = Debug|Any CPU
|
|
||||||
Release|Any CPU = Release|Any CPU
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
|
||||||
{C673B8CF-FCAD-4FEF-9744-DB3E6E546C12}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{C673B8CF-FCAD-4FEF-9744-DB3E6E546C12}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{C673B8CF-FCAD-4FEF-9744-DB3E6E546C12}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{C673B8CF-FCAD-4FEF-9744-DB3E6E546C12}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
{99709124-FAB4-479B-BB01-A34733FF4190}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{99709124-FAB4-479B-BB01-A34733FF4190}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{99709124-FAB4-479B-BB01-A34733FF4190}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{99709124-FAB4-479B-BB01-A34733FF4190}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
|
||||||
HideSolutionNode = FALSE
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
|
||||||
SolutionGuid = {81CC4108-C7A3-4B34-A0EE-7EC946F58C28}
|
|
||||||
EndGlobalSection
|
|
||||||
EndGlobal
|
|
@ -1,2 +1,6 @@
|
|||||||
# BlubbFish.Utils.IoT.Interfaces (Iot-Interfaces)
|
# BlubbFish.Utils.IoT.Interfaces (Iot-Interfaces)
|
||||||
Library that provides Interfaces for IoT stuff
|
Library that provides Interfaces for IoT stuff
|
||||||
|
|
||||||
|
## Linking to
|
||||||
|
### Internal
|
||||||
|
* BlubbFish.Utils ([Utils](http://git.blubbfish.net/vs_utils/Utils))
|
Loading…
Reference in New Issue
Block a user