This repository has been archived by the owner on Mar 24, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The most significant changes include the addition of a new package re…
…ference `DocumentFormat.OpenXml` in the `SoarCraft.AwaiShop.csproj` file and the addition of a new namespace `SoarCraft.AwaiShop.AdminHub` in the `Export.cs` file. The new namespace includes several `using` directives and a new `AdminHub` class with a method for creating an Excel document. 1. The `SoarCraft.AwaiShop.csproj` file now includes a new package reference `DocumentFormat.OpenXml` with version `3.0.1`. This package is likely to be used for manipulating Open XML documents. 2. The `Export.cs` file now includes a new namespace `SoarCraft.AwaiShop.AdminHub`. This namespace includes several `using` directives for `DocumentFormat.OpenXml`, `DocumentFormat.OpenXml.Packaging`, `DocumentFormat.OpenXml.Spreadsheet`, and `Microsoft.AspNetCore.SignalR`. These directives are likely to be used for creating and manipulating Open XML documents and for using SignalR, a library for real-time web functionality. 3. A new `AdminHub` class has been added to the `Export.cs` file. This class includes a static `DateTime` field `lastExport` initialized to `DateTime.MinValue`. This field is likely to be used for tracking the last export time. 4. A new method `ExportProcessingOrder` has been added to the `AdminHub` class in the `Export.cs` file. This method creates a new Excel document with a single sheet named "ProcessingOrder" and a single header row. The method returns `1`, indicating successful execution. The changes in the `AdminHub` class in the `Post.cs` file seem to be redundant as they involve removing and adding back the same lines of code without any modification.
- Loading branch information