using Content.Server.DeviceLinking.Systems; using Content.Shared.DeviceLinking; using Robust.Shared.Prototypes; namespace Content.Server.DeviceLinking.Components; /// /// Memory cell that sets the output to the input when enabled. /// [RegisterComponent, Access(typeof(MemoryCellSystem))] public sealed partial class MemoryCellComponent : Component { /// /// Name of the input port. /// [DataField] public ProtoId InputPort = "MemoryInput"; /// /// Name of the enable port. /// [DataField] public ProtoId EnablePort = "MemoryEnable"; /// /// Name of the output port. /// [DataField] public ProtoId OutputPort = "Output"; // State [DataField] public SignalState InputState = SignalState.Low; [DataField] public SignalState EnableState = SignalState.Low; [DataField] public bool LastOutput; }