Add APC power meter (#14196)

This commit is contained in:
Kevin Zheng
2023-02-21 07:23:38 -08:00
committed by GitHub
parent 322006ab81
commit 32b9a7b781
5 changed files with 14 additions and 2 deletions

View File

@@ -32,6 +32,11 @@ namespace Content.Client.Power.APC.UI
BreakerButton.Pressed = castState.MainBreaker;
}
if (PowerLabel != null)
{
PowerLabel.Text = Loc.GetString("apc-menu-power-label", ("power", castState.Power));
}
if (ExternalPowerStateLabel != null)
{
switch (castState.ApcExternalPower)