public SwitchPortPlugin(string id, Socket socket, IProgress <NodeStateChange> progress = null) : base(id, socket, progress) { config = new SwitchPortConfig(); this.Inputs = new FinitePort() { MaxPort = 1 }; this.Outputs = new OutPort(); }
public void ChangeConfig(IPluginConfig config) { config = config as SwitchPortConfig; }