Skip to content

Commit

Permalink
feat: update vendors
Browse files Browse the repository at this point in the history
  • Loading branch information
sruehl committed Jun 21, 2023
1 parent 1e2298b commit ea12846
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 24 deletions.
32 changes: 32 additions & 0 deletions plc4go/protocols/bacnetip/readwrite/model/BACnetVendorId.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions plc4go/protocols/knxnetip/readwrite/model/KnxDatapoint.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -1632,6 +1632,8 @@ public enum BACnetVendorId {
UBIQISENSE_APS((int) 1420, (int) 1420, (String) "Ubiqisense ApS"),
TIGER_SOFT((int) 1421, (int) 1421, (String) "Tiger-Soft"),
ECODOM_SRL((int) 1422, (int) 1422, (String) "Ecodom Srl"),
BILGIPRO_IOT_SYSTEMS((int) 1423, (int) 1423, (String) "Bilgipro IoT Systems"),
PLANSPURNETDESIGN_GMBH((int) 1424, (int) 1424, (String) "planspur netdesign GmbH"),
DOLPHIN_SOLUTIONS_LTD((int) 1425, (int) 1425, (String) "Dolphin Solutions Ltd"),
MITSUBISHI_ELECTRIC_CORPORATION(
(int) 1426, (int) 1426, (String) "Mitsubishi Electric Corporation"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7371,19 +7371,19 @@ public static PlcValue staticParse(ReadBuffer readBuffer, KnxDatapointType datap
}
}

// Simple Field (validityHeightPosition)
Boolean validityHeightPosition = /*TODO: migrate me*/ /*TODO: migrate me*/
readBuffer.readBit("");

// Simple Field (validitySlatsPosition)
Boolean validitySlatsPosition = /*TODO: migrate me*/ /*TODO: migrate me*/
readBuffer.readBit("");

// Simple Field (validityHeightPosition)
Boolean validityHeightPosition = /*TODO: migrate me*/ /*TODO: migrate me*/
readBuffer.readBit("");

Map<String, PlcValue> _map = new HashMap<>();
_map.put("heightPosition", new PlcINT(heightPosition));
_map.put("slatsPosition", new PlcINT(slatsPosition));
_map.put("validityHeightPosition", new PlcBOOL(validityHeightPosition));
_map.put("validitySlatsPosition", new PlcBOOL(validitySlatsPosition));
_map.put("validityHeightPosition", new PlcBOOL(validityHeightPosition));

return new PlcStruct(_map);
} else if (EvaluationHelper.equals(datapointType, KnxDatapointType.DPT_StatusSAB)) { // Struct
Expand Down Expand Up @@ -12825,16 +12825,16 @@ public static void staticSerialize(
/*TODO: migrate me*/
/*TODO: migrate me*/ writeBuffer.writeUnsignedShort(
"", 6, ((Number) (short) 0x00).shortValue());
// Simple Field (validityHeightPosition)
boolean validityHeightPosition =
(boolean) _value.getStruct().get("validityHeightPosition").getBoolean();
/*TODO: migrate me*/
/*TODO: migrate me*/ writeBuffer.writeBit("", (boolean) (validityHeightPosition));
// Simple Field (validitySlatsPosition)
boolean validitySlatsPosition =
(boolean) _value.getStruct().get("validitySlatsPosition").getBoolean();
/*TODO: migrate me*/
/*TODO: migrate me*/ writeBuffer.writeBit("", (boolean) (validitySlatsPosition));
// Simple Field (validityHeightPosition)
boolean validityHeightPosition =
(boolean) _value.getStruct().get("validityHeightPosition").getBoolean();
/*TODO: migrate me*/
/*TODO: migrate me*/ writeBuffer.writeBit("", (boolean) (validityHeightPosition));
} else if (EvaluationHelper.equals(datapointType, KnxDatapointType.DPT_StatusSAB)) { // Struct
// Reserved Field
/*TODO: migrate me*/
Expand Down Expand Up @@ -15894,10 +15894,10 @@ public static int getLengthInBits(PlcValue _value, KnxDatapointType datapointTyp
sizeInBits += 8;
// Reserved Field
sizeInBits += 6;
// Simple Field (validityHeightPosition)
sizeInBits += 1;
// Simple Field (validitySlatsPosition)
sizeInBits += 1;
// Simple Field (validityHeightPosition)
sizeInBits += 1;
} else if (EvaluationHelper.equals(datapointType, KnxDatapointType.DPT_StatusSAB)) { // Struct
// Reserved Field
sizeInBits += 8;
Expand Down

0 comments on commit ea12846

Please sign in to comment.