Пример #1
0
        private IModel  CreateModel()
        {
            IModel     ret  = null;
            IDimension dim  = null;
            IDimItem   item = null;

            ret = new Model();
            for (int i = 1; i <= 5; ++i)
            {
                dim = new Dimension(i);
                for (int j = 1; j <= 10; ++j)
                {
                    item = new DimItem((UInt64)(i * Model.DimItemMax + j));
                    dim.DimItemAdd(item);
                }
                ret.DimensionAdd(dim);
            }
            return(ret);
        }