tie namespace and assembly names to directory structure
This commit is contained in:
parent
599b23da2c
commit
955b0e7118
|
@ -3,13 +3,14 @@
|
|||
<PropertyGroup>
|
||||
<Company>InnovEnergy</Company>
|
||||
<Nullable>enable</Nullable>
|
||||
<LangVersion>default</LangVersion>
|
||||
<LangVersion>preview</LangVersion>
|
||||
<IsTrimmable>true</IsTrimmable>
|
||||
<RootNamespace>InnovEnergy</RootNamespace>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<InvariantGlobalization>true</InvariantGlobalization>
|
||||
<SuppressTrimAnalysisWarnings>false</SuppressTrimAnalysisWarnings>
|
||||
<RootNamespace>$(Company).$(MSBuildProjectDirectory.Replace($(SolutionDir), "").Replace("lib/", "Lib/").Replace("app/", "App/").Replace("src/", "").Replace("/","."))</RootNamespace>
|
||||
<Authors>$(Company) Team</Authors>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
@ -65,7 +65,7 @@ EndProject
|
|||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Backend", "app/Backend/Backend.csproj", "{A56F58C2-B265-435B-A985-53B4D6F49B1A}"
|
||||
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
|
||||
|
||||
Global
|
||||
|
|
|
@ -1,12 +1,5 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<LangVersion>preview</LangVersion>
|
||||
<RootNamespace>Innovenergy.Backend</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<Import Project="../InnovEnergy.app.props" />
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Flurl.Http" Version="3.2.4" />
|
||||
|
@ -28,17 +21,10 @@
|
|||
<PackageReference Include="Swashbuckle.AspNetCore.Filters.Abstractions" Version="7.0.6" />
|
||||
</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>
|
||||
<ProjectReference Include="..\..\lib\WebServer\WebServer.csproj" />
|
||||
<ProjectReference Include="..\..\lib\Utils\Utils.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
using CliWrap;
|
||||
using CliWrap.Buffered;
|
||||
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>;
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ using System.Text;
|
|||
using CliWrap.Buffered;
|
||||
using InnovEnergy.Lib.Utils;
|
||||
|
||||
namespace InnovEnergy.BmsTunnel;
|
||||
namespace InnovEnergy.App.BmsTunnel;
|
||||
|
||||
|
||||
public class BmsTunnel : IDisposable
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Import Project="../InnovEnergy.app.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<RootNamespace>InnovEnergy.BmsTunnel</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="CliWrap" Version="3.6.0" />
|
||||
<PackageReference Include="System.IO.Ports" Version="7.0.0" />
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using CliWrap;
|
||||
|
||||
namespace InnovEnergy.BmsTunnel;
|
||||
namespace InnovEnergy.App.BmsTunnel;
|
||||
|
||||
public static class CliPrograms
|
||||
{
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
using InnovEnergy.Lib.Utils;
|
||||
using static System.String;
|
||||
|
||||
namespace InnovEnergy.BmsTunnel;
|
||||
namespace InnovEnergy.App.BmsTunnel;
|
||||
|
||||
public static class Program
|
||||
{
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Import Project="../InnovEnergy.app.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<RootNamespace>InnovEnergy.Collector</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="../../lib/Utils/Utils.csproj" />
|
||||
<ProjectReference Include="../../lib/WebServer/WebServer.csproj" />
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
using System.Net;
|
||||
using System.Text;
|
||||
using InnovEnergy.Collector.Influx;
|
||||
using InnovEnergy.Collector.Records;
|
||||
using InnovEnergy.Collector.Utils;
|
||||
using InnovEnergy.App.Collector.Influx;
|
||||
using InnovEnergy.App.Collector.Records;
|
||||
using InnovEnergy.App.Collector.Utils;
|
||||
using InnovEnergy.Lib.Utils;
|
||||
using InnovEnergy.Lib.Utils.Net;
|
||||
using Convert = System.Convert;
|
||||
|
||||
|
||||
namespace InnovEnergy.Collector;
|
||||
namespace InnovEnergy.App.Collector;
|
||||
|
||||
using Data = IReadOnlyList<String>;
|
||||
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
using System.Net;
|
||||
using System.Text;
|
||||
using InnovEnergy.Collector.Influx;
|
||||
using InnovEnergy.Collector.Records;
|
||||
using InnovEnergy.Collector.Utils;
|
||||
using InnovEnergy.App.Collector.Influx;
|
||||
using InnovEnergy.App.Collector.Records;
|
||||
using InnovEnergy.App.Collector.Utils;
|
||||
using InnovEnergy.Lib.Utils;
|
||||
using Convert = System.Convert;
|
||||
|
||||
|
||||
// NOT (YET) USED
|
||||
|
||||
namespace InnovEnergy.Collector;
|
||||
namespace InnovEnergy.App.Collector;
|
||||
|
||||
using Data = IReadOnlyList<String>;
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ using static System.AttributeTargets;
|
|||
|
||||
#nullable disable
|
||||
|
||||
namespace InnovEnergy.Collector.Influx;
|
||||
namespace InnovEnergy.App.Collector.Influx;
|
||||
|
||||
[AttributeUsage(Property)]
|
||||
public class FieldAttribute : Attribute
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
using System.Text;
|
||||
using InnovEnergy.Collector.Utils;
|
||||
using InnovEnergy.App.Collector.Utils;
|
||||
using InnovEnergy.Lib.Utils;
|
||||
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
|
||||
{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
using System.Diagnostics.CodeAnalysis;
|
||||
using static System.Globalization.CultureInfo;
|
||||
|
||||
namespace InnovEnergy.Collector.Influx;
|
||||
namespace InnovEnergy.App.Collector.Influx;
|
||||
|
||||
internal static class LineProtocolSyntax
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using static System.AttributeTargets;
|
||||
|
||||
namespace InnovEnergy.Collector.Influx;
|
||||
namespace InnovEnergy.App.Collector.Influx;
|
||||
|
||||
[AttributeUsage(Property)]
|
||||
public class TagAttribute : Attribute
|
||||
|
|
|
@ -2,17 +2,17 @@
|
|||
using System.Reactive.Concurrency;
|
||||
using System.Reactive.Linq;
|
||||
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 InnovEnergy.App.Collector.Influx;
|
||||
using InnovEnergy.App.Collector.Records;
|
||||
using InnovEnergy.Lib.Utils;
|
||||
using InnovEnergy.Lib.Utils.Net;
|
||||
using InnovEnergy.Lib.WebServer;
|
||||
using static System.Text.Encoding;
|
||||
using static InnovEnergy.Lib.Utils.ExceptionHandling;
|
||||
|
||||
|
||||
namespace InnovEnergy.Collector;
|
||||
namespace InnovEnergy.App.Collector;
|
||||
|
||||
// TODO: net6
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
using InnovEnergy.Collector.Influx;
|
||||
using InnovEnergy.App.Collector.Influx;
|
||||
|
||||
// ReSharper disable IdentifierTypo
|
||||
// ReSharper disable UnusedAutoPropertyAccessor.Global
|
||||
// ReSharper disable InconsistentNaming
|
||||
|
||||
namespace InnovEnergy.Collector.Records;
|
||||
namespace InnovEnergy.App.Collector.Records;
|
||||
|
||||
public class Alarms : BatteryRecord
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace InnovEnergy.Collector.Records;
|
||||
namespace InnovEnergy.App.Collector.Records;
|
||||
|
||||
public abstract class BatteryRecord
|
||||
{}
|
|
@ -1,9 +1,9 @@
|
|||
using InnovEnergy.Collector.Influx;
|
||||
using InnovEnergy.App.Collector.Influx;
|
||||
|
||||
// ReSharper disable UnusedAutoPropertyAccessor.Global
|
||||
// ReSharper disable MemberCanBePrivate.Global
|
||||
|
||||
namespace InnovEnergy.Collector.Records;
|
||||
namespace InnovEnergy.App.Collector.Records;
|
||||
|
||||
public class BatteryStatus : BatteryRecord
|
||||
{
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
using InnovEnergy.Collector.Influx;
|
||||
using InnovEnergy.App.Collector.Influx;
|
||||
|
||||
// ReSharper disable UnusedAutoPropertyAccessor.Global
|
||||
|
||||
namespace InnovEnergy.Collector.Records;
|
||||
namespace InnovEnergy.App.Collector.Records;
|
||||
|
||||
public class Error : BatteryRecord
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
using InnovEnergy.Collector.Influx;
|
||||
using InnovEnergy.App.Collector.Influx;
|
||||
|
||||
// ReSharper disable UnusedAutoPropertyAccessor.Global
|
||||
|
||||
namespace InnovEnergy.Collector.Records;
|
||||
namespace InnovEnergy.App.Collector.Records;
|
||||
|
||||
public class IoStatus : BatteryRecord
|
||||
{
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
using InnovEnergy.Collector.Influx;
|
||||
using InnovEnergy.App.Collector.Influx;
|
||||
|
||||
// ReSharper disable UnusedAutoPropertyAccessor.Global
|
||||
// ReSharper disable UnusedMember.Global
|
||||
|
||||
namespace InnovEnergy.Collector.Records;
|
||||
namespace InnovEnergy.App.Collector.Records;
|
||||
|
||||
public class Leds : BatteryRecord
|
||||
{
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
using InnovEnergy.Collector.Influx;
|
||||
using InnovEnergy.App.Collector.Influx;
|
||||
|
||||
|
||||
namespace InnovEnergy.Collector.Records;
|
||||
namespace InnovEnergy.App.Collector.Records;
|
||||
|
||||
|
||||
#pragma warning disable CS8618
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
using InnovEnergy.Collector.Influx;
|
||||
using InnovEnergy.App.Collector.Influx;
|
||||
|
||||
|
||||
namespace InnovEnergy.Collector.Records;
|
||||
namespace InnovEnergy.App.Collector.Records;
|
||||
|
||||
#pragma warning disable CS8618
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using System.Net;
|
||||
|
||||
namespace InnovEnergy.Collector;
|
||||
namespace InnovEnergy.App.Collector;
|
||||
|
||||
public static class Settings
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using System.Globalization;
|
||||
|
||||
namespace InnovEnergy.Collector.Utils;
|
||||
namespace InnovEnergy.App.Collector.Utils;
|
||||
|
||||
public static class Extensions
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace InnovEnergy.Collector.Utils;
|
||||
namespace InnovEnergy.App.Collector.Utils;
|
||||
|
||||
internal static class Log
|
||||
{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
using System.Reflection;
|
||||
using InnovEnergy.Lib.Utils;
|
||||
|
||||
namespace InnovEnergy.Collector.Utils;
|
||||
namespace InnovEnergy.App.Collector.Utils;
|
||||
|
||||
public readonly struct Property
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace InnovEnergy.Collector.Utils;
|
||||
namespace InnovEnergy.App.Collector.Utils;
|
||||
|
||||
public static class ReadOnlyListExtensions
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace InnovEnergy.Collector.Utils;
|
||||
namespace InnovEnergy.App.Collector.Utils;
|
||||
|
||||
public static class Utils
|
||||
{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
using System.Reflection;
|
||||
using InnovEnergy.Lib.Victron.VeDBus;
|
||||
|
||||
namespace InnovEnergy.EmuMeter;
|
||||
namespace InnovEnergy.App.EmuMeterDriver;
|
||||
|
||||
public static class Config
|
||||
{
|
||||
|
|
|
@ -5,8 +5,7 @@ using InnovEnergy.Lib.Protocols.Modbus.Clients;
|
|||
using InnovEnergy.Lib.Utils;
|
||||
using InnovEnergy.Lib.Victron.VeDBus;
|
||||
|
||||
|
||||
namespace InnovEnergy.EmuMeter;
|
||||
namespace InnovEnergy.App.EmuMeterDriver;
|
||||
|
||||
public static class EmuMeterDriver
|
||||
{
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Import Project="../InnovEnergy.app.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<RootNamespace>InnovEnergy.EmuMeter</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\lib\Devices\EmuMeter\EmuMeter.csproj" />
|
||||
<ProjectReference Include="..\..\lib\Protocols\DBus\DBus.csproj" />
|
||||
|
|
|
@ -2,7 +2,7 @@ using System.Text.Json.Nodes;
|
|||
using CliWrap;
|
||||
using CliWrap.Buffered;
|
||||
|
||||
namespace InnovEnergy.EmuMeter;
|
||||
namespace InnovEnergy.App.EmuMeterDriver;
|
||||
|
||||
public readonly struct Nic
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using InnovEnergy.EmuMeter;
|
||||
using InnovEnergy.App.EmuMeterDriver;
|
||||
using InnovEnergy.Lib.Protocols.DBus;
|
||||
using InnovEnergy.Lib.Utils;
|
||||
using InnovEnergy.Lib.Utils.Net;
|
||||
|
|
|
@ -2,7 +2,7 @@ using InnovEnergy.Lib.Devices.EmuMeter;
|
|||
using InnovEnergy.Lib.Protocols.DBus.Protocol.DataTypes;
|
||||
using InnovEnergy.Lib.Victron.VeDBus;
|
||||
|
||||
namespace InnovEnergy.EmuMeter;
|
||||
namespace InnovEnergy.App.EmuMeterDriver;
|
||||
|
||||
public record Signal(Func<EmuMeterStatus, Object> Source, ObjectPath Path, String Format = "")
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace InnovEnergy.EmuMeter;
|
||||
namespace InnovEnergy.App.EmuMeterDriver;
|
||||
|
||||
public static class Utils
|
||||
{
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
<PublishSingleFile>true</PublishSingleFile>
|
||||
<PublishReadyToRun>true</PublishReadyToRun>
|
||||
<TrimmerRemoveSymbols>true</TrimmerRemoveSymbols>
|
||||
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
||||
|
@ -20,6 +19,7 @@
|
|||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>InnovEnergy.App.$(AssemblyName)</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
namespace InnovEnergy.OpenVpnCertificatesServer;
|
||||
|
||||
using System;
|
||||
namespace InnovEnergy.App.OpenVpnCertificatesServer;
|
||||
|
||||
public static class Files
|
||||
{
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
namespace InnovEnergy.OpenVpnCertificatesServer;
|
||||
|
||||
using System;
|
||||
using System.Net;
|
||||
using Flurl;
|
||||
|
||||
namespace InnovEnergy.App.OpenVpnCertificatesServer;
|
||||
|
||||
public static class Http
|
||||
{
|
||||
// TODO: use worker thread
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Import Project="../InnovEnergy.app.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<RootNamespace>InnovEnergy.OpenVpnCertificatesServer</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="BouncyCastle" Version="1.8.9" />
|
||||
<PackageReference Include="Flurl.Http" Version="3.2.2" />
|
||||
|
|
|
@ -7,7 +7,7 @@ using Org.BouncyCastle.Math;
|
|||
using Org.BouncyCastle.Security;
|
||||
using Org.BouncyCastle.X509;
|
||||
|
||||
namespace InnovEnergy.OpenVpnCertificatesServer.PKI;
|
||||
namespace InnovEnergy.App.OpenVpnCertificatesServer.PKI;
|
||||
|
||||
public static class CertificateAuthority
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using Org.BouncyCastle.OpenSsl;
|
||||
|
||||
namespace InnovEnergy.OpenVpnCertificatesServer.PKI;
|
||||
namespace InnovEnergy.App.OpenVpnCertificatesServer.PKI;
|
||||
|
||||
public static class Pem
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using Org.BouncyCastle.OpenSsl;
|
||||
|
||||
namespace InnovEnergy.OpenVpnCertificatesServer.PKI;
|
||||
namespace InnovEnergy.App.OpenVpnCertificatesServer.PKI;
|
||||
|
||||
public class PwdFinder : IPasswordFinder
|
||||
{
|
||||
|
|
|
@ -1,15 +1,14 @@
|
|||
using InnovEnergy.Lib.Utils;
|
||||
using InnovEnergy.Lib.Victron.VictronVRM;
|
||||
using InnovEnergy.OpenVpnCertificatesServer.PKI;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics;
|
||||
using System.Text;
|
||||
using Flurl;
|
||||
using ICSharpCode.SharpZipLib.Tar;
|
||||
using InnovEnergy.App.OpenVpnCertificatesServer.PKI;
|
||||
using InnovEnergy.Lib.Utils;
|
||||
using InnovEnergy.Lib.Victron.VictronVRM;
|
||||
using Org.BouncyCastle.Crypto;
|
||||
using static InnovEnergy.App.OpenVpnCertificatesServer.PKI.CertificateAuthority;
|
||||
|
||||
using static InnovEnergy.OpenVpnCertificatesServer.PKI.CertificateAuthority;
|
||||
|
||||
namespace InnovEnergy.OpenVpnCertificatesServer;
|
||||
namespace InnovEnergy.App.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
|
||||
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
namespace InnovEnergy.OpenVpnCertificatesServer;
|
||||
|
||||
using System;
|
||||
using System.Text;
|
||||
using ICSharpCode.SharpZipLib.Tar;
|
||||
|
||||
namespace InnovEnergy.App.OpenVpnCertificatesServer;
|
||||
|
||||
public static class Utils
|
||||
{
|
||||
public static void WriteFile(this TarOutputStream tar, String fileName, Byte[] contents, Boolean executable = false)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace InnovEnergy.RemoteSupportConsole;
|
||||
namespace InnovEnergy.App.RemoteSupportConsole;
|
||||
|
||||
public static class Login
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ using System.Reactive.Linq;
|
|||
using System.Reactive.Threading.Tasks;
|
||||
using CliWrap;
|
||||
|
||||
namespace InnovEnergy.RemoteSupportConsole;
|
||||
namespace InnovEnergy.App.RemoteSupportConsole;
|
||||
|
||||
public static class ObservablePipeSource
|
||||
{
|
||||
|
|
|
@ -4,7 +4,7 @@ using InnovEnergy.Lib.Utils;
|
|||
using InnovEnergy.Lib.Victron.VictronVRM;
|
||||
using static System.Globalization.CompareOptions;
|
||||
|
||||
namespace InnovEnergy.RemoteSupportConsole;
|
||||
namespace InnovEnergy.App.RemoteSupportConsole;
|
||||
|
||||
// dotnet publish -c release -r ubuntu-x64
|
||||
// dotnet publish RemoteSupportConsole.csproj -c Release -r linux-x64 -p:PublishSingleFile=true --self-contained true
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Import Project="../InnovEnergy.app.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<RootNamespace>InnovEnergy.RemoteSupportConsole</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="../../lib/Utils/Utils.csproj" />
|
||||
<ProjectReference Include="../../lib/Victron/VictronVRM/VictronVRM.csproj" />
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
using CliWrap;
|
||||
using InnovEnergy.Lib.Utils;
|
||||
|
||||
namespace InnovEnergy.RemoteSupportConsole;
|
||||
namespace InnovEnergy.App.RemoteSupportConsole;
|
||||
|
||||
public static class Ssh
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ using InnovEnergy.Lib.Utils;
|
|||
using InnovEnergy.Lib.Victron.VictronVRM;
|
||||
using static System.ConsoleColor;
|
||||
|
||||
namespace InnovEnergy.RemoteSupportConsole;
|
||||
namespace InnovEnergy.App.RemoteSupportConsole;
|
||||
|
||||
public static class VpnConnection
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ using Flurl;
|
|||
using Flurl.Http;
|
||||
using InnovEnergy.Lib.Utils;
|
||||
|
||||
namespace InnovEnergy.RemoteSupportConsole;
|
||||
namespace InnovEnergy.App.RemoteSupportConsole;
|
||||
|
||||
public static class VpnInfo
|
||||
{
|
||||
|
|
|
@ -7,7 +7,7 @@ using InnovEnergy.Lib.Victron.VictronVRM;
|
|||
using static System.ConsoleColor;
|
||||
using static System.StringSplitOptions;
|
||||
|
||||
namespace InnovEnergy.RemoteSupportConsole;
|
||||
namespace InnovEnergy.App.RemoteSupportConsole;
|
||||
|
||||
public static class VrmConnection
|
||||
{
|
||||
|
|
|
@ -3,7 +3,7 @@ using InnovEnergy.Lib.Utils;
|
|||
using InnovEnergy.Lib.Victron.VictronVRM;
|
||||
using static System.ConsoleColor;
|
||||
|
||||
namespace InnovEnergy.RemoteSupportConsole;
|
||||
namespace InnovEnergy.App.RemoteSupportConsole;
|
||||
|
||||
|
||||
public static class VrmInfo
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -1,25 +1,24 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Import Project="../InnovEnergy.app.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<RootNamespace>InnovEnergy.SaliMax</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="../../lib/Devices/Adam6060/Adam6060.csproj"/>
|
||||
<ProjectReference Include="../../lib/Devices/AMPT/Ampt.csproj"/>
|
||||
<ProjectReference Include="../../lib/Devices/Battery48TL/Battery48TL.csproj"/>
|
||||
<ProjectReference Include="../../lib/Devices/EmuMeter/EmuMeter.csproj"/>
|
||||
<ProjectReference Include="../../lib/Devices/Trumpf/TruConvertAc/TruConvertAc.csproj"/>
|
||||
<ProjectReference Include="../../lib/Devices/Trumpf/TruConvertDc/TruConvertDc.csproj"/>
|
||||
<ProjectReference Include="../../lib/Devices/Trumpf/TruConvert/TruConvert.csproj"/>
|
||||
<ProjectReference Include="../../lib/StatusApi/StatusApi.csproj"/>
|
||||
<ProjectReference Include="../../lib/Utils/Utils.csproj"/>
|
||||
<ProjectReference Include="../../lib/Time/Time.csproj"/>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="../../lib/Devices/Adam6060/Adam6060.csproj" />
|
||||
<ProjectReference Include="../../lib/Devices/AMPT/Ampt.csproj" />
|
||||
<ProjectReference Include="../../lib/Devices/Battery48TL/Battery48TL.csproj" />
|
||||
<ProjectReference Include="../../lib/Devices/EmuMeter/EmuMeter.csproj" />
|
||||
<ProjectReference Include="../../lib/Devices/Trumpf/TruConvertAc/TruConvertAc.csproj" />
|
||||
<ProjectReference Include="../../lib/Devices/Trumpf/TruConvertDc/TruConvertDc.csproj" />
|
||||
<ProjectReference Include="../../lib/Devices/Trumpf/TruConvert/TruConvert.csproj" />
|
||||
<ProjectReference Include="../../lib/StatusApi/StatusApi.csproj" />
|
||||
<ProjectReference Include="../../lib/Utils/Utils.csproj" />
|
||||
<PackageReference Include="CliWrap" Version="3.6.0" />
|
||||
<PackageReference Include="DecimalMath.DecimalEx" Version="1.0.2" />
|
||||
<PackageReference Include="Flurl.Http" Version="3.2.4" />
|
||||
<PackageReference Include="System.IO.Ports" Version="7.0.0" />
|
||||
<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>
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using InnovEnergy.Lib.Utils;
|
||||
|
||||
namespace InnovEnergy.SaliMax;
|
||||
namespace InnovEnergy.App.SaliMax;
|
||||
|
||||
public static class AsciiArt
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace InnovEnergy.SaliMax;
|
||||
namespace InnovEnergy.App.SaliMax;
|
||||
|
||||
public enum BusPort
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using InnovEnergy.Lib.Devices.Battery48TL;
|
||||
|
||||
namespace InnovEnergy.SaliMax.Controller;
|
||||
namespace InnovEnergy.App.SaliMax.Controller;
|
||||
|
||||
public class AvgBatteriesStatus
|
||||
{
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
using static InnovEnergy.SaliMax.SystemConfig.SalimaxConfig;
|
||||
|
||||
namespace InnovEnergy.SaliMax.Controller;
|
||||
namespace InnovEnergy.App.SaliMax.Controller;
|
||||
|
||||
public static class Control
|
||||
{
|
||||
|
|
|
@ -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.TruConvertDc;
|
||||
using InnovEnergy.SaliMax.SaliMaxRelays;
|
||||
using InnovEnergy.SaliMax.SystemConfig;
|
||||
|
||||
namespace InnovEnergy.SaliMax.Controller;
|
||||
namespace InnovEnergy.App.SaliMax.Controller;
|
||||
|
||||
public class ControlRecord
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace InnovEnergy.SaliMax.Controller;
|
||||
namespace InnovEnergy.App.SaliMax.Controller;
|
||||
|
||||
public enum ControlTarget // TODO to delete
|
||||
{
|
||||
|
|
|
@ -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.TruConvertAc;
|
||||
using InnovEnergy.Lib.Devices.Trumpf.TruConvertDc;
|
||||
using InnovEnergy.Lib.Time.Unix;
|
||||
using InnovEnergy.Lib.Utils;
|
||||
using InnovEnergy.SaliMax.SaliMaxRelays;
|
||||
using InnovEnergy.SaliMax.SystemConfig;
|
||||
using InnovEnergy.Time.Unix;
|
||||
using static InnovEnergy.SaliMax.SaliMaxRelays.RelayState;
|
||||
using static InnovEnergy.App.SaliMax.SaliMaxRelays.RelayState;
|
||||
|
||||
|
||||
namespace InnovEnergy.SaliMax.Controller;
|
||||
namespace InnovEnergy.App.SaliMax.Controller;
|
||||
|
||||
public static class Controller
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace InnovEnergy.SaliMax.Controller;
|
||||
namespace InnovEnergy.App.SaliMax.Controller;
|
||||
|
||||
public struct SaliMaxState
|
||||
{
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
namespace InnovEnergy.SaliMax.Controller;
|
||||
namespace InnovEnergy.App.SaliMax.Controller;
|
||||
|
||||
public enum State : Int16
|
||||
{
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
namespace InnovEnergy.SaliMax.Controller;
|
||||
namespace InnovEnergy.App.SaliMax.Controller;
|
||||
|
||||
public static class StateConfig
|
||||
{
|
||||
|
|
|
@ -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.EmuMeter;
|
||||
using InnovEnergy.Lib.Devices.Trumpf.TruConvertAc;
|
||||
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
|
||||
{
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
using System.Text.Json.Nodes;
|
||||
using InnovEnergy.Lib.Devices.Ampt;
|
||||
using InnovEnergy.Lib.Devices.AMPT;
|
||||
using InnovEnergy.Lib.StatusApi;
|
||||
|
||||
namespace InnovEnergy.SaliMax.Log;
|
||||
namespace InnovEnergy.App.SaliMax.Log;
|
||||
|
||||
public static class Ampt
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ using System.Text.Json.Nodes;
|
|||
using InnovEnergy.Lib.Devices.Battery48TL;
|
||||
using InnovEnergy.Lib.StatusApi;
|
||||
|
||||
namespace InnovEnergy.SaliMax.Log;
|
||||
namespace InnovEnergy.App.SaliMax.Log;
|
||||
|
||||
public static class Battery48Tl
|
||||
{
|
||||
|
|
|
@ -3,9 +3,9 @@ using InnovEnergy.Lib.Devices.EmuMeter;
|
|||
using InnovEnergy.Lib.StatusApi;
|
||||
using InnovEnergy.Lib.Utils;
|
||||
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
|
||||
{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
using System.Text.Json.Nodes;
|
||||
using InnovEnergy.Lib.StatusApi;
|
||||
|
||||
namespace InnovEnergy.SaliMax.Log;
|
||||
namespace InnovEnergy.App.SaliMax.Log;
|
||||
|
||||
public static class JsonUtil
|
||||
{
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
using System.Text.Json.Nodes;
|
||||
using InnovEnergy.App.SaliMax.Controller;
|
||||
using InnovEnergy.Lib.StatusApi;
|
||||
using InnovEnergy.SaliMax.Controller;
|
||||
using InnovEnergy.Time.Unix;
|
||||
using InnovEnergy.Lib.Time.Unix;
|
||||
|
||||
namespace InnovEnergy.SaliMax.Log;
|
||||
namespace InnovEnergy.App.SaliMax.Log;
|
||||
|
||||
public static class Salimax
|
||||
{
|
||||
|
|
|
@ -2,9 +2,9 @@ using System.Text.Json.Nodes;
|
|||
using InnovEnergy.Lib.Devices.Trumpf.TruConvertAc;
|
||||
using InnovEnergy.Lib.Utils;
|
||||
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
|
||||
{
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
using System.Text.Json.Nodes;
|
||||
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;
|
||||
|
||||
|
|
|
@ -1,27 +1,23 @@
|
|||
|
||||
|
||||
|
||||
using System.Diagnostics;
|
||||
using System.Text.Json;
|
||||
using System.Text.Json.Nodes;
|
||||
using System.Text.Json.Serialization;
|
||||
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.Trumpf.TruConvertAc;
|
||||
using InnovEnergy.Lib.Devices.Trumpf.TruConvertDc;
|
||||
using InnovEnergy.Lib.Devices.Ampt;
|
||||
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;
|
||||
|
||||
using InnovEnergy.Lib.Time.Unix;
|
||||
|
||||
#pragma warning disable IL2026
|
||||
|
||||
|
||||
namespace InnovEnergy.SaliMax;
|
||||
namespace InnovEnergy.App.SaliMax;
|
||||
|
||||
internal static class Program
|
||||
{
|
||||
|
|
|
@ -5,7 +5,7 @@ using InnovEnergy.Lib.Utils;
|
|||
using static System.Text.Encoding;
|
||||
using Convert = System.Convert;
|
||||
|
||||
namespace InnovEnergy.SaliMax;
|
||||
namespace InnovEnergy.App.SaliMax;
|
||||
|
||||
public record S3Config
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace InnovEnergy.SaliMax.SaliMaxRelays;
|
||||
namespace InnovEnergy.App.SaliMax.SaliMaxRelays;
|
||||
|
||||
public enum RelayState
|
||||
{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
using InnovEnergy.Lib.Devices.Adam6060;
|
||||
using InnovEnergy.Lib.Utils;
|
||||
|
||||
namespace InnovEnergy.SaliMax.SaliMaxRelays;
|
||||
namespace InnovEnergy.App.SaliMax.SaliMaxRelays;
|
||||
|
||||
public class SaliMaxRelaysDevice
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace InnovEnergy.SaliMax.SaliMaxRelays;
|
||||
namespace InnovEnergy.App.SaliMax.SaliMaxRelays;
|
||||
|
||||
public record SaliMaxRelayStatus
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace InnovEnergy.SaliMax.SystemConfig;
|
||||
namespace InnovEnergy.App.SaliMax.SystemConfig;
|
||||
|
||||
public static class Config
|
||||
{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
using InnovEnergy.Lib.Devices.Trumpf.TruConvertAc;
|
||||
using InnovEnergy.Lib.Devices.Trumpf.TruConvertDc;
|
||||
|
||||
namespace InnovEnergy.SaliMax.SystemConfig;
|
||||
namespace InnovEnergy.App.SaliMax.SystemConfig;
|
||||
|
||||
public static class Defaults
|
||||
{
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
using System.Text.Json;
|
||||
using InnovEnergy.Lib.Time.Unix;
|
||||
using InnovEnergy.Lib.Utils;
|
||||
using InnovEnergy.Time.Unix;
|
||||
using static System.Text.Json.JsonSerializer;
|
||||
|
||||
namespace InnovEnergy.SaliMax.SystemConfig;
|
||||
namespace InnovEnergy.App.SaliMax.SystemConfig;
|
||||
|
||||
// shut up trim warnings
|
||||
#pragma warning disable IL2026
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
#undef BatteriesAllowed
|
||||
|
||||
using InnovEnergy.App.SaliMax.Controller;
|
||||
using InnovEnergy.App.SaliMax.Log;
|
||||
using InnovEnergy.Lib.Utils;
|
||||
using InnovEnergy.SaliMax.Controller;
|
||||
using InnovEnergy.SaliMax.Log;
|
||||
|
||||
namespace InnovEnergy.SaliMax;
|
||||
namespace InnovEnergy.App.SaliMax;
|
||||
|
||||
public static class Topology
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using InnovEnergy.Lib.Utils;
|
||||
|
||||
namespace InnovEnergy.SaliMax;
|
||||
namespace InnovEnergy.App.SaliMax;
|
||||
|
||||
public static class Utils
|
||||
{
|
||||
|
|
|
@ -2,10 +2,6 @@
|
|||
|
||||
<Import Project="../InnovEnergy.lib.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<RootNamespace>InnovEnergy.Lib.Channels</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Utils\Utils.csproj" />
|
||||
</ItemGroup>
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using System.Net.Sockets;
|
||||
|
||||
namespace InnovEnergy.Lib.Channels.V2.Connections;
|
||||
namespace InnovEnergy.Lib.Channels.V2.Bak.Connections;
|
||||
|
||||
public class TcpClientConnection : Connection<Socket>
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace InnovEnergy.Lib.Channels.V2.Connections;
|
||||
namespace InnovEnergy.Lib.Channels.V2.Bak.Connections;
|
||||
|
||||
public static class Connection
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace InnovEnergy.Lib.Channels.V2.Connections;
|
||||
namespace InnovEnergy.Lib.Channels.V2.Bak.Connections;
|
||||
|
||||
public interface IConnection
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<PropertyGroup>
|
||||
<AssemblyName>InnovEnergy.Lib.Devices.Ampt</AssemblyName>
|
||||
<RootNamespace>InnovEnergy.Lib.Devices.Ampt</RootNamespace>
|
||||
|
||||
<!-- <OutputType>Exe</OutputType> -->
|
||||
</PropertyGroup>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ using InnovEnergy.Lib.Protocols.Modbus.Clients;
|
|||
using InnovEnergy.Lib.Protocols.Modbus.Connections;
|
||||
using InnovEnergy.Lib.StatusApi.Connections;
|
||||
|
||||
namespace InnovEnergy.Lib.Devices.Ampt;
|
||||
namespace InnovEnergy.Lib.Devices.AMPT;
|
||||
|
||||
public class AmptCommunicationUnit
|
||||
{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
using InnovEnergy.Lib.StatusApi.Connections;
|
||||
using InnovEnergy.Lib.StatusApi.Devices;
|
||||
|
||||
namespace InnovEnergy.Lib.Devices.Ampt;
|
||||
namespace InnovEnergy.Lib.Devices.AMPT;
|
||||
|
||||
public record AmptDeviceStatus
|
||||
(
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
using InnovEnergy.Lib.StatusApi.Connections;
|
||||
using InnovEnergy.Lib.StatusApi.Devices;
|
||||
|
||||
namespace InnovEnergy.Lib.Devices.Ampt;
|
||||
namespace InnovEnergy.Lib.Devices.AMPT;
|
||||
|
||||
public record AmptStatus
|
||||
(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace InnovEnergy.Lib.Devices.Ampt;
|
||||
namespace InnovEnergy.Lib.Devices.AMPT;
|
||||
|
||||
public record AmptStringStatus
|
||||
{
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<PropertyGroup>
|
||||
<AssemblyName>InnovEnergy.Lib.Devices.Adam6060</AssemblyName>
|
||||
<RootNamespace>InnovEnergy.Lib.Devices.Adam6060</RootNamespace>
|
||||
|
||||
<!-- <OutputType>Exe</OutputType> -->
|
||||
</PropertyGroup>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<PropertyGroup>
|
||||
<AssemblyName>InnovEnergy.Lib.Devices.Battery48TL</AssemblyName>
|
||||
<RootNamespace>InnovEnergy.Lib.Devices.Battery48TL</RootNamespace>
|
||||
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<PropertyGroup>
|
||||
<AssemblyName>InnovEnergy.Lib.Devices.EmuMeter</AssemblyName>
|
||||
<RootNamespace>InnovEnergy.Lib.Devices.EmuMeter</RootNamespace>
|
||||
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue