feat: Add new and missing ProductTypes to pictory.py module

Signed-off-by: Sven Sager <akira@narux.de>
This commit is contained in:
2023-08-25 16:09:51 +02:00
parent 0bc398e627
commit 9ad8ae0055

View File

@@ -14,6 +14,10 @@ __license__ = "LGPLv2"
# - RevPiGateCANopen_20161102_1_0.rap # - RevPiGateCANopen_20161102_1_0.rap
class ProductType: class ProductType:
CON_BT = 111
CON_CAN = 109
CON_MBUS = 110
GATEWAY_CAN_OPEN = 71 GATEWAY_CAN_OPEN = 71
GATEWAY_CCLINK = 72 GATEWAY_CCLINK = 72
GATEWAY_DEV_NET = 73 GATEWAY_DEV_NET = 73
@@ -38,6 +42,7 @@ class ProductType:
DO = 98 DO = 98
AIO = 103 AIO = 103
MIO = 118 MIO = 118
RO = 137
REVPI_CORE = 95 REVPI_CORE = 95
REVPI_COMPACT = 104 REVPI_COMPACT = 104
@@ -45,6 +50,18 @@ class ProductType:
REVPI_FLAT = 135 REVPI_FLAT = 135
REVPI_CONNECT_4 = 136 REVPI_CONNECT_4 = 136
VIRTUAL_CLOUD = 24584
VIRTUAL_MODBUS_TCP_SERVER = 24577
VIRTUAL_MODBUS_RTU_SERVER = 24578
VIRTUAL_MODBUS_TCP_CLIENT = 24579
VIRTUAL_MODBUS_RTU_CLIENT = 24580
VIRTUAL_OPCUA_SERVER = 23001
VIRTUAL_REVPI_SEVEN = 24583
VIRTUAL_PN_CONTROLLER = 24581
VIRTUAL_PN_DEVICE = 24582
VIRTUAL_TIMER = 28673
VIRTUAL_RAW = 32768
class DeviceType: class DeviceType:
"""Module key "type" in piCtory file.""" """Module key "type" in piCtory file."""