Esempio n. 1
0
        public IStateNameData AssemblePUCData(IStateNameData data)
        {
            ListData listData = new ListData(this.DataWindow, _index);

            PUCData d = (PUCData)data;

            if (d is ValueData)
            {
                MultipleValueData mv = new MultipleValueData();
                mv.AddValue((ValueData)d);
                d = mv;
            }

            listData.AddElement(d);

            OpData ret = listData;

            if (_windowParent != null)
            {
                ret = (OpData)_windowParent.AssemblePUCData(listData);
            }

            return(ret);
        }