예제 #1
0
            public ShapeLayoutCells GetCells(VA.ShapeSheet.CellData <double>[] row)
            {
                var cells = new ShapeLayoutCells();

                cells.ConFixedCode        = row[ConFixedCode.Ordinal].ToInt();
                cells.ConLineJumpCode     = row[ConLineJumpCode.Ordinal].ToInt();
                cells.ConLineJumpDirX     = row[ConLineJumpDirX.Ordinal].ToInt();
                cells.ConLineJumpDirY     = row[ConLineJumpDirY.Ordinal].ToInt();
                cells.ConLineJumpStyle    = row[ConLineJumpStyle.Ordinal].ToInt();
                cells.ConLineRouteExt     = row[ConLineRouteExt.Ordinal].ToInt();
                cells.ShapeFixedCode      = row[ShapeFixedCode.Ordinal].ToInt();
                cells.ShapePermeablePlace = row[ShapePermeablePlace.Ordinal].ToInt();
                cells.ShapePermeableX     = row[ShapePermeableX.Ordinal].ToInt();
                cells.ShapePermeableY     = row[ShapePermeableY.Ordinal].ToInt();
                cells.ShapePlaceFlip      = row[ShapePlaceFlip.Ordinal].ToInt();
                cells.ShapePlaceStyle     = row[ShapePlaceStyle.Ordinal].ToInt();
                cells.ShapePlowCode       = row[ShapePlowCode.Ordinal].ToInt();
                cells.ShapeRouteStyle     = row[ShapeRouteStyle.Ordinal].ToInt();
                cells.ShapeSplit          = row[ShapeSplit.Ordinal].ToInt();
                cells.ShapeSplittable     = row[ShapeSplittable.Ordinal].ToInt();
                //cells.DisplayLevel = row[DisplayLevel.Ordinal].ToInt();
                //cells.Relationships = row[Relationships.Ordinal].ToInt();
                return(cells);
            }
 public ShapeLayoutCells GetCells(VA.ShapeSheet.CellData<double>[] row)
 {
     var cells = new ShapeLayoutCells();
     cells.ConFixedCode = row[ConFixedCode.Ordinal].ToInt();
     cells.ConLineJumpCode = row[ConLineJumpCode.Ordinal].ToInt();
     cells.ConLineJumpDirX = row[ConLineJumpDirX.Ordinal].ToInt();
     cells.ConLineJumpDirY = row[ConLineJumpDirY.Ordinal].ToInt();
     cells.ConLineJumpStyle = row[ConLineJumpStyle.Ordinal].ToInt();
     cells.ConLineRouteExt = row[ConLineRouteExt.Ordinal].ToInt();
     cells.ShapeFixedCode = row[ShapeFixedCode.Ordinal].ToInt();
     cells.ShapePermeablePlace = row[ShapePermeablePlace.Ordinal].ToInt();
     cells.ShapePermeableX = row[ShapePermeableX.Ordinal].ToInt();
     cells.ShapePermeableY = row[ShapePermeableY.Ordinal].ToInt();
     cells.ShapePlaceFlip = row[ShapePlaceFlip.Ordinal].ToInt();
     cells.ShapePlaceStyle = row[ShapePlaceStyle.Ordinal].ToInt();
     cells.ShapePlowCode = row[ShapePlowCode.Ordinal].ToInt();
     cells.ShapeRouteStyle = row[ShapeRouteStyle.Ordinal].ToInt();
     cells.ShapeSplit = row[ShapeSplit.Ordinal].ToInt();
     cells.ShapeSplittable = row[ShapeSplittable.Ordinal].ToInt();
     //cells.DisplayLevel = row[DisplayLevel.Ordinal].ToInt();
     //cells.Relationships = row[Relationships.Ordinal].ToInt();
     return cells;
 }