Пример #1
0
        Stream(ArrayList data, LoadTypeBase loadBase)
        {
            data.Add(new Snoop.Data.ClassSeparator(typeof(LoadTypeBase)));

            // Nothing at this level yet

            AreaLoadType areaLoadType = loadBase as AreaLoadType;

            if (areaLoadType != null)
            {
                Stream(data, areaLoadType);
                return;
            }

            LineLoadType lineLoadType = loadBase as LineLoadType;

            if (lineLoadType != null)
            {
                Stream(data, lineLoadType);
                return;
            }

            PointLoadType pointLoadType = loadBase as PointLoadType;

            if (pointLoadType != null)
            {
                Stream(data, pointLoadType);
                return;
            }
        }
Пример #2
0
        private void Stream(ArrayList data, PointLoadType pointLoadType)
        {
            data.Add(new Snoop.Data.ClassSeparator(typeof(PointLoadType)));

             // Nothing at this level yet
        }
Пример #3
0
        Stream(ArrayList data, PointLoadType pointLoadType)
        {
            data.Add(new Snoop.Data.ClassSeparator(typeof(PointLoadType)));

            // Nothing at this level yet
        }