示例#1
0
        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();
        }
示例#2
0
 public void ChangeConfig(IPluginConfig config)
 {
     config = config as SwitchPortConfig;
 }