File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ void ModbusMessageWidget::update()
254254 addItem (tr (" <span style='color:%1'>*** INVALID MODBUS RESPONSE ***</span>" ).arg (errColor));
255255 }
256256
257- const QString dirColor = _mm->isRequest () ? " #0066cc " : " #009933 " ;
257+ const QString dirColor = _mm->isRequest () ? " #009933 " : " #0066cc " ;
258258 auto addField = [&](const QString &name, const QString &value, const QString &clr) {
259259 addItem (QString (" <b style='color:#000000'>%1:</b> <span style='color:%2'>%3</span>" ).arg (name, clr, value));
260260 };
@@ -276,7 +276,7 @@ void ModbusMessageWidget::update()
276276 }
277277 };
278278
279- addField (tr (" Type" ), _mm->isRequest () ? tr (" Request (Tx )" ) : tr (" Response (Rx )" ), dirColor);
279+ addField (tr (" Type" ), _mm->isRequest () ? tr (" Request (Rx )" ) : tr (" Response (Tx )" ), dirColor);
280280 if (_showTimestamp) addField (tr (" Time" ), _mm->timestamp ().toString (Qt::ISODateWithMs), dataColor);
281281
282282 if (_mm->protocolType () == ModbusMessage::Tcp)
You can’t perform that action at this time.
0 commit comments