Fix PLC parse for type "Z"/"C"

This commit is contained in:
Serge Camille
2021-03-12 08:17:37 +01:00
committed by GitHub
parent 52c60f6eaf
commit 37384d2a92

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 @@
}
}
}
}
}