Exemple #1
0
        public override Object GetData(Int32 index)
        {
            for (Int32 i = 0; i < _subProgram.Nodes.Count; i++)
            {
                ProgramOutput programOutput = _subProgram.Nodes[i] as ProgramOutput;

                if (programOutput != null)
                {
                    if (programOutput.OutputIndex == index)
                    {
                        return(programOutput.GetData());
                    }
                }
            }

            return(null);
        }