Merge PR #109: modbuscommander: update actions and fix RTU crash on resource removal

This commit is contained in:
jenkins 2023-01-17 16:38:07 +01:00
commit d9dba7a229
4 changed files with 141 additions and 335 deletions

View File

@ -386,8 +386,9 @@ void IntegrationPluginModbusCommander::thingRemoved(Thing *thing)
{ {
qCDebug(dcModbusCommander()) << "Removing thing" << thing->name(); qCDebug(dcModbusCommander()) << "Removing thing" << thing->name();
if (thing->thingClassId() == modbusTCPClientThingClassId) { if (thing->thingClassId() == modbusTCPClientThingClassId) {
ModbusTCPMaster *modbus = m_modbusTCPMasters.take(thing); m_modbusTCPMasters.take(thing)->deleteLater();
modbus->deleteLater(); } else if (thing->thingClassId() == modbusRTUClientThingClassId) {
m_modbusRtuMasters.take(thing)->deleteLater();
} }
if (myThings().empty()) { if (myThings().empty()) {
@ -426,12 +427,12 @@ void IntegrationPluginModbusCommander::onRequestExecuted(QUuid requestId, bool s
{ {
if (m_asyncActions.contains(requestId)){ if (m_asyncActions.contains(requestId)){
ThingActionInfo *info = m_asyncActions.take(requestId); ThingActionInfo *info = m_asyncActions.take(requestId);
info->thing()->setStateValue(m_connectedStateTypeId.value(info->thing()->thingClassId()), success);
if (success){ if (success){
info->finish(Thing::ThingErrorNoError); info->finish(Thing::ThingErrorNoError);
} else { } else {
info->finish(Thing::ThingErrorHardwareNotAvailable); info->finish(Thing::ThingErrorHardwareNotAvailable);
} }
info->thing()->setStateValue(m_connectedStateTypeId.value(info->thing()->thingClassId()), success);
} }
if (m_readRequests.contains(requestId)){ if (m_readRequests.contains(requestId)){
@ -689,7 +690,7 @@ void IntegrationPluginModbusCommander::writeRegister(Thing *thing, ThingActionIn
info->finish(Thing::ThingErrorHardwareFailure); info->finish(Thing::ThingErrorHardwareFailure);
return; return;
} }
thing->setStateValue("value", action.param(coilValueActionValueParamTypeId).value().toBool());
info->finish(Thing::ThingErrorNoError); info->finish(Thing::ThingErrorNoError);
}); });
} else if (thing->thingClassId() == holdingRegisterThingClassId) { } else if (thing->thingClassId() == holdingRegisterThingClassId) {
@ -705,6 +706,7 @@ void IntegrationPluginModbusCommander::writeRegister(Thing *thing, ThingActionIn
return; return;
} }
thing->setStateValue("value", action.param(holdingRegisterValueActionValueParamTypeId).value().toUInt());
info->finish(Thing::ThingErrorNoError); info->finish(Thing::ThingErrorNoError);
}); });
} }

View File

@ -62,7 +62,6 @@
"id": "725b541a-9e0c-4634-81eb-e415c0b8f012", "id": "725b541a-9e0c-4634-81eb-e415c0b8f012",
"name": "connected", "name": "connected",
"displayName": "Connected", "displayName": "Connected",
"displayNameEvent": "Connection status changed",
"type": "bool", "type": "bool",
"defaultValue": false "defaultValue": false
} }
@ -88,7 +87,6 @@
"id": "dffc59fe-b230-4345-81d6-0a55f9e16520", "id": "dffc59fe-b230-4345-81d6-0a55f9e16520",
"name": "connected", "name": "connected",
"displayName": "Connected", "displayName": "Connected",
"displayNameEvent": "Connection status changed",
"type": "bool", "type": "bool",
"defaultValue": false "defaultValue": false
} }
@ -106,14 +104,14 @@
"name": "slaveAddress", "name": "slaveAddress",
"displayName": "Slave address", "displayName": "Slave address",
"type": "uint", "type": "uint",
"defaultValue": 180 "defaultValue": 1
}, },
{ {
"id": "9d40c4ce-d251-43bb-a55e-a8780567bbac", "id": "9d40c4ce-d251-43bb-a55e-a8780567bbac",
"name": "registerAddress", "name": "registerAddress",
"displayName": "Register address", "displayName": "Register address",
"type": "uint", "type": "uint",
"defaultValue": 100 "defaultValue": 0
} }
], ],
"stateTypes": [ "stateTypes": [
@ -121,7 +119,6 @@
"id": "9b3852ac-1518-4417-8a0a-452fcfec8963", "id": "9b3852ac-1518-4417-8a0a-452fcfec8963",
"name": "connected", "name": "connected",
"displayName": "Connected", "displayName": "Connected",
"displayNameEvent": "Connection status changed",
"type": "bool", "type": "bool",
"defaultValue": false "defaultValue": false
}, },
@ -130,7 +127,6 @@
"name": "value", "name": "value",
"displayName": "Value", "displayName": "Value",
"displayNameAction": "Write value", "displayNameAction": "Write value",
"displayNameEvent": "Value changed",
"type": "bool", "type": "bool",
"writable": true, "writable": true,
"defaultValue": false "defaultValue": false
@ -149,14 +145,14 @@
"name": "slaveAddress", "name": "slaveAddress",
"displayName": "Slave address", "displayName": "Slave address",
"type": "uint", "type": "uint",
"defaultValue": 180 "defaultValue": 1
}, },
{ {
"id": "d37be0cc-6155-4894-b70f-cbc9adfbe48b", "id": "d37be0cc-6155-4894-b70f-cbc9adfbe48b",
"name": "registerAddress", "name": "registerAddress",
"displayName": "Register address", "displayName": "Register address",
"type": "uint", "type": "uint",
"defaultValue": 100 "defaultValue": 0
} }
], ],
"stateTypes": [ "stateTypes": [
@ -165,16 +161,14 @@
"name": "connected", "name": "connected",
"displayName": "Connected", "displayName": "Connected",
"type": "bool", "type": "bool",
"defaultValue": false, "defaultValue": false
"displayNameEvent": "connection status changed"
}, },
{ {
"id": "c772bd7f-6e51-4b28-b182-3b979c1298ce", "id": "c772bd7f-6e51-4b28-b182-3b979c1298ce",
"name": "value", "name": "value",
"displayName": "Value", "displayName": "Value",
"type": "bool", "type": "bool",
"defaultValue": false, "defaultValue": false
"displayNameEvent": "value changed"
} }
] ]
}, },
@ -190,14 +184,14 @@
"name": "slaveAddress", "name": "slaveAddress",
"displayName": "Slave address", "displayName": "Slave address",
"type": "uint", "type": "uint",
"defaultValue": 180 "defaultValue": 1
}, },
{ {
"id": "264e381c-d259-4e11-b4b3-332b518ebba3", "id": "264e381c-d259-4e11-b4b3-332b518ebba3",
"name": "registerAddress", "name": "registerAddress",
"displayName": "Register address", "displayName": "Register address",
"type": "uint", "type": "uint",
"defaultValue": 100 "defaultValue": 0
} }
], ],
"stateTypes": [ "stateTypes": [
@ -206,16 +200,14 @@
"name": "connected", "name": "connected",
"displayName": "Connected", "displayName": "Connected",
"type": "bool", "type": "bool",
"defaultValue": false, "defaultValue": false
"displayNameEvent": "Connection status changed"
}, },
{ {
"id": "eabe2d1b-abe5-4063-adab-3cdd8500b286", "id": "eabe2d1b-abe5-4063-adab-3cdd8500b286",
"name": "Value", "name": "Value",
"displayName": "Value", "displayName": "Value",
"type": "int", "type": "int",
"defaultValue": 0, "defaultValue": 0
"displayNameEvent": "Value received"
} }
] ]
}, },
@ -231,14 +223,14 @@
"name": "slaveAddress", "name": "slaveAddress",
"displayName": "Slave address", "displayName": "Slave address",
"type": "uint", "type": "uint",
"defaultValue": 180 "defaultValue": 1
}, },
{ {
"id": "c771e09e-15fe-4ea9-9662-c44e2df556a8", "id": "c771e09e-15fe-4ea9-9662-c44e2df556a8",
"name": "registerAddress", "name": "registerAddress",
"displayName": "Register address", "displayName": "Register address",
"type": "uint", "type": "uint",
"defaultValue": 100 "defaultValue": 0
} }
], ],
"stateTypes": [ "stateTypes": [
@ -246,7 +238,6 @@
"id": "1f55b72a-5d13-4ae1-b136-bfd84fd9761f", "id": "1f55b72a-5d13-4ae1-b136-bfd84fd9761f",
"name": "connected", "name": "connected",
"displayName": "Connected", "displayName": "Connected",
"displayNameEvent": "Connection status changed",
"type": "bool", "type": "bool",
"defaultValue": false "defaultValue": false
}, },
@ -255,10 +246,9 @@
"name": "value", "name": "value",
"displayName": "Value", "displayName": "Value",
"displayNameAction": "Write value", "displayNameAction": "Write value",
"displayNameEvent": "Value changed", "type": "uint",
"type": "int",
"writable": true, "writable": true,
"defaultValue": false "defaultValue": 0
} }
] ]
} }

View File

@ -2,150 +2,117 @@
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1" language="de"> <TS version="2.1" language="de">
<context> <context>
<name>ModbusCommander</name> <name>IntegrationPluginModbusCommander</name>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="88"/> <location filename="../integrationpluginmodbuscommander.cpp" line="114"/>
<source>Baud rate</source> <source>The discovery is not available.</source>
<extracomment>The name of the ParamType (ThingClass: modbusRTUClient, Type: thing, ID: {45dfc828-f238-4263-89a3-9b35cf5dea39})</extracomment> <translation type="unfinished"></translation>
<translation>Baudrate</translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="91"/> <location filename="../integrationpluginmodbuscommander.cpp" line="282"/>
<source>The modbus RTU hardware resource is not available</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../integrationpluginmodbuscommander.cpp" line="288"/>
<source>Configured modbus RTU master could not be found. Please reconfigure the client and assign a new valid modbus RTU master.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ModbusCommander</name>
<message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="61"/>
<source>Coil</source> <source>Coil</source>
<extracomment>The name of the ThingClass ({f53524ea-1d06-40a9-b7a4-041297b21e84})</extracomment> <extracomment>The name of the ThingClass ({f53524ea-1d06-40a9-b7a4-041297b21e84})</extracomment>
<translation>Coil</translation> <translation>Coil</translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="94"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="64"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="97"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="67"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="100"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="70"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="103"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="73"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="106"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="76"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="109"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="79"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="112"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="115"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="118"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="121"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="124"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="127"/>
<source>Connected</source> <source>Connected</source>
<extracomment>The name of the ParamType (ThingClass: holdingRegister, EventType: connected, ID: {1f55b72a-5d13-4ae1-b136-bfd84fd9761f}) <extracomment>The name of the StateType ({1f55b72a-5d13-4ae1-b136-bfd84fd9761f}) of ThingClass holdingRegister
----------
The name of the StateType ({1f55b72a-5d13-4ae1-b136-bfd84fd9761f}) of ThingClass holdingRegister
----------
The name of the ParamType (ThingClass: inputRegister, EventType: connected, ID: {0f3768cf-5fb2-4fbf-8614-8389f65f1e9d})
---------- ----------
The name of the StateType ({0f3768cf-5fb2-4fbf-8614-8389f65f1e9d}) of ThingClass inputRegister The name of the StateType ({0f3768cf-5fb2-4fbf-8614-8389f65f1e9d}) of ThingClass inputRegister
---------- ----------
The name of the ParamType (ThingClass: discreteInput, EventType: connected, ID: {dbe7c801-0888-4e7f-a88b-ba342efb11b6})
----------
The name of the StateType ({dbe7c801-0888-4e7f-a88b-ba342efb11b6}) of ThingClass discreteInput The name of the StateType ({dbe7c801-0888-4e7f-a88b-ba342efb11b6}) of ThingClass discreteInput
---------- ----------
The name of the ParamType (ThingClass: coil, EventType: connected, ID: {9b3852ac-1518-4417-8a0a-452fcfec8963})
----------
The name of the StateType ({9b3852ac-1518-4417-8a0a-452fcfec8963}) of ThingClass coil The name of the StateType ({9b3852ac-1518-4417-8a0a-452fcfec8963}) of ThingClass coil
---------- ----------
The name of the ParamType (ThingClass: modbusRTUClient, EventType: connected, ID: {dffc59fe-b230-4345-81d6-0a55f9e16520})
----------
The name of the StateType ({dffc59fe-b230-4345-81d6-0a55f9e16520}) of ThingClass modbusRTUClient The name of the StateType ({dffc59fe-b230-4345-81d6-0a55f9e16520}) of ThingClass modbusRTUClient
---------- ----------
The name of the ParamType (ThingClass: modbusTCPClient, EventType: connected, ID: {725b541a-9e0c-4634-81eb-e415c0b8f012})
----------
The name of the StateType ({725b541a-9e0c-4634-81eb-e415c0b8f012}) of ThingClass modbusTCPClient</extracomment> The name of the StateType ({725b541a-9e0c-4634-81eb-e415c0b8f012}) of ThingClass modbusTCPClient</extracomment>
<translation>Verbunden</translation> <translation>Verbunden</translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="130"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="82"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="133"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="136"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="139"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="142"/>
<source>Connection status changed</source>
<extracomment>The name of the EventType ({1f55b72a-5d13-4ae1-b136-bfd84fd9761f}) of ThingClass holdingRegister
----------
The name of the EventType ({0f3768cf-5fb2-4fbf-8614-8389f65f1e9d}) of ThingClass inputRegister
----------
The name of the EventType ({9b3852ac-1518-4417-8a0a-452fcfec8963}) of ThingClass coil
----------
The name of the EventType ({dffc59fe-b230-4345-81d6-0a55f9e16520}) of ThingClass modbusRTUClient
----------
The name of the EventType ({725b541a-9e0c-4634-81eb-e415c0b8f012}) of ThingClass modbusTCPClient</extracomment>
<translation>Verbunden geändert</translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="145"/>
<source>Data bits</source>
<extracomment>The name of the ParamType (ThingClass: modbusRTUClient, Type: thing, ID: {a27c664b-9f43-4573-a2cc-f65a8fa1a069})</extracomment>
<translation>Datenbits</translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="148"/>
<source>Discrete input</source> <source>Discrete input</source>
<extracomment>The name of the ThingClass ({d7a15b39-48d3-4591-bdad-ec5e799aa6e5})</extracomment> <extracomment>The name of the ThingClass ({d7a15b39-48d3-4591-bdad-ec5e799aa6e5})</extracomment>
<translation>Discrete input</translation> <translation>Discrete input</translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="151"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="85"/>
<source>Holding register</source> <source>Holding register</source>
<extracomment>The name of the ThingClass ({61a2382c-3d9f-41a1-a2fd-27b2af203c56})</extracomment> <extracomment>The name of the ThingClass ({61a2382c-3d9f-41a1-a2fd-27b2af203c56})</extracomment>
<translation>Holding Register</translation> <translation>Holding Register</translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="154"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="88"/>
<source>IP Address</source> <source>IP Address</source>
<extracomment>The name of the ParamType (ThingClass: modbusTCPClient, Type: thing, ID: {2a3fcb23-931b-4ba1-b134-c49b656c76f7})</extracomment> <extracomment>The name of the ParamType (ThingClass: modbusTCPClient, Type: thing, ID: {2a3fcb23-931b-4ba1-b134-c49b656c76f7})</extracomment>
<translation>IP-Adresse</translation> <translation>IP-Adresse</translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="157"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="91"/>
<source>Input register</source> <source>Input register</source>
<extracomment>The name of the ThingClass ({e4c34050-d115-440f-b332-63d36e3e12b8})</extracomment> <extracomment>The name of the ThingClass ({e4c34050-d115-440f-b332-63d36e3e12b8})</extracomment>
<translation>Input Register</translation> <translation>Input Register</translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="160"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="94"/>
<source>Modbus Commander</source> <source>Modbus Commander</source>
<extracomment>The name of the plugin ModbusCommander ({7dda1b6d-c37e-4c9f-a696-1666f9de66e6})</extracomment> <extracomment>The name of the plugin ModbusCommander ({7dda1b6d-c37e-4c9f-a696-1666f9de66e6})</extracomment>
<translation>Modbus Commander</translation> <translation>Modbus Commander</translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="163"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="97"/>
<source>Modbus RTU client</source> <source>Modbus RTU client</source>
<extracomment>The name of the ThingClass ({776df314-6186-4eb5-b824-f0d916f6d9c3})</extracomment> <extracomment>The name of the ThingClass ({776df314-6186-4eb5-b824-f0d916f6d9c3})</extracomment>
<translation>Modbus RTU Client</translation> <translation>Modbus RTU Client</translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="166"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="100"/>
<source>Modbus RTU master</source>
<extracomment>The name of the ParamType (ThingClass: modbusRTUClient, Type: thing, ID: {ed49f7d8-ab18-4c37-9b80-1004b75dcb91})</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="103"/>
<source>Modbus TCP client</source> <source>Modbus TCP client</source>
<extracomment>The name of the ThingClass ({35d3e7dc-1f33-4b8c-baa3-eb10b4f157a7})</extracomment> <extracomment>The name of the ThingClass ({35d3e7dc-1f33-4b8c-baa3-eb10b4f157a7})</extracomment>
<translation>Modbus TCP Client</translation> <translation>Modbus TCP Client</translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="169"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="106"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="172"/>
<source>Number of retries</source> <source>Number of retries</source>
<extracomment>The name of the ParamType (ThingClass: modbusRTUClient, Type: settings, ID: {c4f16d6c-c1f2-4862-b0bd-6fae7193eaa8}) <extracomment>The name of the ParamType (ThingClass: modbusTCPClient, Type: settings, ID: {b27c95c9-7584-46e1-9e62-89890c7bde67})</extracomment>
----------
The name of the ParamType (ThingClass: modbusTCPClient, Type: settings, ID: {b27c95c9-7584-46e1-9e62-89890c7bde67})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="175"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="109"/>
<source>Parity</source>
<extracomment>The name of the ParamType (ThingClass: modbusRTUClient, Type: thing, ID: {72de1b08-2a27-49c5-90e0-8788c3ea1da3})</extracomment>
<translation>Parity</translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="178"/>
<source>Port</source> <source>Port</source>
<extracomment>The name of the ParamType (ThingClass: modbusTCPClient, Type: thing, ID: {bee8b151-815a-4159-9d8a-42b76e99b42c})</extracomment> <extracomment>The name of the ParamType (ThingClass: modbusTCPClient, Type: thing, ID: {bee8b151-815a-4159-9d8a-42b76e99b42c})</extracomment>
<translation>Port</translation> <translation>Port</translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="181"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="112"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="184"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="115"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="187"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="118"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="190"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="121"/>
<source>Register address</source> <source>Register address</source>
<extracomment>The name of the ParamType (ThingClass: holdingRegister, Type: thing, ID: {c771e09e-15fe-4ea9-9662-c44e2df556a8}) <extracomment>The name of the ParamType (ThingClass: holdingRegister, Type: thing, ID: {c771e09e-15fe-4ea9-9662-c44e2df556a8})
---------- ----------
@ -157,22 +124,10 @@ The name of the ParamType (ThingClass: coil, Type: thing, ID: {9d40c4ce-d251-43b
<translation>Registeradresse</translation> <translation>Registeradresse</translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="193"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="124"/>
<source>Serial number</source> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="127"/>
<extracomment>The name of the ParamType (ThingClass: modbusRTUClient, Type: thing, ID: {9908b01f-a76b-4b21-8242-b507c9252254})</extracomment> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="130"/>
<translation type="unfinished"></translation> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="133"/>
</message>
<message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="196"/>
<source>Serial port</source>
<extracomment>The name of the ParamType (ThingClass: modbusRTUClient, Type: thing, ID: {ed49f7d8-ab18-4c37-9b80-1004b75dcb91})</extracomment>
<translation>Serielle Schnittstelle</translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="199"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="202"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="205"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="208"/>
<source>Slave address</source> <source>Slave address</source>
<extracomment>The name of the ParamType (ThingClass: holdingRegister, Type: thing, ID: {35879cf9-631c-4fe0-95c0-a4bb2e9039e6}) <extracomment>The name of the ParamType (ThingClass: holdingRegister, Type: thing, ID: {35879cf9-631c-4fe0-95c0-a4bb2e9039e6})
---------- ----------
@ -184,77 +139,41 @@ The name of the ParamType (ThingClass: coil, Type: thing, ID: {d85977a2-4f9c-40f
<translation>Slaveadresse</translation> <translation>Slaveadresse</translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="211"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="136"/>
<source>Stop bits</source>
<extracomment>The name of the ParamType (ThingClass: modbusRTUClient, Type: thing, ID: {4ea8bcdf-d4c5-45a4-a54f-f10ac3f08a78})</extracomment>
<translation>Stopbits</translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="214"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="217"/>
<source>Timeout</source> <source>Timeout</source>
<extracomment>The name of the ParamType (ThingClass: modbusRTUClient, Type: settings, ID: {b0af32f0-b8cc-4642-af5a-576732522b2c}) <extracomment>The name of the ParamType (ThingClass: modbusTCPClient, Type: settings, ID: {a6aa4eff-205b-426d-ad05-90971a122138})</extracomment>
----------
The name of the ParamType (ThingClass: modbusTCPClient, Type: settings, ID: {a6aa4eff-205b-426d-ad05-90971a122138})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="220"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="139"/>
<source>Update interval</source> <source>Update interval</source>
<extracomment>The name of the ParamType (ThingClass: modbusCommander, Type: plugin, ID: {0606c221-b157-4086-885d-7e7b166540a1})</extracomment> <extracomment>The name of the ParamType (ThingClass: modbusCommander, Type: plugin, ID: {0606c221-b157-4086-885d-7e7b166540a1})</extracomment>
<translation>Updateinterval</translation> <translation>Updateinterval</translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="223"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="142"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="226"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="145"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="229"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="148"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="232"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="151"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="235"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="154"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="238"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="157"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="241"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="244"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="247"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="250"/>
<source>Value</source> <source>Value</source>
<extracomment>The name of the ParamType (ThingClass: holdingRegister, ActionType: value, ID: {585cc4fc-07da-415f-a176-12f3baeef025}) <extracomment>The name of the ParamType (ThingClass: holdingRegister, ActionType: value, ID: {585cc4fc-07da-415f-a176-12f3baeef025})
---------- ----------
The name of the ParamType (ThingClass: holdingRegister, EventType: value, ID: {585cc4fc-07da-415f-a176-12f3baeef025})
----------
The name of the StateType ({585cc4fc-07da-415f-a176-12f3baeef025}) of ThingClass holdingRegister The name of the StateType ({585cc4fc-07da-415f-a176-12f3baeef025}) of ThingClass holdingRegister
---------- ----------
The name of the ParamType (ThingClass: inputRegister, EventType: Value, ID: {eabe2d1b-abe5-4063-adab-3cdd8500b286})
----------
The name of the StateType ({eabe2d1b-abe5-4063-adab-3cdd8500b286}) of ThingClass inputRegister The name of the StateType ({eabe2d1b-abe5-4063-adab-3cdd8500b286}) of ThingClass inputRegister
---------- ----------
The name of the ParamType (ThingClass: discreteInput, EventType: value, ID: {c772bd7f-6e51-4b28-b182-3b979c1298ce})
----------
The name of the StateType ({c772bd7f-6e51-4b28-b182-3b979c1298ce}) of ThingClass discreteInput The name of the StateType ({c772bd7f-6e51-4b28-b182-3b979c1298ce}) of ThingClass discreteInput
---------- ----------
The name of the ParamType (ThingClass: coil, ActionType: value, ID: {1cd4cd53-3043-4ed9-9ba8-62985000c599}) The name of the ParamType (ThingClass: coil, ActionType: value, ID: {1cd4cd53-3043-4ed9-9ba8-62985000c599})
---------- ----------
The name of the ParamType (ThingClass: coil, EventType: value, ID: {1cd4cd53-3043-4ed9-9ba8-62985000c599})
----------
The name of the StateType ({1cd4cd53-3043-4ed9-9ba8-62985000c599}) of ThingClass coil</extracomment> The name of the StateType ({1cd4cd53-3043-4ed9-9ba8-62985000c599}) of ThingClass coil</extracomment>
<translation>Wert</translation> <translation>Wert</translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="253"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="160"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="256"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="163"/>
<source>Value changed</source>
<extracomment>The name of the EventType ({585cc4fc-07da-415f-a176-12f3baeef025}) of ThingClass holdingRegister
----------
The name of the EventType ({1cd4cd53-3043-4ed9-9ba8-62985000c599}) of ThingClass coil</extracomment>
<translation>Wert geändert</translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="259"/>
<source>Value received</source>
<extracomment>The name of the EventType ({eabe2d1b-abe5-4063-adab-3cdd8500b286}) of ThingClass inputRegister</extracomment>
<translation>Wert empfangen</translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="262"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="265"/>
<source>Write value</source> <source>Write value</source>
<extracomment>The name of the ActionType ({585cc4fc-07da-415f-a176-12f3baeef025}) of ThingClass holdingRegister <extracomment>The name of the ActionType ({585cc4fc-07da-415f-a176-12f3baeef025}) of ThingClass holdingRegister
---------- ----------
@ -262,22 +181,10 @@ The name of the ActionType ({1cd4cd53-3043-4ed9-9ba8-62985000c599}) of ThingClas
<translation>Schreibe Wert</translation> <translation>Schreibe Wert</translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="268"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="166"/>
<source>connection status changed</source>
<extracomment>The name of the EventType ({dbe7c801-0888-4e7f-a88b-ba342efb11b6}) of ThingClass discreteInput</extracomment>
<translation>Verbindung geändert</translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="271"/>
<source>nymea</source> <source>nymea</source>
<extracomment>The name of the vendor ({2062d64d-3232-433c-88bc-0d33c0ba2ba6})</extracomment> <extracomment>The name of the vendor ({2062d64d-3232-433c-88bc-0d33c0ba2ba6})</extracomment>
<translation>nymea</translation> <translation>nymea</translation>
</message> </message>
<message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="274"/>
<source>value changed</source>
<extracomment>The name of the EventType ({c772bd7f-6e51-4b28-b182-3b979c1298ce}) of ThingClass discreteInput</extracomment>
<translation>Wert geändert</translation>
</message>
</context> </context>
</TS> </TS>

View File

@ -2,150 +2,117 @@
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1"> <TS version="2.1">
<context> <context>
<name>ModbusCommander</name> <name>IntegrationPluginModbusCommander</name>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="88"/> <location filename="../integrationpluginmodbuscommander.cpp" line="114"/>
<source>Baud rate</source> <source>The discovery is not available.</source>
<extracomment>The name of the ParamType (ThingClass: modbusRTUClient, Type: thing, ID: {45dfc828-f238-4263-89a3-9b35cf5dea39})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="91"/> <location filename="../integrationpluginmodbuscommander.cpp" line="282"/>
<source>The modbus RTU hardware resource is not available</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../integrationpluginmodbuscommander.cpp" line="288"/>
<source>Configured modbus RTU master could not be found. Please reconfigure the client and assign a new valid modbus RTU master.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ModbusCommander</name>
<message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="61"/>
<source>Coil</source> <source>Coil</source>
<extracomment>The name of the ThingClass ({f53524ea-1d06-40a9-b7a4-041297b21e84})</extracomment> <extracomment>The name of the ThingClass ({f53524ea-1d06-40a9-b7a4-041297b21e84})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="94"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="64"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="97"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="67"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="100"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="70"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="103"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="73"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="106"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="76"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="109"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="79"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="112"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="115"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="118"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="121"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="124"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="127"/>
<source>Connected</source> <source>Connected</source>
<extracomment>The name of the ParamType (ThingClass: holdingRegister, EventType: connected, ID: {1f55b72a-5d13-4ae1-b136-bfd84fd9761f}) <extracomment>The name of the StateType ({1f55b72a-5d13-4ae1-b136-bfd84fd9761f}) of ThingClass holdingRegister
----------
The name of the StateType ({1f55b72a-5d13-4ae1-b136-bfd84fd9761f}) of ThingClass holdingRegister
----------
The name of the ParamType (ThingClass: inputRegister, EventType: connected, ID: {0f3768cf-5fb2-4fbf-8614-8389f65f1e9d})
---------- ----------
The name of the StateType ({0f3768cf-5fb2-4fbf-8614-8389f65f1e9d}) of ThingClass inputRegister The name of the StateType ({0f3768cf-5fb2-4fbf-8614-8389f65f1e9d}) of ThingClass inputRegister
---------- ----------
The name of the ParamType (ThingClass: discreteInput, EventType: connected, ID: {dbe7c801-0888-4e7f-a88b-ba342efb11b6})
----------
The name of the StateType ({dbe7c801-0888-4e7f-a88b-ba342efb11b6}) of ThingClass discreteInput The name of the StateType ({dbe7c801-0888-4e7f-a88b-ba342efb11b6}) of ThingClass discreteInput
---------- ----------
The name of the ParamType (ThingClass: coil, EventType: connected, ID: {9b3852ac-1518-4417-8a0a-452fcfec8963})
----------
The name of the StateType ({9b3852ac-1518-4417-8a0a-452fcfec8963}) of ThingClass coil The name of the StateType ({9b3852ac-1518-4417-8a0a-452fcfec8963}) of ThingClass coil
---------- ----------
The name of the ParamType (ThingClass: modbusRTUClient, EventType: connected, ID: {dffc59fe-b230-4345-81d6-0a55f9e16520})
----------
The name of the StateType ({dffc59fe-b230-4345-81d6-0a55f9e16520}) of ThingClass modbusRTUClient The name of the StateType ({dffc59fe-b230-4345-81d6-0a55f9e16520}) of ThingClass modbusRTUClient
---------- ----------
The name of the ParamType (ThingClass: modbusTCPClient, EventType: connected, ID: {725b541a-9e0c-4634-81eb-e415c0b8f012})
----------
The name of the StateType ({725b541a-9e0c-4634-81eb-e415c0b8f012}) of ThingClass modbusTCPClient</extracomment> The name of the StateType ({725b541a-9e0c-4634-81eb-e415c0b8f012}) of ThingClass modbusTCPClient</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="130"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="82"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="133"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="136"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="139"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="142"/>
<source>Connection status changed</source>
<extracomment>The name of the EventType ({1f55b72a-5d13-4ae1-b136-bfd84fd9761f}) of ThingClass holdingRegister
----------
The name of the EventType ({0f3768cf-5fb2-4fbf-8614-8389f65f1e9d}) of ThingClass inputRegister
----------
The name of the EventType ({9b3852ac-1518-4417-8a0a-452fcfec8963}) of ThingClass coil
----------
The name of the EventType ({dffc59fe-b230-4345-81d6-0a55f9e16520}) of ThingClass modbusRTUClient
----------
The name of the EventType ({725b541a-9e0c-4634-81eb-e415c0b8f012}) of ThingClass modbusTCPClient</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="145"/>
<source>Data bits</source>
<extracomment>The name of the ParamType (ThingClass: modbusRTUClient, Type: thing, ID: {a27c664b-9f43-4573-a2cc-f65a8fa1a069})</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="148"/>
<source>Discrete input</source> <source>Discrete input</source>
<extracomment>The name of the ThingClass ({d7a15b39-48d3-4591-bdad-ec5e799aa6e5})</extracomment> <extracomment>The name of the ThingClass ({d7a15b39-48d3-4591-bdad-ec5e799aa6e5})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="151"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="85"/>
<source>Holding register</source> <source>Holding register</source>
<extracomment>The name of the ThingClass ({61a2382c-3d9f-41a1-a2fd-27b2af203c56})</extracomment> <extracomment>The name of the ThingClass ({61a2382c-3d9f-41a1-a2fd-27b2af203c56})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="154"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="88"/>
<source>IP Address</source> <source>IP Address</source>
<extracomment>The name of the ParamType (ThingClass: modbusTCPClient, Type: thing, ID: {2a3fcb23-931b-4ba1-b134-c49b656c76f7})</extracomment> <extracomment>The name of the ParamType (ThingClass: modbusTCPClient, Type: thing, ID: {2a3fcb23-931b-4ba1-b134-c49b656c76f7})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="157"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="91"/>
<source>Input register</source> <source>Input register</source>
<extracomment>The name of the ThingClass ({e4c34050-d115-440f-b332-63d36e3e12b8})</extracomment> <extracomment>The name of the ThingClass ({e4c34050-d115-440f-b332-63d36e3e12b8})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="160"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="94"/>
<source>Modbus Commander</source> <source>Modbus Commander</source>
<extracomment>The name of the plugin ModbusCommander ({7dda1b6d-c37e-4c9f-a696-1666f9de66e6})</extracomment> <extracomment>The name of the plugin ModbusCommander ({7dda1b6d-c37e-4c9f-a696-1666f9de66e6})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="163"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="97"/>
<source>Modbus RTU client</source> <source>Modbus RTU client</source>
<extracomment>The name of the ThingClass ({776df314-6186-4eb5-b824-f0d916f6d9c3})</extracomment> <extracomment>The name of the ThingClass ({776df314-6186-4eb5-b824-f0d916f6d9c3})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="166"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="100"/>
<source>Modbus RTU master</source>
<extracomment>The name of the ParamType (ThingClass: modbusRTUClient, Type: thing, ID: {ed49f7d8-ab18-4c37-9b80-1004b75dcb91})</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="103"/>
<source>Modbus TCP client</source> <source>Modbus TCP client</source>
<extracomment>The name of the ThingClass ({35d3e7dc-1f33-4b8c-baa3-eb10b4f157a7})</extracomment> <extracomment>The name of the ThingClass ({35d3e7dc-1f33-4b8c-baa3-eb10b4f157a7})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="169"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="106"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="172"/>
<source>Number of retries</source> <source>Number of retries</source>
<extracomment>The name of the ParamType (ThingClass: modbusRTUClient, Type: settings, ID: {c4f16d6c-c1f2-4862-b0bd-6fae7193eaa8}) <extracomment>The name of the ParamType (ThingClass: modbusTCPClient, Type: settings, ID: {b27c95c9-7584-46e1-9e62-89890c7bde67})</extracomment>
----------
The name of the ParamType (ThingClass: modbusTCPClient, Type: settings, ID: {b27c95c9-7584-46e1-9e62-89890c7bde67})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="175"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="109"/>
<source>Parity</source>
<extracomment>The name of the ParamType (ThingClass: modbusRTUClient, Type: thing, ID: {72de1b08-2a27-49c5-90e0-8788c3ea1da3})</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="178"/>
<source>Port</source> <source>Port</source>
<extracomment>The name of the ParamType (ThingClass: modbusTCPClient, Type: thing, ID: {bee8b151-815a-4159-9d8a-42b76e99b42c})</extracomment> <extracomment>The name of the ParamType (ThingClass: modbusTCPClient, Type: thing, ID: {bee8b151-815a-4159-9d8a-42b76e99b42c})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="181"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="112"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="184"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="115"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="187"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="118"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="190"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="121"/>
<source>Register address</source> <source>Register address</source>
<extracomment>The name of the ParamType (ThingClass: holdingRegister, Type: thing, ID: {c771e09e-15fe-4ea9-9662-c44e2df556a8}) <extracomment>The name of the ParamType (ThingClass: holdingRegister, Type: thing, ID: {c771e09e-15fe-4ea9-9662-c44e2df556a8})
---------- ----------
@ -157,22 +124,10 @@ The name of the ParamType (ThingClass: coil, Type: thing, ID: {9d40c4ce-d251-43b
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="193"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="124"/>
<source>Serial number</source> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="127"/>
<extracomment>The name of the ParamType (ThingClass: modbusRTUClient, Type: thing, ID: {9908b01f-a76b-4b21-8242-b507c9252254})</extracomment> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="130"/>
<translation type="unfinished"></translation> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="133"/>
</message>
<message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="196"/>
<source>Serial port</source>
<extracomment>The name of the ParamType (ThingClass: modbusRTUClient, Type: thing, ID: {ed49f7d8-ab18-4c37-9b80-1004b75dcb91})</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="199"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="202"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="205"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="208"/>
<source>Slave address</source> <source>Slave address</source>
<extracomment>The name of the ParamType (ThingClass: holdingRegister, Type: thing, ID: {35879cf9-631c-4fe0-95c0-a4bb2e9039e6}) <extracomment>The name of the ParamType (ThingClass: holdingRegister, Type: thing, ID: {35879cf9-631c-4fe0-95c0-a4bb2e9039e6})
---------- ----------
@ -184,77 +139,41 @@ The name of the ParamType (ThingClass: coil, Type: thing, ID: {d85977a2-4f9c-40f
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="211"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="136"/>
<source>Stop bits</source>
<extracomment>The name of the ParamType (ThingClass: modbusRTUClient, Type: thing, ID: {4ea8bcdf-d4c5-45a4-a54f-f10ac3f08a78})</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="214"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="217"/>
<source>Timeout</source> <source>Timeout</source>
<extracomment>The name of the ParamType (ThingClass: modbusRTUClient, Type: settings, ID: {b0af32f0-b8cc-4642-af5a-576732522b2c}) <extracomment>The name of the ParamType (ThingClass: modbusTCPClient, Type: settings, ID: {a6aa4eff-205b-426d-ad05-90971a122138})</extracomment>
----------
The name of the ParamType (ThingClass: modbusTCPClient, Type: settings, ID: {a6aa4eff-205b-426d-ad05-90971a122138})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="220"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="139"/>
<source>Update interval</source> <source>Update interval</source>
<extracomment>The name of the ParamType (ThingClass: modbusCommander, Type: plugin, ID: {0606c221-b157-4086-885d-7e7b166540a1})</extracomment> <extracomment>The name of the ParamType (ThingClass: modbusCommander, Type: plugin, ID: {0606c221-b157-4086-885d-7e7b166540a1})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="223"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="142"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="226"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="145"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="229"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="148"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="232"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="151"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="235"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="154"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="238"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="157"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="241"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="244"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="247"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="250"/>
<source>Value</source> <source>Value</source>
<extracomment>The name of the ParamType (ThingClass: holdingRegister, ActionType: value, ID: {585cc4fc-07da-415f-a176-12f3baeef025}) <extracomment>The name of the ParamType (ThingClass: holdingRegister, ActionType: value, ID: {585cc4fc-07da-415f-a176-12f3baeef025})
---------- ----------
The name of the ParamType (ThingClass: holdingRegister, EventType: value, ID: {585cc4fc-07da-415f-a176-12f3baeef025})
----------
The name of the StateType ({585cc4fc-07da-415f-a176-12f3baeef025}) of ThingClass holdingRegister The name of the StateType ({585cc4fc-07da-415f-a176-12f3baeef025}) of ThingClass holdingRegister
---------- ----------
The name of the ParamType (ThingClass: inputRegister, EventType: Value, ID: {eabe2d1b-abe5-4063-adab-3cdd8500b286})
----------
The name of the StateType ({eabe2d1b-abe5-4063-adab-3cdd8500b286}) of ThingClass inputRegister The name of the StateType ({eabe2d1b-abe5-4063-adab-3cdd8500b286}) of ThingClass inputRegister
---------- ----------
The name of the ParamType (ThingClass: discreteInput, EventType: value, ID: {c772bd7f-6e51-4b28-b182-3b979c1298ce})
----------
The name of the StateType ({c772bd7f-6e51-4b28-b182-3b979c1298ce}) of ThingClass discreteInput The name of the StateType ({c772bd7f-6e51-4b28-b182-3b979c1298ce}) of ThingClass discreteInput
---------- ----------
The name of the ParamType (ThingClass: coil, ActionType: value, ID: {1cd4cd53-3043-4ed9-9ba8-62985000c599}) The name of the ParamType (ThingClass: coil, ActionType: value, ID: {1cd4cd53-3043-4ed9-9ba8-62985000c599})
---------- ----------
The name of the ParamType (ThingClass: coil, EventType: value, ID: {1cd4cd53-3043-4ed9-9ba8-62985000c599})
----------
The name of the StateType ({1cd4cd53-3043-4ed9-9ba8-62985000c599}) of ThingClass coil</extracomment> The name of the StateType ({1cd4cd53-3043-4ed9-9ba8-62985000c599}) of ThingClass coil</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="253"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="160"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="256"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="163"/>
<source>Value changed</source>
<extracomment>The name of the EventType ({585cc4fc-07da-415f-a176-12f3baeef025}) of ThingClass holdingRegister
----------
The name of the EventType ({1cd4cd53-3043-4ed9-9ba8-62985000c599}) of ThingClass coil</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="259"/>
<source>Value received</source>
<extracomment>The name of the EventType ({eabe2d1b-abe5-4063-adab-3cdd8500b286}) of ThingClass inputRegister</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="262"/>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="265"/>
<source>Write value</source> <source>Write value</source>
<extracomment>The name of the ActionType ({585cc4fc-07da-415f-a176-12f3baeef025}) of ThingClass holdingRegister <extracomment>The name of the ActionType ({585cc4fc-07da-415f-a176-12f3baeef025}) of ThingClass holdingRegister
---------- ----------
@ -262,22 +181,10 @@ The name of the ActionType ({1cd4cd53-3043-4ed9-9ba8-62985000c599}) of ThingClas
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="268"/> <location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="166"/>
<source>connection status changed</source>
<extracomment>The name of the EventType ({dbe7c801-0888-4e7f-a88b-ba342efb11b6}) of ThingClass discreteInput</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="271"/>
<source>nymea</source> <source>nymea</source>
<extracomment>The name of the vendor ({2062d64d-3232-433c-88bc-0d33c0ba2ba6})</extracomment> <extracomment>The name of the vendor ({2062d64d-3232-433c-88bc-0d33c0ba2ba6})</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<location filename="../../../build-nymea-plugins-modbus-Desktop-Debug/modbuscommander/plugininfo.h" line="274"/>
<source>value changed</source>
<extracomment>The name of the EventType ({c772bd7f-6e51-4b28-b182-3b979c1298ce}) of ThingClass discreteInput</extracomment>
<translation type="unfinished"></translation>
</message>
</context> </context>
</TS> </TS>