/// <summary> /// The status of the PBD as a friendly string (unplugged, host down, connected) /// </summary> public string StatusString() { if (!currently_attached) { return(Messages.REPAIR_SR_DIALOG_UNPLUGGED); } Host h = Connection.Resolve(host); if (h == null) { return(Messages.REPAIR_SR_DIALOG_UNPLUGGED); } if (!h.IsLive()) { return(Messages.HOST_NOT_LIVE); } return(Messages.CONNECTED); }