Debug diag: print machineEventSet
This commit is contained in:
@@ -439,6 +439,13 @@ void DeviceControllerDiag::sub_componentAssessment()
|
||||
}
|
||||
*/
|
||||
|
||||
// DEBUG
|
||||
// print all current states
|
||||
QStringList DeviceControllerStateStringList;
|
||||
for (const DeviceController::State& event : this->machineEventSet) {
|
||||
DeviceControllerStateStringList.append(QMetaEnum::fromType<DeviceController::State>().valueToKey(event));
|
||||
}
|
||||
qCritical() << "diagReq result: " << DeviceControllerStateStringList;
|
||||
|
||||
|
||||
// finish diag
|
||||
|
Reference in New Issue
Block a user