mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
20 lines
617 B
C#
20 lines
617 B
C#
using Content.Shared.Medical.SuitSensors;
|
|
|
|
namespace Content.Server.Medical.CrewMonitoring;
|
|
|
|
[RegisterComponent]
|
|
[Access(typeof(CrewMonitoringServerSystem))]
|
|
public sealed partial class CrewMonitoringServerComponent : Component
|
|
{
|
|
|
|
/// <summary>
|
|
/// List of all currently connected sensors to this server.
|
|
/// </summary>
|
|
public readonly Dictionary<string, SuitSensorStatus> SensorStatus = new();
|
|
|
|
/// <summary>
|
|
/// After what time sensor consider to be lost.
|
|
/// </summary>
|
|
[DataField("sensorTimeout"), ViewVariables(VVAccess.ReadWrite)]
|
|
public float SensorTimeout = 10f;
|
|
}
|