Refactoring

This commit is contained in:
Felix Weiß
2022-06-20 17:17:40 +02:00
parent 8824270401
commit 2499ea3a60
2 changed files with 5 additions and 5 deletions

View File

@@ -38,8 +38,8 @@ namespace MewtocolNet {
string error = m.Groups[8].Value; string error = m.Groups[8].Value;
PLCInfo retInfo = new PLCInfo { PLCInfo retInfo = new PLCInfo {
CpuInformation = PLCInfo.CpuInfo.BuildFromHexString(cpu, version, capacity), CpuInformation = CpuInfo.BuildFromHexString(cpu, version, capacity),
OperationMode = PLCInfo.PLCMode.BuildFromHex(operation), OperationMode = PLCMode.BuildFromHex(operation),
ErrorCode = error, ErrorCode = error,
StationNumber = int.Parse(station ?? "0"), StationNumber = int.Parse(station ?? "0"),
}; };

View File

@@ -2,13 +2,13 @@
<PropertyGroup> <PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework> <TargetFramework>netstandard2.0</TargetFramework>
<PackageId>AppLogger</PackageId> <PackageId>AppLogger</PackageId>
<Version>0.1.5</Version> <Version>0.2.5</Version>
<Authors>Felix Weiss</Authors> <Authors>Felix Weiss</Authors>
<Company>Womed</Company> <Company>Womed</Company>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DocumentationFile>P:\QUELLEN\PRODUKTAKTE\DESIGN_V_V\Software SPS\Projekt FP-XH\MewtocolNet\Builds\MewtocolNet.xml</DocumentationFile> <DocumentationFile>C:\Users\Felix Weiß\source\repos\WOmed\MewtocolNet\Builds\MewtocolNet.xml</DocumentationFile>
<OutputPath>P:\QUELLEN\PRODUKTAKTE\DESIGN_V_V\Software SPS\Projekt FP-XH\MewtocolNet\Builds\</OutputPath> <OutputPath>C:\Users\Felix Weiß\source\repos\WOmed\MewtocolNet\Builds</OutputPath>
</PropertyGroup> </PropertyGroup>
</Project> </Project>