File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
qt-ozwdaemon/mqttcommands Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,7 @@ bool MqttCommand_SetValue::processMessage(rapidjson::Document &msg) {
118
118
break ;
119
119
}
120
120
case QTOZW_ValueIds::ValueIdTypes::List: {
121
+ qDebug () << " Processing List" ;
121
122
if (!msg[" Value" ].IsUint ()) {
122
123
this ->sendSimpleStatus (false , QString (" Incorrect Field Type for Value: Not Integer: " ).append (msg[" Value" ].GetType ()));
123
124
qCWarning (ozwmcsv) << " Incorrect Field Type (Integer) for " << GetCommand () << " : Value: " << msg[" Value" ].GetType ();
@@ -131,7 +132,9 @@ bool MqttCommand_SetValue::processMessage(rapidjson::Document &msg) {
131
132
return false ;
132
133
}
133
134
list.selectedItem = list.labels [index];
134
- data.fromValue <QTOZW_ValueIDList>(list);
135
+ qDebug () << list.selectedItem ;
136
+ data.setValue <QTOZW_ValueIDList>(list);
137
+ qDebug () << data;
135
138
break ;
136
139
}
137
140
case QTOZW_ValueIds::ValueIdTypes::Raw: {
You can’t perform that action at this time.
0 commit comments