show drive overview
This commit is contained in:
@ -61,6 +61,22 @@ string Drive::sCapacityToText()
|
||||
return "ERROR";
|
||||
}
|
||||
|
||||
string Drive::sErrorCountToText(){
|
||||
return to_string(getErrorCount());
|
||||
}
|
||||
|
||||
|
||||
string Drive::sPowerOnHoursToText(){
|
||||
|
||||
//TODO show in human readable format
|
||||
|
||||
return to_string(getPowerOnHours());
|
||||
|
||||
}
|
||||
string Drive::sPowerCyclesToText(){
|
||||
return to_string(getPowerCycles());
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief set S.M.A.R.T. values in model
|
||||
* \param string modelFamily
|
||||
|
Reference in New Issue
Block a user