Files
tbd-station-14/Content.Client/HealthAnalyzer/UI/Tooltips/RespiratoryRateTooltip.xaml.cs
Janet Blackquill 173f24590f resimmed offmed
2025-10-08 20:49:29 -04:00

15 lines
537 B
C#

using Content.Shared.MedicalScanner;
namespace Content.Client.HealthAnalyzer.UI.Tooltips;
public sealed partial class RespiratoryRateTooltip : UpdatableTooltip
{
public override void Update(HealthAnalyzerScannedUserMessage msg)
{
if (msg.WoundableData is not { } woundable)
return;
Label.Text = Loc.GetString("health-analyzer-respiratory-rate-tooltip", ("etco2gas", woundable.Etco2GasName), ("etco2", woundable.Etco2Name), ("spo2gas", woundable.Spo2GasName), ("spo2", woundable.Spo2Name));
}
}