protected override void UpdateCommands(List <ILifeTimeCommand> nodeCommands)
        {
            base.UpdateCommands(nodeCommands);

            var portCommand = new ConnectedFormatedPairCommand(this, defaultPortName, true);

            nodeCommands.Add(portCommand);

            PortPair = portCommand;
        }
Exemplo n.º 2
0
        protected override void UpdateCommands(List <ILifeTimeCommand> nodeCommands)
        {
            base.UpdateCommands(nodeCommands);

            portPairCommand = new ConnectedFormatedPairCommand(this, "data", bindInOut);
            PortValue       = Direction == PortIO.Input ?
                              portPairCommand.InputPort :
                              portPairCommand.OutputPort;

            nodeCommands.Add(portPairCommand);
        }
        protected override void UpdateCommands(List <ILifeTimeCommand> nodeCommands)
        {
            base.UpdateCommands(nodeCommands);

            var portPairCommand = new ConnectedFormatedPairCommand(this, portName, bindInOut);

            input  = portPairCommand.InputPort;
            output = portPairCommand.OutputPort;

            nodeCommands.Add(portPairCommand);
        }
Exemplo n.º 4
0
        protected override void UpdateCommands(List <ILifeTimeCommand> nodeCommands)
        {
            base.UpdateCommands(nodeCommands);

            for (int i = 0; i < portNames.Count; i++)
            {
                var portName    = portNames[i];
                var portCommand = new ConnectedFormatedPairCommand(this, portName, bindPorts);
                nodeCommands.Add(portCommand);
                inOutPorts.Add(portCommand);
            }
        }
Exemplo n.º 5
0
        protected override void UpdateCommands(List <ILifeTimeCommand> nodeCommands)
        {
            //make in/out ports
            var portCommand = new ConnectedFormatedPairCommand(this, Input, false);

            nodeCommands.Add(portCommand);

            //register data delay command
            var delayCommand = new PortValueTransferDelayCommand(portCommand.InputPort, portCommand.OutputPort, delay);

            nodeCommands.Add(delayCommand);
        }