tie namespace and assembly names to directory structure

This commit is contained in:
ig 2023-02-25 15:53:58 +01:00
parent 599b23da2c
commit 955b0e7118
198 changed files with 372 additions and 430 deletions

View File

@ -3,13 +3,14 @@
<PropertyGroup> <PropertyGroup>
<Company>InnovEnergy</Company> <Company>InnovEnergy</Company>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<LangVersion>default</LangVersion> <LangVersion>preview</LangVersion>
<IsTrimmable>true</IsTrimmable> <IsTrimmable>true</IsTrimmable>
<RootNamespace>InnovEnergy</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
<InvariantGlobalization>true</InvariantGlobalization> <InvariantGlobalization>true</InvariantGlobalization>
<SuppressTrimAnalysisWarnings>false</SuppressTrimAnalysisWarnings> <SuppressTrimAnalysisWarnings>false</SuppressTrimAnalysisWarnings>
<RootNamespace>$(Company).$(MSBuildProjectDirectory.Replace($(SolutionDir), "").Replace("lib/", "Lib/").Replace("app/", "App/").Replace("src/", "").Replace("/","."))</RootNamespace>
<Authors>$(Company) Team</Authors>
</PropertyGroup> </PropertyGroup>
</Project> </Project>

View File

@ -65,7 +65,7 @@ EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Backend", "app/Backend/Backend.csproj", "{A56F58C2-B265-435B-A985-53B4D6F49B1A}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Backend", "app/Backend/Backend.csproj", "{A56F58C2-B265-435B-A985-53B4D6F49B1A}"
EndProject EndProject
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Units", "lib/Units/Units.csproj", "{C04FB6DA-23C6-46BB-9B21-8F4FBA32FFF7}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StatusData", "lib\StatusData\StatusData.csproj", "{C04FB6DA-23C6-46BB-9B21-8F4FBA32FFF7}"
EndProject EndProject
Global Global

View File

@ -1,12 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk.Web"> <Project Sdk="Microsoft.NET.Sdk.Web">
<Import Project="../InnovEnergy.app.props" />
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>preview</LangVersion>
<RootNamespace>Innovenergy.Backend</RootNamespace>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Flurl.Http" Version="3.2.4" /> <PackageReference Include="Flurl.Http" Version="3.2.4" />
@ -28,17 +21,10 @@
<PackageReference Include="Swashbuckle.AspNetCore.Filters.Abstractions" Version="7.0.6" /> <PackageReference Include="Swashbuckle.AspNetCore.Filters.Abstractions" Version="7.0.6" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<Reference Include="AWSSDK.Core">
<HintPath>..\..\..\..\..\..\.nuget\packages\awssdk.core\3.7.8.10\lib\netcoreapp3.1\AWSSDK.Core.dll</HintPath>
</Reference>
<Reference Include="SQLite-net">
<HintPath>..\..\..\..\..\.nuget\packages\sqlite-net-pcl\1.8.116\lib\netstandard2.0\SQLite-net.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\..\lib\WebServer\WebServer.csproj" /> <ProjectReference Include="..\..\lib\Utils\Utils.csproj" />
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@ -1,9 +1,9 @@
using CliWrap; using CliWrap;
using CliWrap.Buffered; using CliWrap.Buffered;
using InnovEnergy.Lib.Utils; using InnovEnergy.Lib.Utils;
using static InnovEnergy.BmsTunnel.CliPrograms; using static InnovEnergy.App.BmsTunnel.CliPrograms;
namespace InnovEnergy.BmsTunnel; namespace InnovEnergy.App.BmsTunnel;
using Nodes = IReadOnlyList<Byte>; using Nodes = IReadOnlyList<Byte>;

View File

@ -3,7 +3,7 @@ using System.Text;
using CliWrap.Buffered; using CliWrap.Buffered;
using InnovEnergy.Lib.Utils; using InnovEnergy.Lib.Utils;
namespace InnovEnergy.BmsTunnel; namespace InnovEnergy.App.BmsTunnel;
public class BmsTunnel : IDisposable public class BmsTunnel : IDisposable

View File

@ -1,10 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<Import Project="../InnovEnergy.app.props" /> <Import Project="../InnovEnergy.app.props" />
<PropertyGroup>
<RootNamespace>InnovEnergy.BmsTunnel</RootNamespace>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="CliWrap" Version="3.6.0" /> <PackageReference Include="CliWrap" Version="3.6.0" />
<PackageReference Include="System.IO.Ports" Version="7.0.0" /> <PackageReference Include="System.IO.Ports" Version="7.0.0" />

View File

@ -1,6 +1,6 @@
using CliWrap; using CliWrap;
namespace InnovEnergy.BmsTunnel; namespace InnovEnergy.App.BmsTunnel;
public static class CliPrograms public static class CliPrograms
{ {

View File

@ -5,7 +5,7 @@
using InnovEnergy.Lib.Utils; using InnovEnergy.Lib.Utils;
using static System.String; using static System.String;
namespace InnovEnergy.BmsTunnel; namespace InnovEnergy.App.BmsTunnel;
public static class Program public static class Program
{ {

View File

@ -1,9 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<Import Project="../InnovEnergy.app.props" /> <Import Project="../InnovEnergy.app.props" />
<PropertyGroup>
<RootNamespace>InnovEnergy.Collector</RootNamespace>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="../../lib/Utils/Utils.csproj" /> <ProjectReference Include="../../lib/Utils/Utils.csproj" />

View File

@ -1,14 +1,14 @@
using System.Net; using System.Net;
using System.Text; using System.Text;
using InnovEnergy.Collector.Influx; using InnovEnergy.App.Collector.Influx;
using InnovEnergy.Collector.Records; using InnovEnergy.App.Collector.Records;
using InnovEnergy.Collector.Utils; using InnovEnergy.App.Collector.Utils;
using InnovEnergy.Lib.Utils; using InnovEnergy.Lib.Utils;
using InnovEnergy.Lib.Utils.Net; using InnovEnergy.Lib.Utils.Net;
using Convert = System.Convert; using Convert = System.Convert;
namespace InnovEnergy.Collector; namespace InnovEnergy.App.Collector;
using Data = IReadOnlyList<String>; using Data = IReadOnlyList<String>;

View File

@ -1,15 +1,15 @@
using System.Net; using System.Net;
using System.Text; using System.Text;
using InnovEnergy.Collector.Influx; using InnovEnergy.App.Collector.Influx;
using InnovEnergy.Collector.Records; using InnovEnergy.App.Collector.Records;
using InnovEnergy.Collector.Utils; using InnovEnergy.App.Collector.Utils;
using InnovEnergy.Lib.Utils; using InnovEnergy.Lib.Utils;
using Convert = System.Convert; using Convert = System.Convert;
// NOT (YET) USED // NOT (YET) USED
namespace InnovEnergy.Collector; namespace InnovEnergy.App.Collector;
using Data = IReadOnlyList<String>; using Data = IReadOnlyList<String>;

View File

@ -2,7 +2,7 @@ using static System.AttributeTargets;
#nullable disable #nullable disable
namespace InnovEnergy.Collector.Influx; namespace InnovEnergy.App.Collector.Influx;
[AttributeUsage(Property)] [AttributeUsage(Property)]
public class FieldAttribute : Attribute public class FieldAttribute : Attribute

View File

@ -1,10 +1,10 @@
using System.Text; using System.Text;
using InnovEnergy.Collector.Utils; using InnovEnergy.App.Collector.Utils;
using InnovEnergy.Lib.Utils; using InnovEnergy.Lib.Utils;
using static System.Globalization.CultureInfo; using static System.Globalization.CultureInfo;
using static InnovEnergy.Collector.Influx.LineProtocolSyntax; using static InnovEnergy.App.Collector.Influx.LineProtocolSyntax;
namespace InnovEnergy.Collector.Influx; namespace InnovEnergy.App.Collector.Influx;
public static class InfluxRecord public static class InfluxRecord
{ {

View File

@ -1,7 +1,7 @@
using System.Diagnostics.CodeAnalysis; using System.Diagnostics.CodeAnalysis;
using static System.Globalization.CultureInfo; using static System.Globalization.CultureInfo;
namespace InnovEnergy.Collector.Influx; namespace InnovEnergy.App.Collector.Influx;
internal static class LineProtocolSyntax internal static class LineProtocolSyntax
{ {

View File

@ -1,6 +1,6 @@
using static System.AttributeTargets; using static System.AttributeTargets;
namespace InnovEnergy.Collector.Influx; namespace InnovEnergy.App.Collector.Influx;
[AttributeUsage(Property)] [AttributeUsage(Property)]
public class TagAttribute : Attribute public class TagAttribute : Attribute

View File

@ -2,17 +2,17 @@
using System.Reactive.Concurrency; using System.Reactive.Concurrency;
using System.Reactive.Linq; using System.Reactive.Linq;
using System.Reactive.Subjects; using System.Reactive.Subjects;
using InnovEnergy.Collector.Influx;
using InnovEnergy.Collector.Records;
using InnovEnergy.Lib.Utils;
using static System.Text.Encoding;
using static InnovEnergy.Lib.Utils.ExceptionHandling;
using System.Text.Json; using System.Text.Json;
using InnovEnergy.App.Collector.Influx;
using InnovEnergy.App.Collector.Records;
using InnovEnergy.Lib.Utils;
using InnovEnergy.Lib.Utils.Net; using InnovEnergy.Lib.Utils.Net;
using InnovEnergy.Lib.WebServer; using InnovEnergy.Lib.WebServer;
using static System.Text.Encoding;
using static InnovEnergy.Lib.Utils.ExceptionHandling;
namespace InnovEnergy.Collector; namespace InnovEnergy.App.Collector;
// TODO: net6 // TODO: net6

View File

@ -1,10 +1,10 @@
using InnovEnergy.Collector.Influx; using InnovEnergy.App.Collector.Influx;
// ReSharper disable IdentifierTypo // ReSharper disable IdentifierTypo
// ReSharper disable UnusedAutoPropertyAccessor.Global // ReSharper disable UnusedAutoPropertyAccessor.Global
// ReSharper disable InconsistentNaming // ReSharper disable InconsistentNaming
namespace InnovEnergy.Collector.Records; namespace InnovEnergy.App.Collector.Records;
public class Alarms : BatteryRecord public class Alarms : BatteryRecord
{ {

View File

@ -1,4 +1,4 @@
namespace InnovEnergy.Collector.Records; namespace InnovEnergy.App.Collector.Records;
public abstract class BatteryRecord public abstract class BatteryRecord
{} {}

View File

@ -1,9 +1,9 @@
using InnovEnergy.Collector.Influx; using InnovEnergy.App.Collector.Influx;
// ReSharper disable UnusedAutoPropertyAccessor.Global // ReSharper disable UnusedAutoPropertyAccessor.Global
// ReSharper disable MemberCanBePrivate.Global // ReSharper disable MemberCanBePrivate.Global
namespace InnovEnergy.Collector.Records; namespace InnovEnergy.App.Collector.Records;
public class BatteryStatus : BatteryRecord public class BatteryStatus : BatteryRecord
{ {

View File

@ -1,8 +1,8 @@
using InnovEnergy.Collector.Influx; using InnovEnergy.App.Collector.Influx;
// ReSharper disable UnusedAutoPropertyAccessor.Global // ReSharper disable UnusedAutoPropertyAccessor.Global
namespace InnovEnergy.Collector.Records; namespace InnovEnergy.App.Collector.Records;
public class Error : BatteryRecord public class Error : BatteryRecord
{ {

View File

@ -1,6 +1,6 @@
using InnovEnergy.Collector.Influx; using InnovEnergy.App.Collector.Influx;
namespace InnovEnergy.Collector.Records; namespace InnovEnergy.App.Collector.Records;
public class InstallationStatus : BatteryRecord public class InstallationStatus : BatteryRecord
{ {

View File

@ -1,8 +1,8 @@
using InnovEnergy.Collector.Influx; using InnovEnergy.App.Collector.Influx;
// ReSharper disable UnusedAutoPropertyAccessor.Global // ReSharper disable UnusedAutoPropertyAccessor.Global
namespace InnovEnergy.Collector.Records; namespace InnovEnergy.App.Collector.Records;
public class IoStatus : BatteryRecord public class IoStatus : BatteryRecord
{ {

View File

@ -1,9 +1,9 @@
using InnovEnergy.Collector.Influx; using InnovEnergy.App.Collector.Influx;
// ReSharper disable UnusedAutoPropertyAccessor.Global // ReSharper disable UnusedAutoPropertyAccessor.Global
// ReSharper disable UnusedMember.Global // ReSharper disable UnusedMember.Global
namespace InnovEnergy.Collector.Records; namespace InnovEnergy.App.Collector.Records;
public class Leds : BatteryRecord public class Leds : BatteryRecord
{ {

View File

@ -1,7 +1,6 @@
using InnovEnergy.Collector.Influx; using InnovEnergy.App.Collector.Influx;
namespace InnovEnergy.App.Collector.Records;
namespace InnovEnergy.Collector.Records;
#pragma warning disable CS8618 #pragma warning disable CS8618

View File

@ -1,7 +1,6 @@
using InnovEnergy.Collector.Influx; using InnovEnergy.App.Collector.Influx;
namespace InnovEnergy.App.Collector.Records;
namespace InnovEnergy.Collector.Records;
#pragma warning disable CS8618 #pragma warning disable CS8618

View File

@ -1,6 +1,6 @@
using System.Net; using System.Net;
namespace InnovEnergy.Collector; namespace InnovEnergy.App.Collector;
public static class Settings public static class Settings
{ {

View File

@ -1,6 +1,6 @@
using System.Globalization; using System.Globalization;
namespace InnovEnergy.Collector.Utils; namespace InnovEnergy.App.Collector.Utils;
public static class Extensions public static class Extensions
{ {

View File

@ -1,4 +1,4 @@
namespace InnovEnergy.Collector.Utils; namespace InnovEnergy.App.Collector.Utils;
internal static class Log internal static class Log
{ {

View File

@ -1,7 +1,7 @@
using System.Reflection; using System.Reflection;
using InnovEnergy.Lib.Utils; using InnovEnergy.Lib.Utils;
namespace InnovEnergy.Collector.Utils; namespace InnovEnergy.App.Collector.Utils;
public readonly struct Property public readonly struct Property
{ {

View File

@ -1,4 +1,4 @@
namespace InnovEnergy.Collector.Utils; namespace InnovEnergy.App.Collector.Utils;
public static class ReadOnlyListExtensions public static class ReadOnlyListExtensions
{ {

View File

@ -1,4 +1,4 @@
namespace InnovEnergy.Collector.Utils; namespace InnovEnergy.App.Collector.Utils;
public static class Utils public static class Utils
{ {

View File

@ -1,7 +1,7 @@
using System.Reflection; using System.Reflection;
using InnovEnergy.Lib.Victron.VeDBus; using InnovEnergy.Lib.Victron.VeDBus;
namespace InnovEnergy.EmuMeter; namespace InnovEnergy.App.EmuMeterDriver;
public static class Config public static class Config
{ {

View File

@ -5,8 +5,7 @@ using InnovEnergy.Lib.Protocols.Modbus.Clients;
using InnovEnergy.Lib.Utils; using InnovEnergy.Lib.Utils;
using InnovEnergy.Lib.Victron.VeDBus; using InnovEnergy.Lib.Victron.VeDBus;
namespace InnovEnergy.App.EmuMeterDriver;
namespace InnovEnergy.EmuMeter;
public static class EmuMeterDriver public static class EmuMeterDriver
{ {

View File

@ -1,10 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<Import Project="../InnovEnergy.app.props" /> <Import Project="../InnovEnergy.app.props" />
<PropertyGroup>
<RootNamespace>InnovEnergy.EmuMeter</RootNamespace>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\..\lib\Devices\EmuMeter\EmuMeter.csproj" /> <ProjectReference Include="..\..\lib\Devices\EmuMeter\EmuMeter.csproj" />
<ProjectReference Include="..\..\lib\Protocols\DBus\DBus.csproj" /> <ProjectReference Include="..\..\lib\Protocols\DBus\DBus.csproj" />

View File

@ -2,7 +2,7 @@ using System.Text.Json.Nodes;
using CliWrap; using CliWrap;
using CliWrap.Buffered; using CliWrap.Buffered;
namespace InnovEnergy.EmuMeter; namespace InnovEnergy.App.EmuMeterDriver;
public readonly struct Nic public readonly struct Nic
{ {

View File

@ -1,4 +1,4 @@
using InnovEnergy.EmuMeter; using InnovEnergy.App.EmuMeterDriver;
using InnovEnergy.Lib.Protocols.DBus; using InnovEnergy.Lib.Protocols.DBus;
using InnovEnergy.Lib.Utils; using InnovEnergy.Lib.Utils;
using InnovEnergy.Lib.Utils.Net; using InnovEnergy.Lib.Utils.Net;

View File

@ -2,7 +2,7 @@ using InnovEnergy.Lib.Devices.EmuMeter;
using InnovEnergy.Lib.Protocols.DBus.Protocol.DataTypes; using InnovEnergy.Lib.Protocols.DBus.Protocol.DataTypes;
using InnovEnergy.Lib.Victron.VeDBus; using InnovEnergy.Lib.Victron.VeDBus;
namespace InnovEnergy.EmuMeter; namespace InnovEnergy.App.EmuMeterDriver;
public record Signal(Func<EmuMeterStatus, Object> Source, ObjectPath Path, String Format = "") public record Signal(Func<EmuMeterStatus, Object> Source, ObjectPath Path, String Format = "")
{ {

View File

@ -1,4 +1,4 @@
namespace InnovEnergy.EmuMeter; namespace InnovEnergy.App.EmuMeterDriver;
public static class Utils public static class Utils
{ {

View File

@ -11,7 +11,6 @@
<PublishSingleFile>true</PublishSingleFile> <PublishSingleFile>true</PublishSingleFile>
<PublishReadyToRun>true</PublishReadyToRun> <PublishReadyToRun>true</PublishReadyToRun>
<TrimmerRemoveSymbols>true</TrimmerRemoveSymbols> <TrimmerRemoveSymbols>true</TrimmerRemoveSymbols>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
@ -20,6 +19,7 @@
<PropertyGroup> <PropertyGroup>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<RootNamespace>InnovEnergy.App.$(AssemblyName)</RootNamespace>
</PropertyGroup> </PropertyGroup>
</Project> </Project>

View File

@ -1,6 +1,4 @@
namespace InnovEnergy.OpenVpnCertificatesServer; namespace InnovEnergy.App.OpenVpnCertificatesServer;
using System;
public static class Files public static class Files
{ {

View File

@ -1,9 +1,8 @@
namespace InnovEnergy.OpenVpnCertificatesServer;
using System;
using System.Net; using System.Net;
using Flurl; using Flurl;
namespace InnovEnergy.App.OpenVpnCertificatesServer;
public static class Http public static class Http
{ {
// TODO: use worker thread // TODO: use worker thread

View File

@ -1,10 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<Import Project="../InnovEnergy.app.props" /> <Import Project="../InnovEnergy.app.props" />
<PropertyGroup>
<RootNamespace>InnovEnergy.OpenVpnCertificatesServer</RootNamespace>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="BouncyCastle" Version="1.8.9" /> <PackageReference Include="BouncyCastle" Version="1.8.9" />
<PackageReference Include="Flurl.Http" Version="3.2.2" /> <PackageReference Include="Flurl.Http" Version="3.2.2" />

View File

@ -7,7 +7,7 @@ using Org.BouncyCastle.Math;
using Org.BouncyCastle.Security; using Org.BouncyCastle.Security;
using Org.BouncyCastle.X509; using Org.BouncyCastle.X509;
namespace InnovEnergy.OpenVpnCertificatesServer.PKI; namespace InnovEnergy.App.OpenVpnCertificatesServer.PKI;
public static class CertificateAuthority public static class CertificateAuthority
{ {

View File

@ -1,6 +1,6 @@
using Org.BouncyCastle.OpenSsl; using Org.BouncyCastle.OpenSsl;
namespace InnovEnergy.OpenVpnCertificatesServer.PKI; namespace InnovEnergy.App.OpenVpnCertificatesServer.PKI;
public static class Pem public static class Pem
{ {

View File

@ -1,6 +1,6 @@
using Org.BouncyCastle.OpenSsl; using Org.BouncyCastle.OpenSsl;
namespace InnovEnergy.OpenVpnCertificatesServer.PKI; namespace InnovEnergy.App.OpenVpnCertificatesServer.PKI;
public class PwdFinder : IPasswordFinder public class PwdFinder : IPasswordFinder
{ {

View File

@ -1,15 +1,14 @@
using InnovEnergy.Lib.Utils; using System.Diagnostics;
using InnovEnergy.Lib.Victron.VictronVRM;
using InnovEnergy.OpenVpnCertificatesServer.PKI;
using System.Diagnostics;
using System.Text; using System.Text;
using Flurl; using Flurl;
using ICSharpCode.SharpZipLib.Tar; using ICSharpCode.SharpZipLib.Tar;
using InnovEnergy.App.OpenVpnCertificatesServer.PKI;
using InnovEnergy.Lib.Utils;
using InnovEnergy.Lib.Victron.VictronVRM;
using Org.BouncyCastle.Crypto; using Org.BouncyCastle.Crypto;
using static InnovEnergy.App.OpenVpnCertificatesServer.PKI.CertificateAuthority;
using static InnovEnergy.OpenVpnCertificatesServer.PKI.CertificateAuthority; namespace InnovEnergy.App.OpenVpnCertificatesServer;
namespace InnovEnergy.OpenVpnCertificatesServer;
// dotnet publish OpenVpnCertificatesServer.csproj -c Release -r linux-x64 -p:PublishSingleFile=true --self-contained true && scp bin/Release/net6.0/linux-x64/publish/OpenVpnCertificatesServer ig@salidomo.innovenergy.ch:~/get_cert/get_cert // dotnet publish OpenVpnCertificatesServer.csproj -c Release -r linux-x64 -p:PublishSingleFile=true --self-contained true && scp bin/Release/net6.0/linux-x64/publish/OpenVpnCertificatesServer ig@salidomo.innovenergy.ch:~/get_cert/get_cert

View File

@ -1,9 +1,8 @@
namespace InnovEnergy.OpenVpnCertificatesServer;
using System;
using System.Text; using System.Text;
using ICSharpCode.SharpZipLib.Tar; using ICSharpCode.SharpZipLib.Tar;
namespace InnovEnergy.App.OpenVpnCertificatesServer;
public static class Utils public static class Utils
{ {
public static void WriteFile(this TarOutputStream tar, String fileName, Byte[] contents, Boolean executable = false) public static void WriteFile(this TarOutputStream tar, String fileName, Byte[] contents, Boolean executable = false)

View File

@ -1,4 +1,4 @@
namespace InnovEnergy.RemoteSupportConsole; namespace InnovEnergy.App.RemoteSupportConsole;
public static class Login public static class Login
{ {

View File

@ -2,7 +2,7 @@ using System.Reactive.Linq;
using System.Reactive.Threading.Tasks; using System.Reactive.Threading.Tasks;
using CliWrap; using CliWrap;
namespace InnovEnergy.RemoteSupportConsole; namespace InnovEnergy.App.RemoteSupportConsole;
public static class ObservablePipeSource public static class ObservablePipeSource
{ {

View File

@ -4,7 +4,7 @@ using InnovEnergy.Lib.Utils;
using InnovEnergy.Lib.Victron.VictronVRM; using InnovEnergy.Lib.Victron.VictronVRM;
using static System.Globalization.CompareOptions; using static System.Globalization.CompareOptions;
namespace InnovEnergy.RemoteSupportConsole; namespace InnovEnergy.App.RemoteSupportConsole;
// dotnet publish -c release -r ubuntu-x64 // dotnet publish -c release -r ubuntu-x64
// dotnet publish RemoteSupportConsole.csproj -c Release -r linux-x64 -p:PublishSingleFile=true --self-contained true // dotnet publish RemoteSupportConsole.csproj -c Release -r linux-x64 -p:PublishSingleFile=true --self-contained true

View File

@ -1,10 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<Import Project="../InnovEnergy.app.props" /> <Import Project="../InnovEnergy.app.props" />
<PropertyGroup>
<RootNamespace>InnovEnergy.RemoteSupportConsole</RootNamespace>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="../../lib/Utils/Utils.csproj" /> <ProjectReference Include="../../lib/Utils/Utils.csproj" />
<ProjectReference Include="../../lib/Victron/VictronVRM/VictronVRM.csproj" /> <ProjectReference Include="../../lib/Victron/VictronVRM/VictronVRM.csproj" />

View File

@ -1,7 +1,7 @@
using CliWrap; using CliWrap;
using InnovEnergy.Lib.Utils; using InnovEnergy.Lib.Utils;
namespace InnovEnergy.RemoteSupportConsole; namespace InnovEnergy.App.RemoteSupportConsole;
public static class Ssh public static class Ssh
{ {

View File

@ -2,7 +2,7 @@ using InnovEnergy.Lib.Utils;
using InnovEnergy.Lib.Victron.VictronVRM; using InnovEnergy.Lib.Victron.VictronVRM;
using static System.ConsoleColor; using static System.ConsoleColor;
namespace InnovEnergy.RemoteSupportConsole; namespace InnovEnergy.App.RemoteSupportConsole;
public static class VpnConnection public static class VpnConnection
{ {

View File

@ -2,7 +2,7 @@ using Flurl;
using Flurl.Http; using Flurl.Http;
using InnovEnergy.Lib.Utils; using InnovEnergy.Lib.Utils;
namespace InnovEnergy.RemoteSupportConsole; namespace InnovEnergy.App.RemoteSupportConsole;
public static class VpnInfo public static class VpnInfo
{ {

View File

@ -7,7 +7,7 @@ using InnovEnergy.Lib.Victron.VictronVRM;
using static System.ConsoleColor; using static System.ConsoleColor;
using static System.StringSplitOptions; using static System.StringSplitOptions;
namespace InnovEnergy.RemoteSupportConsole; namespace InnovEnergy.App.RemoteSupportConsole;
public static class VrmConnection public static class VrmConnection
{ {

View File

@ -3,7 +3,7 @@ using InnovEnergy.Lib.Utils;
using InnovEnergy.Lib.Victron.VictronVRM; using InnovEnergy.Lib.Victron.VictronVRM;
using static System.ConsoleColor; using static System.ConsoleColor;
namespace InnovEnergy.RemoteSupportConsole; namespace InnovEnergy.App.RemoteSupportConsole;
public static class VrmInfo public static class VrmInfo

View File

@ -1,4 +1,4 @@
namespace InnovEnergy.RemoteSupportConsole; namespace InnovEnergy.App.RemoteSupportConsole;
public readonly record struct VrmProxy(IDisposable Connection, String User, String Host, String Port) : IDisposable public readonly record struct VrmProxy(IDisposable Connection, String User, String Host, String Port) : IDisposable
{ {

View File

@ -1,25 +1,24 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<Import Project="../InnovEnergy.app.props" /> <Import Project="../InnovEnergy.app.props" />
<PropertyGroup>
<RootNamespace>InnovEnergy.SaliMax</RootNamespace>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="../../lib/Devices/Adam6060/Adam6060.csproj" /> <ProjectReference Include="../../lib/Devices/Adam6060/Adam6060.csproj"/>
<ProjectReference Include="../../lib/Devices/AMPT/Ampt.csproj" /> <ProjectReference Include="../../lib/Devices/AMPT/Ampt.csproj"/>
<ProjectReference Include="../../lib/Devices/Battery48TL/Battery48TL.csproj" /> <ProjectReference Include="../../lib/Devices/Battery48TL/Battery48TL.csproj"/>
<ProjectReference Include="../../lib/Devices/EmuMeter/EmuMeter.csproj" /> <ProjectReference Include="../../lib/Devices/EmuMeter/EmuMeter.csproj"/>
<ProjectReference Include="../../lib/Devices/Trumpf/TruConvertAc/TruConvertAc.csproj" /> <ProjectReference Include="../../lib/Devices/Trumpf/TruConvertAc/TruConvertAc.csproj"/>
<ProjectReference Include="../../lib/Devices/Trumpf/TruConvertDc/TruConvertDc.csproj" /> <ProjectReference Include="../../lib/Devices/Trumpf/TruConvertDc/TruConvertDc.csproj"/>
<ProjectReference Include="../../lib/Devices/Trumpf/TruConvert/TruConvert.csproj" /> <ProjectReference Include="../../lib/Devices/Trumpf/TruConvert/TruConvert.csproj"/>
<ProjectReference Include="../../lib/StatusApi/StatusApi.csproj" /> <ProjectReference Include="../../lib/StatusApi/StatusApi.csproj"/>
<ProjectReference Include="../../lib/Utils/Utils.csproj" /> <ProjectReference Include="../../lib/Utils/Utils.csproj"/>
<PackageReference Include="CliWrap" Version="3.6.0" /> <ProjectReference Include="../../lib/Time/Time.csproj"/>
<PackageReference Include="DecimalMath.DecimalEx" Version="1.0.2" /> </ItemGroup>
<PackageReference Include="Flurl.Http" Version="3.2.4" />
<PackageReference Include="System.IO.Ports" Version="7.0.0" /> <ItemGroup>
<ProjectReference Include="..\..\lib\Time\Time.csproj" /> <PackageReference Include="CliWrap" Version="3.6.0"/>
<PackageReference Include="Flurl.Http" Version="3.2.4"/>
<PackageReference Include="System.IO.Ports" Version="7.0.0"/>
<PackageReference Include="DecimalMath.DecimalEx" Version="1.0.2"/>
</ItemGroup> </ItemGroup>

View File

@ -1,6 +1,6 @@
using InnovEnergy.Lib.Utils; using InnovEnergy.Lib.Utils;
namespace InnovEnergy.SaliMax; namespace InnovEnergy.App.SaliMax;
public static class AsciiArt public static class AsciiArt
{ {

View File

@ -1,4 +1,4 @@
namespace InnovEnergy.SaliMax; namespace InnovEnergy.App.SaliMax;
public enum BusPort public enum BusPort
{ {

View File

@ -1,6 +1,6 @@
using InnovEnergy.Lib.Devices.Battery48TL; using InnovEnergy.Lib.Devices.Battery48TL;
namespace InnovEnergy.SaliMax.Controller; namespace InnovEnergy.App.SaliMax.Controller;
public class AvgBatteriesStatus public class AvgBatteriesStatus
{ {

View File

@ -1,6 +1,4 @@
using static InnovEnergy.SaliMax.SystemConfig.SalimaxConfig; namespace InnovEnergy.App.SaliMax.Controller;
namespace InnovEnergy.SaliMax.Controller;
public static class Control public static class Control
{ {

View File

@ -1,9 +1,9 @@
using InnovEnergy.App.SaliMax.SaliMaxRelays;
using InnovEnergy.App.SaliMax.SystemConfig;
using InnovEnergy.Lib.Devices.Trumpf.TruConvertAc; using InnovEnergy.Lib.Devices.Trumpf.TruConvertAc;
using InnovEnergy.Lib.Devices.Trumpf.TruConvertDc; using InnovEnergy.Lib.Devices.Trumpf.TruConvertDc;
using InnovEnergy.SaliMax.SaliMaxRelays;
using InnovEnergy.SaliMax.SystemConfig;
namespace InnovEnergy.SaliMax.Controller; namespace InnovEnergy.App.SaliMax.Controller;
public class ControlRecord public class ControlRecord
{ {

View File

@ -1,4 +1,4 @@
namespace InnovEnergy.SaliMax.Controller; namespace InnovEnergy.App.SaliMax.Controller;
public enum ControlTarget // TODO to delete public enum ControlTarget // TODO to delete
{ {

View File

@ -1,14 +1,14 @@
using InnovEnergy.App.SaliMax.SaliMaxRelays;
using InnovEnergy.App.SaliMax.SystemConfig;
using InnovEnergy.Lib.Devices.Trumpf.TruConvert; using InnovEnergy.Lib.Devices.Trumpf.TruConvert;
using InnovEnergy.Lib.Devices.Trumpf.TruConvertAc; using InnovEnergy.Lib.Devices.Trumpf.TruConvertAc;
using InnovEnergy.Lib.Devices.Trumpf.TruConvertDc; using InnovEnergy.Lib.Devices.Trumpf.TruConvertDc;
using InnovEnergy.Lib.Time.Unix;
using InnovEnergy.Lib.Utils; using InnovEnergy.Lib.Utils;
using InnovEnergy.SaliMax.SaliMaxRelays; using static InnovEnergy.App.SaliMax.SaliMaxRelays.RelayState;
using InnovEnergy.SaliMax.SystemConfig;
using InnovEnergy.Time.Unix;
using static InnovEnergy.SaliMax.SaliMaxRelays.RelayState;
namespace InnovEnergy.SaliMax.Controller; namespace InnovEnergy.App.SaliMax.Controller;
public static class Controller public static class Controller
{ {

View File

@ -1,4 +1,4 @@
namespace InnovEnergy.SaliMax.Controller; namespace InnovEnergy.App.SaliMax.Controller;
public struct SaliMaxState public struct SaliMaxState
{ {

View File

@ -1,5 +1,5 @@
namespace InnovEnergy.SaliMax.Controller; namespace InnovEnergy.App.SaliMax.Controller;
public enum State : Int16 public enum State : Int16
{ {

View File

@ -1,5 +1,5 @@
namespace InnovEnergy.SaliMax.Controller; namespace InnovEnergy.App.SaliMax.Controller;
public static class StateConfig public static class StateConfig
{ {

View File

@ -1,12 +1,12 @@
using InnovEnergy.Lib.Devices.Ampt; using InnovEnergy.App.SaliMax.SaliMaxRelays;
using InnovEnergy.App.SaliMax.SystemConfig;
using InnovEnergy.Lib.Devices.AMPT;
using InnovEnergy.Lib.Devices.Battery48TL; using InnovEnergy.Lib.Devices.Battery48TL;
using InnovEnergy.Lib.Devices.EmuMeter; using InnovEnergy.Lib.Devices.EmuMeter;
using InnovEnergy.Lib.Devices.Trumpf.TruConvertAc; using InnovEnergy.Lib.Devices.Trumpf.TruConvertAc;
using InnovEnergy.Lib.Devices.Trumpf.TruConvertDc; using InnovEnergy.Lib.Devices.Trumpf.TruConvertDc;
using InnovEnergy.SaliMax.SaliMaxRelays;
using InnovEnergy.SaliMax.SystemConfig;
namespace InnovEnergy.SaliMax.Controller; namespace InnovEnergy.App.SaliMax.Controller;
public record StatusRecord public record StatusRecord
{ {

View File

@ -1,8 +1,8 @@
using System.Text.Json.Nodes; using System.Text.Json.Nodes;
using InnovEnergy.Lib.Devices.Ampt; using InnovEnergy.Lib.Devices.AMPT;
using InnovEnergy.Lib.StatusApi; using InnovEnergy.Lib.StatusApi;
namespace InnovEnergy.SaliMax.Log; namespace InnovEnergy.App.SaliMax.Log;
public static class Ampt public static class Ampt
{ {

View File

@ -2,7 +2,7 @@ using System.Text.Json.Nodes;
using InnovEnergy.Lib.Devices.Battery48TL; using InnovEnergy.Lib.Devices.Battery48TL;
using InnovEnergy.Lib.StatusApi; using InnovEnergy.Lib.StatusApi;
namespace InnovEnergy.SaliMax.Log; namespace InnovEnergy.App.SaliMax.Log;
public static class Battery48Tl public static class Battery48Tl
{ {

View File

@ -3,9 +3,9 @@ using InnovEnergy.Lib.Devices.EmuMeter;
using InnovEnergy.Lib.StatusApi; using InnovEnergy.Lib.StatusApi;
using InnovEnergy.Lib.Utils; using InnovEnergy.Lib.Utils;
using static DecimalMath.DecimalEx; using static DecimalMath.DecimalEx;
using static InnovEnergy.SaliMax.Log.JsonUtil; using static InnovEnergy.App.SaliMax.Log.JsonUtil;
namespace InnovEnergy.SaliMax.Log; namespace InnovEnergy.App.SaliMax.Log;
public static class EmuMeter public static class EmuMeter
{ {

View File

@ -1,7 +1,7 @@
using System.Text.Json.Nodes; using System.Text.Json.Nodes;
using InnovEnergy.Lib.StatusApi; using InnovEnergy.Lib.StatusApi;
namespace InnovEnergy.SaliMax.Log; namespace InnovEnergy.App.SaliMax.Log;
public static class JsonUtil public static class JsonUtil
{ {

View File

@ -1,9 +1,9 @@
using System.Text.Json.Nodes; using System.Text.Json.Nodes;
using InnovEnergy.App.SaliMax.Controller;
using InnovEnergy.Lib.StatusApi; using InnovEnergy.Lib.StatusApi;
using InnovEnergy.SaliMax.Controller; using InnovEnergy.Lib.Time.Unix;
using InnovEnergy.Time.Unix;
namespace InnovEnergy.SaliMax.Log; namespace InnovEnergy.App.SaliMax.Log;
public static class Salimax public static class Salimax
{ {

View File

@ -2,9 +2,9 @@ using System.Text.Json.Nodes;
using InnovEnergy.Lib.Devices.Trumpf.TruConvertAc; using InnovEnergy.Lib.Devices.Trumpf.TruConvertAc;
using InnovEnergy.Lib.Utils; using InnovEnergy.Lib.Utils;
using static DecimalMath.DecimalEx; using static DecimalMath.DecimalEx;
using static InnovEnergy.SaliMax.Log.JsonUtil; using static InnovEnergy.App.SaliMax.Log.JsonUtil;
namespace InnovEnergy.SaliMax.Log; namespace InnovEnergy.App.SaliMax.Log;
public static class TruConvertAc public static class TruConvertAc
{ {

View File

@ -1,8 +1,8 @@
using System.Text.Json.Nodes; using System.Text.Json.Nodes;
using InnovEnergy.Lib.Devices.Trumpf.TruConvertDc; using InnovEnergy.Lib.Devices.Trumpf.TruConvertDc;
using static InnovEnergy.SaliMax.Log.JsonUtil; using static InnovEnergy.App.SaliMax.Log.JsonUtil;
namespace InnovEnergy.SaliMax.Log; namespace InnovEnergy.App.SaliMax.Log;
using JO = JsonObject; using JO = JsonObject;

View File

@ -1,27 +1,23 @@
using System.Diagnostics; using System.Diagnostics;
using System.Text.Json; using System.Text.Json;
using System.Text.Json.Nodes; using System.Text.Json.Nodes;
using System.Text.Json.Serialization; using System.Text.Json.Serialization;
using Flurl.Http; using Flurl.Http;
using InnovEnergy.App.SaliMax.Controller;
using InnovEnergy.App.SaliMax.Log;
using InnovEnergy.App.SaliMax.SaliMaxRelays;
using InnovEnergy.App.SaliMax.SystemConfig;
using InnovEnergy.Lib.Devices.AMPT;
using InnovEnergy.Lib.Devices.Battery48TL;
using InnovEnergy.Lib.Devices.EmuMeter; using InnovEnergy.Lib.Devices.EmuMeter;
using InnovEnergy.Lib.Devices.Trumpf.TruConvertAc; using InnovEnergy.Lib.Devices.Trumpf.TruConvertAc;
using InnovEnergy.Lib.Devices.Trumpf.TruConvertDc; using InnovEnergy.Lib.Devices.Trumpf.TruConvertDc;
using InnovEnergy.Lib.Devices.Ampt; using InnovEnergy.Lib.Time.Unix;
using InnovEnergy.Lib.Devices.Battery48TL;
using InnovEnergy.SaliMax.Controller;
using InnovEnergy.SaliMax.Log;
using InnovEnergy.SaliMax.SaliMaxRelays;
using InnovEnergy.SaliMax.SystemConfig;
using InnovEnergy.Time.Unix;
#pragma warning disable IL2026 #pragma warning disable IL2026
namespace InnovEnergy.SaliMax; namespace InnovEnergy.App.SaliMax;
internal static class Program internal static class Program
{ {

View File

@ -5,7 +5,7 @@ using InnovEnergy.Lib.Utils;
using static System.Text.Encoding; using static System.Text.Encoding;
using Convert = System.Convert; using Convert = System.Convert;
namespace InnovEnergy.SaliMax; namespace InnovEnergy.App.SaliMax;
public record S3Config public record S3Config
{ {

View File

@ -1,4 +1,4 @@
namespace InnovEnergy.SaliMax.SaliMaxRelays; namespace InnovEnergy.App.SaliMax.SaliMaxRelays;
public enum RelayState public enum RelayState
{ {

View File

@ -1,7 +1,7 @@
using InnovEnergy.Lib.Devices.Adam6060; using InnovEnergy.Lib.Devices.Adam6060;
using InnovEnergy.Lib.Utils; using InnovEnergy.Lib.Utils;
namespace InnovEnergy.SaliMax.SaliMaxRelays; namespace InnovEnergy.App.SaliMax.SaliMaxRelays;
public class SaliMaxRelaysDevice public class SaliMaxRelaysDevice
{ {

View File

@ -1,4 +1,4 @@
namespace InnovEnergy.SaliMax.SaliMaxRelays; namespace InnovEnergy.App.SaliMax.SaliMaxRelays;
public record SaliMaxRelayStatus public record SaliMaxRelayStatus
{ {

View File

@ -1,4 +1,4 @@
namespace InnovEnergy.SaliMax.SystemConfig; namespace InnovEnergy.App.SaliMax.SystemConfig;
public static class Config public static class Config
{ {

View File

@ -1,7 +1,7 @@
using InnovEnergy.Lib.Devices.Trumpf.TruConvertAc; using InnovEnergy.Lib.Devices.Trumpf.TruConvertAc;
using InnovEnergy.Lib.Devices.Trumpf.TruConvertDc; using InnovEnergy.Lib.Devices.Trumpf.TruConvertDc;
namespace InnovEnergy.SaliMax.SystemConfig; namespace InnovEnergy.App.SaliMax.SystemConfig;
public static class Defaults public static class Defaults
{ {

View File

@ -1,9 +1,9 @@
using System.Text.Json; using System.Text.Json;
using InnovEnergy.Lib.Time.Unix;
using InnovEnergy.Lib.Utils; using InnovEnergy.Lib.Utils;
using InnovEnergy.Time.Unix;
using static System.Text.Json.JsonSerializer; using static System.Text.Json.JsonSerializer;
namespace InnovEnergy.SaliMax.SystemConfig; namespace InnovEnergy.App.SaliMax.SystemConfig;
// shut up trim warnings // shut up trim warnings
#pragma warning disable IL2026 #pragma warning disable IL2026

View File

@ -1,10 +1,10 @@
#undef BatteriesAllowed #undef BatteriesAllowed
using InnovEnergy.App.SaliMax.Controller;
using InnovEnergy.App.SaliMax.Log;
using InnovEnergy.Lib.Utils; using InnovEnergy.Lib.Utils;
using InnovEnergy.SaliMax.Controller;
using InnovEnergy.SaliMax.Log;
namespace InnovEnergy.SaliMax; namespace InnovEnergy.App.SaliMax;
public static class Topology public static class Topology
{ {

View File

@ -1,6 +1,6 @@
using InnovEnergy.Lib.Utils; using InnovEnergy.Lib.Utils;
namespace InnovEnergy.SaliMax; namespace InnovEnergy.App.SaliMax;
public static class Utils public static class Utils
{ {

View File

@ -2,10 +2,6 @@
<Import Project="../InnovEnergy.lib.props" /> <Import Project="../InnovEnergy.lib.props" />
<PropertyGroup>
<RootNamespace>InnovEnergy.Lib.Channels</RootNamespace>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\Utils\Utils.csproj" /> <ProjectReference Include="..\Utils\Utils.csproj" />
</ItemGroup> </ItemGroup>

View File

@ -1,4 +1,4 @@
namespace InnovEnergy.Lib.Channels.V2.Connections; namespace InnovEnergy.Lib.Channels.V2.Bak.Connections;
public abstract class Connection<C> : IConnection<C> where C : IDisposable public abstract class Connection<C> : IConnection<C> where C : IDisposable
{ {

View File

@ -1,6 +1,6 @@
using System.Net.Sockets; using System.Net.Sockets;
namespace InnovEnergy.Lib.Channels.V2.Connections; namespace InnovEnergy.Lib.Channels.V2.Bak.Connections;
public class TcpClientConnection : Connection<Socket> public class TcpClientConnection : Connection<Socket>
{ {

View File

@ -1,4 +1,4 @@
namespace InnovEnergy.Lib.Channels.V2.Connections; namespace InnovEnergy.Lib.Channels.V2.Bak.Connections;
public static class Connection public static class Connection
{ {

View File

@ -1,4 +1,4 @@
namespace InnovEnergy.Lib.Channels.V2.Connections; namespace InnovEnergy.Lib.Channels.V2.Bak.Connections;
public interface IConnection public interface IConnection
{ {

View File

@ -1,6 +1,6 @@
using InnovEnergy.Lib.Channels.V2.Connections; using InnovEnergy.Lib.Channels.V2.Bak.Connections;
namespace InnovEnergy.Lib.Channels.V2; namespace InnovEnergy.Lib.Channels.V2.Bak;
public abstract class GenericChannel2<C, Rx, Tx> : IChannel<Rx, Tx>, IConnection public abstract class GenericChannel2<C, Rx, Tx> : IChannel<Rx, Tx>, IConnection
{ {

View File

@ -3,7 +3,7 @@
<PropertyGroup> <PropertyGroup>
<AssemblyName>InnovEnergy.Lib.Devices.Ampt</AssemblyName> <AssemblyName>InnovEnergy.Lib.Devices.Ampt</AssemblyName>
<RootNamespace>InnovEnergy.Lib.Devices.Ampt</RootNamespace>
<!-- <OutputType>Exe</OutputType> --> <!-- <OutputType>Exe</OutputType> -->
</PropertyGroup> </PropertyGroup>

View File

@ -3,7 +3,7 @@ using InnovEnergy.Lib.Protocols.Modbus.Clients;
using InnovEnergy.Lib.Protocols.Modbus.Connections; using InnovEnergy.Lib.Protocols.Modbus.Connections;
using InnovEnergy.Lib.StatusApi.Connections; using InnovEnergy.Lib.StatusApi.Connections;
namespace InnovEnergy.Lib.Devices.Ampt; namespace InnovEnergy.Lib.Devices.AMPT;
public class AmptCommunicationUnit public class AmptCommunicationUnit
{ {

View File

@ -1,7 +1,7 @@
using InnovEnergy.Lib.StatusApi.Connections; using InnovEnergy.Lib.StatusApi.Connections;
using InnovEnergy.Lib.StatusApi.Devices; using InnovEnergy.Lib.StatusApi.Devices;
namespace InnovEnergy.Lib.Devices.Ampt; namespace InnovEnergy.Lib.Devices.AMPT;
public record AmptDeviceStatus public record AmptDeviceStatus
( (

View File

@ -1,7 +1,4 @@
using InnovEnergy.Lib.StatusApi.Connections; namespace InnovEnergy.Lib.Devices.AMPT;
using InnovEnergy.Lib.StatusApi.Devices;
namespace InnovEnergy.Lib.Devices.Ampt;
public record AmptStatus public record AmptStatus
( (

View File

@ -1,4 +1,4 @@
namespace InnovEnergy.Lib.Devices.Ampt; namespace InnovEnergy.Lib.Devices.AMPT;
public record AmptStringStatus public record AmptStringStatus
{ {

View File

@ -3,7 +3,7 @@
<PropertyGroup> <PropertyGroup>
<AssemblyName>InnovEnergy.Lib.Devices.Adam6060</AssemblyName> <AssemblyName>InnovEnergy.Lib.Devices.Adam6060</AssemblyName>
<RootNamespace>InnovEnergy.Lib.Devices.Adam6060</RootNamespace>
<!-- <OutputType>Exe</OutputType> --> <!-- <OutputType>Exe</OutputType> -->
</PropertyGroup> </PropertyGroup>

View File

@ -3,7 +3,7 @@
<PropertyGroup> <PropertyGroup>
<AssemblyName>InnovEnergy.Lib.Devices.Battery48TL</AssemblyName> <AssemblyName>InnovEnergy.Lib.Devices.Battery48TL</AssemblyName>
<RootNamespace>InnovEnergy.Lib.Devices.Battery48TL</RootNamespace>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

View File

@ -3,7 +3,7 @@
<PropertyGroup> <PropertyGroup>
<AssemblyName>InnovEnergy.Lib.Devices.EmuMeter</AssemblyName> <AssemblyName>InnovEnergy.Lib.Devices.EmuMeter</AssemblyName>
<RootNamespace>InnovEnergy.Lib.Devices.EmuMeter</RootNamespace>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

Some files were not shown because too many files have changed in this diff Show More