Merge pull request #373 from scamille/patch-1

Fix PLC parse for type "Z"/"C"
This commit is contained in:
Michael Croes
2021-03-12 20:46:17 +01:00
committed by GitHub

View File

@@ -183,7 +183,7 @@
case "Z":
case "C":
// Counter
dataType = DataType.Timer;
dataType = DataType.Counter;
dbNumber = 0;
address = int.Parse(input.Substring(1));
varType = VarType.Counter;
@@ -204,4 +204,4 @@
}
}
}
}
}