26 lines
785 B
C#
26 lines
785 B
C#
using Content.Shared.Atmos;
|
|
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.Serialization.Manager.Attributes;
|
|
using Robust.Shared.ViewVariables;
|
|
|
|
namespace Content.Server.Atmos.Piping.Binary.Components
|
|
{
|
|
[RegisterComponent]
|
|
public class GasPressurePumpComponent : Component
|
|
{
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public bool Enabled { get; set; } = true;
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
[DataField("inlet")]
|
|
public string InletName { get; set; } = "inlet";
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
[DataField("outlet")]
|
|
public string OutletName { get; set; } = "outlet";
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public float TargetPressure { get; set; } = Atmospherics.OneAtmosphere;
|
|
}
|
|
}
|