mirror of
https://github.com/OpenLogics/MewtocolNet.git
synced 2025-12-06 03:01:24 +00:00
Refactoring
This commit is contained in:
@@ -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"),
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user