From 8a8873e54abf57103a56648efd8abd4fecae91a1 Mon Sep 17 00:00:00 2001 From: Sven Sager Date: Fri, 25 Aug 2023 16:10:38 +0200 Subject: [PATCH] feat: Import DeviceType on module level DeviceType can be used for advanced search filters in combination with RevPiModIOSelected. Signed-off-by: Sven Sager --- src/revpimodio2/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/revpimodio2/__init__.py b/src/revpimodio2/__init__.py index 9f42f05..4f28048 100644 --- a/src/revpimodio2/__init__.py +++ b/src/revpimodio2/__init__.py @@ -17,7 +17,7 @@ __all__ = [ "RevPiModIO", "RevPiModIODriver", "RevPiModIOSelected", "run_plc", "RevPiNetIO", "RevPiNetIODriver", "RevPiNetIOSelected", "run_net_plc", "Cycletools", "EventCallback", - "ProductType", "AIO", "COMPACT", "DI", "DO", "DIO", "FLAT", "MIO", + "ProductType", "DeviceType", "AIO", "COMPACT", "DI", "DO", "DIO", "FLAT", "MIO", ] __author__ = "Sven Sager " __copyright__ = "Copyright (C) 2023 Sven Sager" @@ -29,4 +29,4 @@ from .helper import Cycletools, EventCallback from .io import IOEvent from .modio import RevPiModIO, RevPiModIODriver, RevPiModIOSelected, run_plc from .netio import RevPiNetIO, RevPiNetIODriver, RevPiNetIOSelected, run_net_plc -from .pictory import ProductType, AIO, COMPACT, DI, DO, DIO, FLAT, MIO +from .pictory import ProductType, DeviceType, AIO, COMPACT, DI, DO, DIO, FLAT, MIO