2022-02-08 09:42:07 +13:00
|
|
|
using Content.Server.Atmos.Piping.Trinary.EntitySystems;
|
2021-06-19 13:25:05 +02:00
|
|
|
using Content.Shared.Atmos;
|
|
|
|
|
|
|
|
|
|
namespace Content.Server.Atmos.Piping.Trinary.Components
|
|
|
|
|
{
|
|
|
|
|
[RegisterComponent]
|
2022-06-07 15:26:28 +02:00
|
|
|
[Access(typeof(GasMixerSystem))]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class GasMixerComponent : Component
|
2021-06-19 13:25:05 +02:00
|
|
|
{
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
2022-05-14 21:08:27 +01:00
|
|
|
[DataField("enabled")]
|
2021-06-19 13:25:05 +02:00
|
|
|
public bool Enabled = true;
|
|
|
|
|
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
[DataField("inletOne")]
|
|
|
|
|
public string InletOneName = "inletOne";
|
|
|
|
|
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
[DataField("inletTwo")]
|
|
|
|
|
public string InletTwoName = "inletTwo";
|
|
|
|
|
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
[DataField("outlet")]
|
|
|
|
|
public string OutletName = "outlet";
|
|
|
|
|
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
2022-03-01 03:39:30 +13:00
|
|
|
[DataField("targetPressure")]
|
2021-06-19 13:25:05 +02:00
|
|
|
public float TargetPressure = Atmospherics.OneAtmosphere;
|
|
|
|
|
|
2022-03-01 03:39:30 +13:00
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
[DataField("maxTargetPressure")]
|
|
|
|
|
public float MaxTargetPressure = Atmospherics.MaxOutputPressure;
|
|
|
|
|
|
2021-06-19 13:25:05 +02:00
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
2021-10-16 18:11:06 -05:00
|
|
|
[DataField("inletOneConcentration")]
|
2021-06-19 13:25:05 +02:00
|
|
|
public float InletOneConcentration = 0.5f;
|
|
|
|
|
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
2021-10-16 18:11:06 -05:00
|
|
|
[DataField("inletTwoConcentration")]
|
2021-06-19 13:25:05 +02:00
|
|
|
public float InletTwoConcentration = 0.5f;
|
|
|
|
|
}
|
|
|
|
|
}
|