20 lines
613 B
C#
20 lines
613 B
C#
using Content.Shared.Medical.SuitSensor;
|
|
|
|
namespace Content.Server.Medical.CrewMonitoring;
|
|
|
|
[RegisterComponent]
|
|
[Access(typeof(CrewMonitoringConsoleSystem))]
|
|
public sealed partial 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"), ViewVariables(VVAccess.ReadWrite)]
|
|
public float SensorTimeout = 10f;
|
|
}
|