mirror of
https://github.com/edisionnano/QDiskInfo.git
synced 2026-04-19 02:51:29 +03:00
Parse SCSI Firmware Version
This commit is contained in:
@@ -375,6 +375,7 @@ void MainWindow::populateWindow(const QJsonObject &localObj, const QString &heal
|
|||||||
if (isScsi) {
|
if (isScsi) {
|
||||||
modelName = localObj["scsi_model_name"].toString();
|
modelName = localObj["scsi_model_name"].toString();
|
||||||
powerCycleCountInt = localObj["scsi_start_stop_cycle_counter"].toObject().value("accumulated_load_unload_cycles").toInt(-1);
|
powerCycleCountInt = localObj["scsi_start_stop_cycle_counter"].toObject().value("accumulated_load_unload_cycles").toInt(-1);
|
||||||
|
firmwareVersion = localObj["scsi_revision"].toString("----");
|
||||||
}
|
}
|
||||||
|
|
||||||
bool nvmeHasSelfTest = false;
|
bool nvmeHasSelfTest = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user