--- a/erpc_interface/erpc_PLCObject/common.py Sat Jan 20 11:41:17 2024 +0100
+++ b/erpc_interface/erpc_PLCObject/common.py Mon Jan 22 21:30:23 2024 +0100
@@ -1,5 +1,5 @@
#
-# Generated by erpcgen 1.11.0 on Fri Jan 19 08:26:41 2024.
+# Generated by erpcgen 1.11.0 on Mon Jan 22 16:49:00 2024.
#
# AUTOGENERATED - DO NOT EDIT
#
@@ -13,31 +13,6 @@
Broken = 3
Disconnected = 4
-class IECtype_enum:
- BOOL = 0
- STEP = 1
- TRANSITION = 2
- ACTION = 3
- SINT = 4
- USINT = 5
- BYTE = 6
- STRING = 7
- INT = 8
- UINT = 9
- WORD = 10
- DINT = 11
- UDINT = 12
- DWORD = 13
- LINT = 14
- ULINT = 15
- LWORD = 16
- REAL = 17
- LREAL = 18
- TIME = 19
- TOD = 20
- DATE = 21
- DT = 22
-
# Structures data types declarations
class log_message(object):
@@ -210,14 +185,12 @@
return self.__str__()
class trace_order(object):
- def __init__(self, idx=None, iectype=None, force=None):
+ def __init__(self, idx=None, force=None):
self.idx = idx # uint32
- self.iectype = iectype # IECtype_enum
self.force = force # binary
def _read(self, codec):
self.idx = codec.read_uint32()
- self.iectype = codec.read_int32()
self.force = codec.read_binary()
return self
@@ -225,16 +198,13 @@
if self.idx is None:
raise ValueError("idx is None")
codec.write_uint32(self.idx)
- if self.iectype is None:
- raise ValueError("iectype is None")
- codec.write_int32(self.iectype)
if self.force is None:
raise ValueError("force is None")
codec.write_binary(self.force)
def __str__(self):
- return "<%s@%x idx=%s iectype=%s force=%s>" % (self.__class__.__name__, id(self), self.idx, self.iectype, self.force)
-
- def __repr__(self):
- return self.__str__()
-
+ return "<%s@%x idx=%s force=%s>" % (self.__class__.__name__, id(self), self.idx, self.force)
+
+ def __repr__(self):
+ return self.__str__()
+