mirror of
https://github.com/S7NetPlus/s7netplus.git
synced 2026-02-17 14:28:25 +08:00
Fix PLC parse for type "Z"/"C"
This commit is contained in:
@@ -183,7 +183,7 @@
|
|||||||
case "Z":
|
case "Z":
|
||||||
case "C":
|
case "C":
|
||||||
// Counter
|
// Counter
|
||||||
dataType = DataType.Timer;
|
dataType = DataType.Counter;
|
||||||
dbNumber = 0;
|
dbNumber = 0;
|
||||||
address = int.Parse(input.Substring(1));
|
address = int.Parse(input.Substring(1));
|
||||||
varType = VarType.Counter;
|
varType = VarType.Counter;
|
||||||
|
|||||||
Reference in New Issue
Block a user