refactor(io): Rename GetIO method to GetByName in IO manager

Signed-off-by: Sven Sager <s.sager@kunbus.com>
This commit is contained in:
Sven Sager
2026-02-06 08:43:11 +01:00
parent 10ad65a62c
commit f387b0a836

View File

@@ -240,7 +240,7 @@ class InterfaceIoManager:
<method name="GetAllOutputs"> <method name="GetAllOutputs">
<arg name="object-path-list" type="ao" direction="out"/> <arg name="object-path-list" type="ao" direction="out"/>
</method> </method>
<method name="GetIO"> <method name="GetByName">
<arg name="name" type="s" direction="in"/> <arg name="name" type="s" direction="in"/>
<arg name="object-path" type="o" direction="out"/> <arg name="object-path" type="o" direction="out"/>
</method> </method>
@@ -291,7 +291,7 @@ class InterfaceIoManager:
def GetAllOutputs(self) -> list[str]: def GetAllOutputs(self) -> list[str]:
return self.lst_out_object_path return self.lst_out_object_path
def GetIO(self, io_name) -> str: def GetByName(self, io_name) -> str:
if io_name in self._dc_io_interfaces: if io_name in self._dc_io_interfaces:
return self._dc_io_interfaces[io_name].object_path return self._dc_io_interfaces[io_name].object_path