Files
tbd-station-14/Content.Server/Medical/CrewMonitoring/CrewMonitoringConsoleComponent.cs
2022-02-02 14:35:40 +11:00

25 lines
776 B
C#

using System.Collections.Generic;
using Content.Shared.Medical.SuitSensor;
using Robust.Shared.Analyzers;
using Robust.Shared.GameObjects;
using Robust.Shared.Serialization.Manager.Attributes;
namespace Content.Server.Medical.CrewMonitoring
{
[RegisterComponent]
[Friend(typeof(CrewMonitoringConsoleSystem))]
public class CrewMonitoringConsoleComponent : Component
{
/// <summary>
/// List of all currently connected sensors to this console.
/// </summary>
public Dictionary<string, SuitSensorStatus> ConnectedSensors = new();
/// <summary>
/// After what time sensor consider to be lost.
/// </summary>
[DataField("sensorTimeout")]
public float SensorTimeout = 10f;
}
}