project update
This commit is contained in:
20
Modules/Other/IndicateInputModule.cs
Normal file
20
Modules/Other/IndicateInputModule.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using Enigmos.Ports;
|
||||
using Enigmos.Ports.DataPorts;
|
||||
|
||||
namespace Enigmos.Modules.Other;
|
||||
|
||||
public partial class IndicateInputModule : BaseModule
|
||||
{
|
||||
public DataInPort Input { get; set; }
|
||||
protected override bool Draggable => false;
|
||||
protected override bool HasManual => false;
|
||||
public override IEnumerable<BasePort> Ports => new[] { Input };
|
||||
public override void Init()
|
||||
{
|
||||
base.Init();
|
||||
Input = GetPort<DataInPort>("Input");
|
||||
PostInit();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user