SIPLACE Setup Report Generator is a Windows Forms application developed in C# for importing SIPLACE XML recipe files, storing recipe and setup data in SQL Server, and generating setup reports in Excel and PDF formats.
- Import one or more SIPLACE XML recipe files
- Parse recipe and setup information from XML
- Store recipe and setup data in SQL Server
- Support multiple XML imports
- Display imported recipes in the application
- Select a recipe for report generation
- Generate Excel setup reports
- Generate PDF setup reports
- Group setup records based on the required grouping criteria
- C#
- .NET 8
- Windows Forms
- SQL Server Express
- Entity Framework Core
- LINQ to XML
- ClosedXML
- QuestPDF
SIPLACE XML Files
↓
XML Parsing
↓
Recipe and Setup Data
↓
SQL Server
↓
Recipe Selection
↓
Report Generation
↓
┌──────────────┐
│ │
Excel PDF
Report Report
- Install SQL Server Express and SQL Server Management Studio (SSMS), if required.
- Open
CreateTables.sqlin SSMS. - Create the required SIPLACE database and tables using the SQL script.
- Configure the application connection string for the SQL Server instance being used.
- Execute the SQL script and verify that the required tables have been created.
- Run the application and verify that it can connect to the database.
- Install the .NET 8 SDK.
- Ensure SQL Server is available and the required database has been created.
- Configure the SQL Server connection string used by the application.
- Open the solution in Visual Studio or a compatible IDE.
- Restore the NuGet packages.
- Build the solution in Release configuration.
- Run the application.
- Import one or more SIPLACE XML recipe files.
- Select an imported recipe.
- Generate an Excel or PDF report.
A self contained Windows x64 build is provided in the Release v.01 folder of this repository.
- Open the
Release v.01folder in the repository. - Download the complete published application package.
- If the package is provided as a ZIP file, extract it to a folder on your Windows PC.
- Open the extracted folder.
- Locate and double click:
SiplaceApp.exe
To run the published application, copy the complete contents of the publish folder to the target Windows system and launch the application executable.
The application still requires access to the configured SQL Server database.
The application generates two report formats from the processed setup data.
Excel reports are generated using ClosedXML and contain the recipe information and grouped setup details.
PDF reports are generated using QuestPDF and contain the same recipe and setup information in a formatted, printable layout.
SIPLACE Setup Report Generator
│
├── Models
│ ├── Recipe.cs
│ └── SetupDetail.cs
│
├── Services
│ ├── XMLParser.cs
│ ├── ReportGenerator.cs
│ ├── ExcelExporter.cs
│ └── PdfExporter.cs
│
├── Data
│ └── SiplaceContext.cs
│
├── SQL
│ └── CreateTables.sql
│
├── MainForm.cs
├── MainForm.Designer.cs
├── Program.cs
└── SiplaceApp.csproj
The application uses two main tables:
- Recipes — stores recipe header information.
- SetupDetails — stores setup detail information associated with a recipe.
The relationship between the tables is maintained using RecipeId.