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;
PLCInfo retInfo = new PLCInfo {
CpuInformation = PLCInfo.CpuInfo.BuildFromHexString(cpu, version, capacity),
OperationMode = PLCInfo.PLCMode.BuildFromHex(operation),
CpuInformation = CpuInfo.BuildFromHexString(cpu, version, capacity),
OperationMode = PLCMode.BuildFromHex(operation),
ErrorCode = error,
StationNumber = int.Parse(station ?? "0"),
};