using Content.Shared.Medical.SuitSensor;
namespace Content.Server.Medical.CrewMonitoring
{
[RegisterComponent]
[Access(typeof(CrewMonitoringConsoleSystem))]
public sealed class CrewMonitoringConsoleComponent : Component
{
///
/// List of all currently connected sensors to this console.
///
public Dictionary ConnectedSensors = new();
///
/// After what time sensor consider to be lost.
///
[DataField("sensorTimeout"), ViewVariables(VVAccess.ReadWrite)]
public float SensorTimeout = 10f;
///
/// Whether the direction arrows in the monitor UI should snap the nearest diagonal or cardinal direction, or whether they should point exactly towards the target.
///
[DataField("snap"), ViewVariables(VVAccess.ReadWrite)]
public bool Snap = true;
///
/// Minimum distance before the monitor direction indicator stops pointing towards the target and instead
/// shows an icon indicating that the target is "here". Does not affect the displayed coordinates.
///
[DataField("precision"), ViewVariables(VVAccess.ReadWrite)]
public float Precision = 10f;
}
}