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