Skip to content

Commit

Permalink
chore: Updated some generated knx files
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdutz committed Feb 6, 2024
1 parent 4c89f63 commit 570cf1e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions plc4go/protocols/knxnetip/readwrite/model/KnxProperty.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 @@ -164,7 +164,7 @@ public static PlcValue staticParse(

byte dayOfMonth = readSimpleField("dayOfMonth", readUnsignedByte(readBuffer, 5));

byte dayofweek = readSimpleField("dayofweek", readUnsignedByte(readBuffer, 3));
byte dayOfWeek = readSimpleField("dayOfWeek", readUnsignedByte(readBuffer, 3));

byte hour = readSimpleField("hour", readUnsignedByte(readBuffer, 5));

Expand Down Expand Up @@ -203,7 +203,7 @@ public static PlcValue staticParse(
_map.put("year", new PlcUSINT(year));
_map.put("month", new PlcUSINT(month));
_map.put("dayOfMonth", new PlcUSINT(dayOfMonth));
_map.put("dayofweek", new PlcUSINT(dayofweek));
_map.put("dayOfWeek", new PlcUSINT(dayOfWeek));
_map.put("hour", new PlcUSINT(hour));
_map.put("minutes", new PlcUSINT(minutes));
_map.put("seconds", new PlcUSINT(seconds));
Expand Down Expand Up @@ -483,7 +483,7 @@ public static int getLengthInBits(
// Simple field (dayOfMonth)
lengthInBits += 5;

// Simple field (dayofweek)
// Simple field (dayOfWeek)
lengthInBits += 3;

// Simple field (hour)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,8 @@ public static IPlcValue StaticParse(ReadBuffer readBuffer, KnxPropertyDataType p
// Simple Field (dayOfMonth)
var dayOfMonth = readBuffer.ReadByte("", 5);

// Simple Field (dayofweek)
var dayofweek = readBuffer.ReadByte("", 3);
// Simple Field (dayOfWeek)
var dayOfWeek = readBuffer.ReadByte("", 3);

// Simple Field (hour)
var hour = readBuffer.ReadByte("", 5);
Expand Down Expand Up @@ -894,9 +894,9 @@ public static WriteBuffer StaticSerialize(IPlcValue _value, KnxPropertyDataType
// Simple Field (dayOfMonth)
var dayOfMonth = (byte) _value.GetStruct()["dayOfMonth"].GetByte();
writeBuffer.WriteByte("", 5, (byte) (dayOfMonth));
// Simple Field (dayofweek)
var dayofweek = (byte) _value.GetStruct()["dayofweek"].GetByte();
writeBuffer.WriteByte("", 3, (byte) (dayofweek));
// Simple Field (dayOfWeek)
var dayOfWeek = (byte) _value.GetStruct()["dayOfWeek"].GetByte();
writeBuffer.WriteByte("", 3, (byte) (dayOfWeek));
// Simple Field (hour)
var hour = (byte) _value.GetStruct()["hour"].GetByte();
writeBuffer.WriteByte("", 5, (byte) (hour));
Expand Down

0 comments on commit 570cf1e

Please sign in to comment.