public ShapeFormatCellsReader()
 {
     this.FillBkgnd             = this.query.AddCell(SRCCON.FillBkgnd, nameof(SRCCON.FillBkgnd));
     this.FillBkgndTrans        = this.query.AddCell(SRCCON.FillBkgndTrans, nameof(SRCCON.FillBkgndTrans));
     this.FillForegnd           = this.query.AddCell(SRCCON.FillForegnd, nameof(SRCCON.FillForegnd));
     this.FillForegndTrans      = this.query.AddCell(SRCCON.FillForegndTrans, nameof(SRCCON.FillForegndTrans));
     this.FillPattern           = this.query.AddCell(SRCCON.FillPattern, nameof(SRCCON.FillPattern));
     this.ShapeShdwObliqueAngle = this.query.AddCell(SRCCON.ShapeShdwObliqueAngle, nameof(SRCCON.ShapeShdwObliqueAngle));
     this.ShapeShdwOffsetX      = this.query.AddCell(SRCCON.ShapeShdwOffsetX, nameof(SRCCON.ShapeShdwOffsetX));
     this.ShapeShdwOffsetY      = this.query.AddCell(SRCCON.ShapeShdwOffsetY, nameof(SRCCON.ShapeShdwOffsetY));
     this.ShapeShdwScaleFactor  = this.query.AddCell(SRCCON.ShapeShdwScaleFactor, nameof(SRCCON.ShapeShdwScaleFactor));
     this.ShapeShdwType         = this.query.AddCell(SRCCON.ShapeShdwType, nameof(SRCCON.ShapeShdwType));
     this.ShdwBkgnd             = this.query.AddCell(SRCCON.ShdwBkgnd, nameof(SRCCON.ShdwBkgnd));
     this.ShdwBkgndTrans        = this.query.AddCell(SRCCON.ShdwBkgndTrans, nameof(SRCCON.ShdwBkgndTrans));
     this.ShdwForegnd           = this.query.AddCell(SRCCON.ShdwForegnd, nameof(SRCCON.ShdwForegnd));
     this.ShdwForegndTrans      = this.query.AddCell(SRCCON.ShdwForegndTrans, nameof(SRCCON.ShdwForegndTrans));
     this.ShdwPattern           = this.query.AddCell(SRCCON.ShdwPattern, nameof(SRCCON.ShdwPattern));
     this.BeginArrow            = this.query.AddCell(SRCCON.BeginArrow, nameof(SRCCON.BeginArrow));
     this.BeginArrowSize        = this.query.AddCell(SRCCON.BeginArrowSize, nameof(SRCCON.BeginArrowSize));
     this.EndArrow       = this.query.AddCell(SRCCON.EndArrow, nameof(SRCCON.EndArrow));
     this.EndArrowSize   = this.query.AddCell(SRCCON.EndArrowSize, nameof(SRCCON.EndArrowSize));
     this.LineColor      = this.query.AddCell(SRCCON.LineColor, nameof(SRCCON.LineColor));
     this.LineCap        = this.query.AddCell(SRCCON.LineCap, nameof(SRCCON.LineCap));
     this.LineColorTrans = this.query.AddCell(SRCCON.LineColorTrans, nameof(SRCCON.LineColorTrans));
     this.LinePattern    = this.query.AddCell(SRCCON.LinePattern, nameof(SRCCON.LinePattern));
     this.LineWeight     = this.query.AddCell(SRCCON.LineWeight, nameof(SRCCON.LineWeight));
     this.Rounding       = this.query.AddCell(SRCCON.Rounding, nameof(SRCCON.Rounding));
 }
Пример #2
0
 public XFormCellsReader()
 {
     this.PinX    = this.query.AddCell(SRCCON.PinX, nameof(SRCCON.PinX));
     this.PinY    = this.query.AddCell(SRCCON.PinY, nameof(SRCCON.PinY));
     this.LocPinX = this.query.AddCell(SRCCON.LocPinX, nameof(SRCCON.LocPinX));
     this.LocPinY = this.query.AddCell(SRCCON.LocPinY, nameof(SRCCON.LocPinY));
     this.Width   = this.query.AddCell(SRCCON.Width, nameof(SRCCON.Width));
     this.Height  = this.query.AddCell(SRCCON.Height, nameof(SRCCON.Height));
     this.Angle   = this.query.AddCell(SRCCON.Angle, nameof(SRCCON.Angle));
 }
Пример #3
0
 public TextXFormCellsReader()
 {
     this.TxtPinX    = this.query.AddCell(SRCConstants.TxtPinX, nameof(SRCConstants.TxtPinX));
     this.TxtPinY    = this.query.AddCell(SRCConstants.TxtPinY, nameof(SRCConstants.TxtPinY));
     this.TxtLocPinX = this.query.AddCell(SRCConstants.TxtLocPinX, nameof(SRCConstants.TxtLocPinX));
     this.TxtLocPinY = this.query.AddCell(SRCConstants.TxtLocPinY, nameof(SRCConstants.TxtLocPinY));
     this.TxtWidth   = this.query.AddCell(SRCConstants.TxtWidth, nameof(SRCConstants.TxtWidth));
     this.TxtHeight  = this.query.AddCell(SRCConstants.TxtHeight, nameof(SRCConstants.TxtHeight));
     this.TxtAngle   = this.query.AddCell(SRCConstants.TxtAngle, nameof(SRCConstants.TxtAngle));
 }
Пример #4
0
 public TextBlockCellsReader()
 {
     this.BottomMargin   = this.query.AddCell(SRCCON.BottomMargin, nameof(SRCCON.BottomMargin));
     this.LeftMargin     = this.query.AddCell(SRCCON.LeftMargin, nameof(SRCCON.LeftMargin));
     this.RightMargin    = this.query.AddCell(SRCCON.RightMargin, nameof(SRCCON.RightMargin));
     this.TopMargin      = this.query.AddCell(SRCCON.TopMargin, nameof(SRCCON.TopMargin));
     this.DefaultTabStop = this.query.AddCell(SRCCON.DefaultTabStop, nameof(SRCCON.DefaultTabStop));
     this.TextBkgnd      = this.query.AddCell(SRCCON.TextBkgnd, nameof(SRCCON.TextBkgnd));
     this.TextBkgndTrans = this.query.AddCell(SRCCON.TextBkgndTrans, nameof(SRCCON.TextBkgndTrans));
     this.TextDirection  = this.query.AddCell(SRCCON.TextDirection, nameof(SRCCON.TextDirection));
     this.VerticalAlign  = this.query.AddCell(SRCCON.VerticalAlign, nameof(SRCCON.VerticalAlign));
 }
Пример #5
0
        public async Task <IActionResult> GetOne(int id)
        {
            await Db.Connection.OpenAsync();

            var query  = new ColumnQuery(Db);
            var result = await query.FindOneAsync(id);

            await Db.Connection.CloseAsync();

            if (result is null)
            {
                return(new NotFoundResult());
            }
            return(new OkObjectResult(result));
        }
Пример #6
0
        public async Task <IActionResult> SetOne(int id, String status)
        {
            await Db.Connection.OpenAsync();

            var query  = new ColumnQuery(Db);
            var result = await query.FindOneAsync(id);

            if (result is null)
            {
                await Db.Connection.CloseAsync();

                return(new NotFoundResult());
            }
            result.Status = status;
            await result.UpdateAsync();

            await Db.Connection.CloseAsync();

            return(new OkObjectResult(result));
        }
 public ShapeLayoutCellsReader()
 {
     this.ConFixedCode        = this.query.AddCell(SRCCON.ConFixedCode, nameof(SRCCON.ConFixedCode));
     this.ConLineJumpCode     = this.query.AddCell(SRCCON.ConLineJumpCode, nameof(SRCCON.ConLineJumpCode));
     this.ConLineJumpDirX     = this.query.AddCell(SRCCON.ConLineJumpDirX, nameof(SRCCON.ConLineJumpDirX));
     this.ConLineJumpDirY     = this.query.AddCell(SRCCON.ConLineJumpDirY, nameof(SRCCON.ConLineJumpDirY));
     this.ConLineJumpStyle    = this.query.AddCell(SRCCON.ConLineJumpStyle, nameof(SRCCON.ConLineJumpStyle));
     this.ConLineRouteExt     = this.query.AddCell(SRCCON.ConLineRouteExt, nameof(SRCCON.ConLineRouteExt));
     this.ShapeFixedCode      = this.query.AddCell(SRCCON.ShapeFixedCode, nameof(SRCCON.ShapeFixedCode));
     this.ShapePermeablePlace = this.query.AddCell(SRCCON.ShapePermeablePlace, nameof(SRCCON.ShapePermeablePlace));
     this.ShapePermeableX     = this.query.AddCell(SRCCON.ShapePermeableX, nameof(SRCCON.ShapePermeableX));
     this.ShapePermeableY     = this.query.AddCell(SRCCON.ShapePermeableY, nameof(SRCCON.ShapePermeableY));
     this.ShapePlaceFlip      = this.query.AddCell(SRCCON.ShapePlaceFlip, nameof(SRCCON.ShapePlaceFlip));
     this.ShapePlaceStyle     = this.query.AddCell(SRCCON.ShapePlaceStyle, nameof(SRCCON.ShapePlaceStyle));
     this.ShapePlowCode       = this.query.AddCell(SRCCON.ShapePlowCode, nameof(SRCCON.ShapePlowCode));
     this.ShapeRouteStyle     = this.query.AddCell(SRCCON.ShapeRouteStyle, nameof(SRCCON.ShapeRouteStyle));
     this.ShapeSplit          = this.query.AddCell(SRCCON.ShapeSplit, nameof(SRCCON.ShapeSplit));
     this.ShapeSplittable     = this.query.AddCell(SRCCON.ShapeSplittable, nameof(SRCCON.ShapeSplittable));
     this.DisplayLevel        = this.query.AddCell(SRCCON.DisplayLevel, nameof(SRCCON.DisplayLevel));
     this.Relationships       = this.query.AddCell(SRCCON.Relationships, nameof(SRCCON.Relationships));
 }
Пример #8
0
 public LockCellsReader()
 {
     this.LockAspect          = this.query.AddCell(SRCCON.LockAspect, nameof(SRCCON.LockAspect));
     this.LockBegin           = this.query.AddCell(SRCCON.LockBegin, nameof(SRCCON.LockBegin));
     this.LockCalcWH          = this.query.AddCell(SRCCON.LockCalcWH, nameof(SRCCON.LockCalcWH));
     this.LockCrop            = this.query.AddCell(SRCCON.LockCrop, nameof(SRCCON.LockCrop));
     this.LockCustProp        = this.query.AddCell(SRCCON.LockCustProp, nameof(SRCCON.LockCustProp));
     this.LockDelete          = this.query.AddCell(SRCCON.LockDelete, nameof(SRCCON.LockDelete));
     this.LockEnd             = this.query.AddCell(SRCCON.LockEnd, nameof(SRCCON.LockEnd));
     this.LockFormat          = this.query.AddCell(SRCCON.LockFormat, nameof(SRCCON.LockFormat));
     this.LockFromGroupFormat = this.query.AddCell(SRCCON.LockFromGroupFormat, nameof(SRCCON.LockFromGroupFormat));
     this.LockGroup           = this.query.AddCell(SRCCON.LockGroup, nameof(SRCCON.LockGroup));
     this.LockHeight          = this.query.AddCell(SRCCON.LockHeight, nameof(SRCCON.LockHeight));
     this.LockMoveX           = this.query.AddCell(SRCCON.LockMoveX, nameof(SRCCON.LockMoveX));
     this.LockMoveY           = this.query.AddCell(SRCCON.LockMoveY, nameof(SRCCON.LockMoveY));
     this.LockRotate          = this.query.AddCell(SRCCON.LockRotate, nameof(SRCCON.LockRotate));
     this.LockSelect          = this.query.AddCell(SRCCON.LockSelect, nameof(SRCCON.LockSelect));
     this.LockTextEdit        = this.query.AddCell(SRCCON.LockTextEdit, nameof(SRCCON.LockTextEdit));
     this.LockThemeColors     = this.query.AddCell(SRCCON.LockThemeColors, nameof(SRCCON.LockThemeColors));
     this.LockThemeEffects    = this.query.AddCell(SRCCON.LockThemeEffects, nameof(SRCCON.LockThemeEffects));
     this.LockVtxEdit         = this.query.AddCell(SRCCON.LockVtxEdit, nameof(SRCCON.LockVtxEdit));
     this.LockWidth           = this.query.AddCell(SRCCON.LockWidth, nameof(SRCCON.LockWidth));
 }
Пример #9
0
        public void FetchSchemas()
        {
            List <Schema> schemas = new List <Schema>();

            using (DbConnection conn = GetConnection(ConnectionString))
            {
                conn.Open();
                // Retrieve all schemas
                SchemaQuery schemaQuery = SchemaQuery;
                using (DbCommand cmd = GetCommand(schemaQuery.Query, conn))
                {
                    using DbDataReader reader = cmd.ExecuteReader();
                    while (reader.Read())
                    {
                        schemas.Add(new Schema()
                        {
                            Name = reader.GetString(schemaQuery.IndexOfName), Owner = reader.GetString(schemaQuery.IndexOfOwner)
                        });
                    }
                }
                // Retrieve all tables
                TableQuery tableQuery = TableQuery;
                using (DbCommand cmd = GetCommand(TableQuery.Query, conn))
                {
                    using DbDataReader reader = cmd.ExecuteReader();
                    while (reader.Read())
                    {
                        Schema schema = schemas.FirstOrDefault(s => s.Name == reader.GetString(TableQuery.IndexOfOwner));
                        schema?.Tables.Add(new Structure.Table()
                        {
                            Name = reader.GetString(TableQuery.IndexOfName)
                        });
                    }
                }
                // Retrieve all columns
                ColumnQuery columnQuery = ColumnQuery;
                using (DbCommand cmd = GetCommand(ColumnQuery.Query, conn))
                {
                    using DbDataReader reader = cmd.ExecuteReader();
                    while (reader.Read())
                    {
                        Schema          schema = schemas.FirstOrDefault(s => s.Name == reader.GetString(ColumnQuery.IndexOfTableSchemaName));
                        Structure.Table table  = schema?.Tables.FirstOrDefault(t => t.Name == reader.GetString(ColumnQuery.IndexOfTableName));
                        table?.Columns.Add(new Column()
                        {
                            Name = reader.GetString(ColumnQuery.IndexOfName), Type = reader.GetString(ColumnQuery.IndexOfType)
                        });
                    }
                }
                // Retrieve all primary keys
                PrimaryKeyQuery primaryKeyQuery = PrimaryKeyQuery;
                using (DbCommand cmd = GetCommand(primaryKeyQuery.Query, conn))
                {
                    using DbDataReader reader = cmd.ExecuteReader();
                    while (reader.Read())
                    {
                        Schema          tableSchema     = schemas.FirstOrDefault(s => s.Name == reader.GetString(primaryKeyQuery.IndexOfTableSchemaName));
                        Schema          primaryKeychema = schemas.FirstOrDefault(s => s.Name == reader.GetString(primaryKeyQuery.IndexOfPrimaryKeySchemaName));
                        Structure.Table table           = tableSchema?.Tables.FirstOrDefault(t => t.Name == reader.GetString(primaryKeyQuery.IndexOfTableName));
                        PrimaryKey      primaryKey      = new PrimaryKey()
                        {
                            Name = reader.GetString(primaryKeyQuery.IndexOfName)
                        };
                        primaryKeychema?.PrimaryKeys.Add(primaryKey);
                        table?.PrimaryKeys.Add(primaryKey);
                    }
                }
                // Retrieve all primary keys column
                PrimaryKeyColumnsQuery primaryKeyColumnsQuery = PrimaryKeyColumnsQuery;
                using (DbCommand cmd = GetCommand(primaryKeyColumnsQuery.Query, conn))
                {
                    using DbDataReader reader = cmd.ExecuteReader();
                    while (reader.Read())
                    {
                        Schema          primaryKeySchema = schemas.FirstOrDefault(s => s.Name == reader.GetString(primaryKeyColumnsQuery.IndexOfPrimaryKeySchemaName));
                        Schema          tableSchema      = schemas.FirstOrDefault(s => s.Name == reader.GetString(primaryKeyColumnsQuery.IndexOfTableSchemaName));
                        Structure.Table table            = tableSchema?.Tables.FirstOrDefault(t => t.Name == reader.GetString(primaryKeyColumnsQuery.IndexOfTableName));
                        PrimaryKey      primaryKey       = primaryKeySchema?.PrimaryKeys.FirstOrDefault(t => t.Name == reader.GetString(primaryKeyColumnsQuery.IndexOfPrimaryKeyName));
                        Column          column           = table?.Columns.FirstOrDefault(c => c.Name == reader.GetString(primaryKeyColumnsQuery.IndexOfName));
                        primaryKey?.Columns.Add(column);
                    }
                }
                // Retrieve all foreign keys
                ForeignKeyQuery foreignKeyQuery = ForeignKeyQuery;
                using (DbCommand cmd = GetCommand(foreignKeyQuery.Query, conn))
                {
                    using DbDataReader reader = cmd.ExecuteReader();
                    while (reader.Read())
                    {
                        Schema          primaryKeySchema = schemas.FirstOrDefault(s => s.Name == reader.GetString(foreignKeyQuery.IndexOfReferencedConstraintSchemaName));
                        Schema          foreignKeyShema  = schemas.FirstOrDefault(s => s.Name == reader.GetString(foreignKeyQuery.IndexOfForeignKeySchemaName));
                        Schema          tableSchema      = schemas.FirstOrDefault(s => s.Name == reader.GetString(foreignKeyQuery.IndexOfTableSchemaName));
                        PrimaryKey      primaryKey       = primaryKeySchema?.PrimaryKeys.FirstOrDefault(pk => pk.Name == reader.GetString(foreignKeyQuery.IndexOfReferencedConstraintName));
                        Structure.Table table            = foreignKeyShema?.Tables.FirstOrDefault(t => t.Name == reader.GetString(foreignKeyQuery.IndexOfTableName));
                        ForeignKey      foreignKey       = new ForeignKey()
                        {
                            Name = reader.GetString(foreignKeyQuery.IndexOfName), ReferencedConstraint = primaryKey
                        };
                        table?.ForeignKeys.Add(foreignKey);
                        foreignKeyShema?.ForeignKeys.Add(foreignKey);
                    }
                }
                // Retrieve all foreign keys column
                ForeignKeyColumnsQuery foreignKeyColumnsQuery = ForeignKeyColumnsQuery;
                using (DbCommand cmd = GetCommand(foreignKeyColumnsQuery.Query, conn))
                {
                    using DbDataReader reader = cmd.ExecuteReader();
                    while (reader.Read())
                    {
                        Schema          tableSchema      = schemas.FirstOrDefault(s => s.Name == reader.GetString(foreignKeyColumnsQuery.IndexOfTableSchemaName));
                        Schema          foreignKeySchema = schemas.FirstOrDefault(s => s.Name == reader.GetString(foreignKeyColumnsQuery.IndexOfForeignKeySchemaName));
                        Structure.Table table            = tableSchema?.Tables.FirstOrDefault(t => t.Name == reader.GetString(foreignKeyColumnsQuery.IndexOfTableName));
                        ForeignKey      foreignKey       = tableSchema?.ForeignKeys.FirstOrDefault(t => t.Name == reader.GetString(foreignKeyColumnsQuery.IndexOfForeignKeyName));
                        Column          column           = table?.Columns.FirstOrDefault(c => c.Name == reader.GetString(foreignKeyColumnsQuery.IndexOfName));
                        foreignKey?.Columns.Add(column);
                    }
                }
                conn.Close();
            }

            Schemas = schemas;
        }
Пример #10
0
 public PageCellsReader()
 {
     this.PageLeftMargin       = this.query.AddCell(SRCCON.PageLeftMargin, nameof(SRCCON.PageLeftMargin));
     this.CenterX              = this.query.AddCell(SRCCON.CenterX, nameof(SRCCON.CenterX));
     this.CenterY              = this.query.AddCell(SRCCON.CenterY, nameof(SRCCON.CenterY));
     this.OnPage               = this.query.AddCell(SRCCON.OnPage, nameof(SRCCON.OnPage));
     this.PageBottomMargin     = this.query.AddCell(SRCCON.PageBottomMargin, nameof(SRCCON.PageBottomMargin));
     this.PageRightMargin      = this.query.AddCell(SRCCON.PageRightMargin, nameof(SRCCON.PageRightMargin));
     this.PagesX               = this.query.AddCell(SRCCON.PagesX, nameof(SRCCON.PagesX));
     this.PagesY               = this.query.AddCell(SRCCON.PagesY, nameof(SRCCON.PagesY));
     this.PageTopMargin        = this.query.AddCell(SRCCON.PageTopMargin, nameof(SRCCON.PageTopMargin));
     this.PaperKind            = this.query.AddCell(SRCCON.PaperKind, nameof(SRCCON.PaperKind));
     this.PrintGrid            = this.query.AddCell(SRCCON.PrintGrid, nameof(SRCCON.PrintGrid));
     this.PrintPageOrientation = this.query.AddCell(SRCCON.PrintPageOrientation, nameof(SRCCON.PrintPageOrientation));
     this.ScaleX               = this.query.AddCell(SRCCON.ScaleX, nameof(SRCCON.ScaleX));
     this.ScaleY               = this.query.AddCell(SRCCON.ScaleY, nameof(SRCCON.ScaleY));
     this.PaperSource          = this.query.AddCell(SRCCON.PaperSource, nameof(SRCCON.PaperSource));
     this.DrawingScale         = this.query.AddCell(SRCCON.DrawingScale, nameof(SRCCON.DrawingScale));
     this.DrawingScaleType     = this.query.AddCell(SRCCON.DrawingScaleType, nameof(SRCCON.DrawingScaleType));
     this.DrawingSizeType      = this.query.AddCell(SRCCON.DrawingSizeType, nameof(SRCCON.DrawingSizeType));
     this.InhibitSnap          = this.query.AddCell(SRCCON.InhibitSnap, nameof(SRCCON.InhibitSnap));
     this.PageHeight           = this.query.AddCell(SRCCON.PageHeight, nameof(SRCCON.PageHeight));
     this.PageScale            = this.query.AddCell(SRCCON.PageScale, nameof(SRCCON.PageScale));
     this.PageWidth            = this.query.AddCell(SRCCON.PageWidth, nameof(SRCCON.PageWidth));
     this.ShdwObliqueAngle     = this.query.AddCell(SRCCON.ShdwObliqueAngle, nameof(SRCCON.ShdwObliqueAngle));
     this.ShdwOffsetX          = this.query.AddCell(SRCCON.ShdwOffsetX, nameof(SRCCON.ShdwOffsetX));
     this.ShdwOffsetY          = this.query.AddCell(SRCCON.ShdwOffsetY, nameof(SRCCON.ShdwOffsetY));
     this.ShdwScaleFactor      = this.query.AddCell(SRCCON.ShdwScaleFactor, nameof(SRCCON.ShdwScaleFactor));
     this.ShdwType             = this.query.AddCell(SRCCON.ShdwType, nameof(SRCCON.ShdwType));
     this.UIVisibility         = this.query.AddCell(SRCCON.UIVisibility, nameof(SRCCON.UIVisibility));
     this.XGridDensity         = this.query.AddCell(SRCCON.XGridDensity, nameof(SRCCON.XGridDensity));
     this.XGridOrigin          = this.query.AddCell(SRCCON.XGridOrigin, nameof(SRCCON.XGridOrigin));
     this.XGridSpacing         = this.query.AddCell(SRCCON.XGridSpacing, nameof(SRCCON.XGridSpacing));
     this.XRulerDensity        = this.query.AddCell(SRCCON.XRulerDensity, nameof(SRCCON.XRulerDensity));
     this.XRulerOrigin         = this.query.AddCell(SRCCON.XRulerOrigin, nameof(SRCCON.XRulerOrigin));
     this.YGridDensity         = this.query.AddCell(SRCCON.YGridDensity, nameof(SRCCON.YGridDensity));
     this.YGridOrigin          = this.query.AddCell(SRCCON.YGridOrigin, nameof(SRCCON.YGridOrigin));
     this.YGridSpacing         = this.query.AddCell(SRCCON.YGridSpacing, nameof(SRCCON.YGridSpacing));
     this.YRulerDensity        = this.query.AddCell(SRCCON.YRulerDensity, nameof(SRCCON.YRulerDensity));
     this.YRulerOrigin         = this.query.AddCell(SRCCON.YRulerOrigin, nameof(SRCCON.YRulerOrigin));
     this.AvenueSizeX          = this.query.AddCell(SRCCON.AvenueSizeX, nameof(SRCCON.AvenueSizeX));
     this.AvenueSizeY          = this.query.AddCell(SRCCON.AvenueSizeY, nameof(SRCCON.AvenueSizeY));
     this.BlockSizeX           = this.query.AddCell(SRCCON.BlockSizeX, nameof(SRCCON.BlockSizeX));
     this.BlockSizeY           = this.query.AddCell(SRCCON.BlockSizeY, nameof(SRCCON.BlockSizeY));
     this.CtrlAsInput          = this.query.AddCell(SRCCON.CtrlAsInput, nameof(SRCCON.CtrlAsInput));
     this.DynamicsOff          = this.query.AddCell(SRCCON.DynamicsOff, nameof(SRCCON.DynamicsOff));
     this.EnableGrid           = this.query.AddCell(SRCCON.EnableGrid, nameof(SRCCON.EnableGrid));
     this.LineAdjustFrom       = this.query.AddCell(SRCCON.LineAdjustFrom, nameof(SRCCON.LineAdjustFrom));
     this.LineAdjustTo         = this.query.AddCell(SRCCON.LineAdjustTo, nameof(SRCCON.LineAdjustTo));
     this.LineJumpCode         = this.query.AddCell(SRCCON.LineJumpCode, nameof(SRCCON.LineJumpCode));
     this.LineJumpFactorX      = this.query.AddCell(SRCCON.LineJumpFactorX, nameof(SRCCON.LineJumpFactorX));
     this.LineJumpFactorY      = this.query.AddCell(SRCCON.LineJumpFactorY, nameof(SRCCON.LineJumpFactorY));
     this.LineJumpStyle        = this.query.AddCell(SRCCON.LineJumpStyle, nameof(SRCCON.LineJumpStyle));
     this.LineRouteExt         = this.query.AddCell(SRCCON.LineRouteExt, nameof(SRCCON.LineRouteExt));
     this.LineToLineX          = this.query.AddCell(SRCCON.LineToLineX, nameof(SRCCON.LineToLineX));
     this.LineToLineY          = this.query.AddCell(SRCCON.LineToLineY, nameof(SRCCON.LineToLineY));
     this.LineToNodeX          = this.query.AddCell(SRCCON.LineToNodeX, nameof(SRCCON.LineToNodeX));
     this.LineToNodeY          = this.query.AddCell(SRCCON.LineToNodeY, nameof(SRCCON.LineToNodeY));
     this.PageLineJumpDirX     = this.query.AddCell(SRCCON.PageLineJumpDirX, nameof(SRCCON.PageLineJumpDirX));
     this.PageLineJumpDirY     = this.query.AddCell(SRCCON.PageLineJumpDirY, nameof(SRCCON.PageLineJumpDirY));
     this.PageShapeSplit       = this.query.AddCell(SRCCON.PageShapeSplit, nameof(SRCCON.PageShapeSplit));
     this.PlaceDepth           = this.query.AddCell(SRCCON.PlaceDepth, nameof(SRCCON.PlaceDepth));
     this.PlaceFlip            = this.query.AddCell(SRCCON.PlaceFlip, nameof(SRCCON.PlaceFlip));
     this.PlaceStyle           = this.query.AddCell(SRCCON.PlaceStyle, nameof(SRCCON.PlaceStyle));
     this.PlowCode             = this.query.AddCell(SRCCON.PlowCode, nameof(SRCCON.PlowCode));
     this.ResizePage           = this.query.AddCell(SRCCON.ResizePage, nameof(SRCCON.ResizePage));
     this.RouteStyle           = this.query.AddCell(SRCCON.RouteStyle, nameof(SRCCON.RouteStyle));
     this.AvoidPageBreaks      = this.query.AddCell(SRCCON.AvoidPageBreaks, nameof(SRCCON.AvoidPageBreaks));
     this.DrawingResizeType    = this.query.AddCell(SRCCON.DrawingResizeType, nameof(SRCCON.DrawingResizeType));
 }