PLCAddress: Add OB, OW, OD types from PR #277

PR #246 included most types also included in #277, this adds OB, OW and
OD that were only in #277.

Close #277.
This commit is contained in:
Michael Croes
2020-08-13 22:04:53 +02:00
parent 1685270535
commit 0a8ee0e091

View File

@@ -106,6 +106,7 @@
return;
case "QB":
case "AB":
case "OB":
// Output byte
dataType = DataType.Output;
dbNumber = 0;
@@ -114,6 +115,7 @@
return;
case "QW":
case "AW":
case "OW":
// Output word
dataType = DataType.Output;
dbNumber = 0;
@@ -122,6 +124,7 @@
return;
case "QD":
case "AD":
case "OD":
// Output double-word
dataType = DataType.Output;
dbNumber = 0;