Skip to content

Conversation

@PTKu
Copy link
Contributor

@PTKu PTKu commented Dec 11, 2024

This pull request includes several significant changes to the AXSharp.compiler project, primarily focusing on enhancing the configuration and initialization processes. The most important changes include adding methods for creating merged configurations, updating member initialization methods, and modifying configuration declaration methods to support multiple configurations.

Enhancements to configuration and initialization processes:

Updates to member initialization methods:

Other notable changes:

IX-BOT and others added 7 commits December 5, 2024 12:22
Refactored configuration handling by introducing a new approach to merge configurations into a single class. Added loops to create instances of builder types, check their interfaces, and handle exceptions. Introduced a new method `CreateMergedConfigurations` in the `ICombinedThreeVisitor` interface. Enhanced `CsOnlinerConstructorBuilder` to handle various types of variable declarations and initialize members. Updated `CsOnlinerSourceBuilder` and `CsPlainSourceBuilder` to align with the new merged configuration approach. Modified `PragmaExtensions` to use `IStorageDeclaration` instead of `IFieldDeclaration`. Removed `unitsTwinController` class and its members from `configuration.g.cs` and `mixed_access.g.cs`. Updated `units.csproj` to change package versions. Added new configurations in `configuration.st`.
Updated `CreateMergedConfigurations` in `CsOnlinerSourceBuilder.cs` to include additional `using` statements and added a closing brace. Introduced a partial class `unitsTwinController` in `Configurations.g.cs` with new properties. Updated `units.csproj` to reference newer versions of `AXSharp.Abstractions` and `AXSharp.Connector`. Adjusted test cases in `CliProgramTest.cs` to account for an additional output file. Disabled test parallelization in `Usings.cs`. Updated `apax-lock.json` for `@ax/sld` package version change and re-added `@ax/st-docs` package. Removed large blocks of code defining `ix_integration_plcTwinController` and `integratedTwinController` classes in `configuration.g.cs`. Removed multiple properties from `integratedTwinController` class in the `Pocos` namespace, while keeping the `Pokus` class unchanged.
@PTKu PTKu merged commit 329af26 into dev Dec 11, 2024
2 checks passed
@PTKu PTKu deleted the 354-Update_to_stc_v8 branch December 11, 2024 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants