├── src ├── AXSharp.blazor │ ├── vortex_config.json │ ├── tests │ │ └── sandbox │ │ │ ├── AXSharp.RenderableContent.Tests │ │ │ ├── HtmlFiles │ │ │ │ └── stTestEmpty.html │ │ │ └── RenderableContentTests.cs │ │ │ ├── IxBlazor.App │ │ │ ├── wwwroot │ │ │ │ ├── css │ │ │ │ │ └── tailwind.css │ │ │ │ └── favicon.ico │ │ │ ├── Pages │ │ │ │ ├── Components.razor │ │ │ │ ├── WrapLayout.razor │ │ │ │ ├── MultipleLayouts.razor │ │ │ │ ├── DisplayPresentation.razor │ │ │ │ └── UniformGridWithRenderIgnore.razor │ │ │ ├── package.json │ │ │ ├── tailwind.ps1 │ │ │ ├── appsettings.json │ │ │ ├── appsettings.Development.json │ │ │ ├── App.razor │ │ │ ├── Custom │ │ │ │ └── MySimplePrimitiveStructDisplayView.razor │ │ │ ├── Shared │ │ │ │ └── MainLayout.razor │ │ │ └── _Imports.razor │ │ │ ├── ax-blazor-example │ │ │ ├── ix │ │ │ │ └── Usings.cs │ │ │ ├── .gitignore │ │ │ ├── axsharp.companion.json │ │ │ ├── src │ │ │ │ ├── TestEmpty.st │ │ │ │ ├── stTestEnum.st │ │ │ │ ├── enumStationStatus.st │ │ │ │ ├── stTest3.st │ │ │ │ ├── TcoVortexObject.st │ │ │ │ ├── TestSimpleNested.st │ │ │ │ ├── TestStructWithMainLayout.st │ │ │ │ ├── VortexComponents.st │ │ │ │ ├── TestWithoutLayouts.st │ │ │ │ ├── TestMixed.st │ │ │ │ ├── TestStruct.st │ │ │ │ ├── program.st │ │ │ │ ├── stTestNested.st │ │ │ │ ├── TestStructMultipleGroups.st │ │ │ │ ├── TestStructOneGroupWithLayout.st │ │ │ │ ├── CU00x.st │ │ │ │ ├── stSimplePrimitive.st │ │ │ │ ├── stComplex.st │ │ │ │ ├── stTest.st │ │ │ │ ├── stTest2.st │ │ │ │ ├── TestSimple.st │ │ │ │ ├── stExample.st │ │ │ │ ├── stRenderTemplateOverride.st │ │ │ │ ├── configuration.st │ │ │ │ └── TestLayoutOverwriting.st │ │ │ ├── AXSharp.config.json │ │ │ ├── .config │ │ │ │ └── dotnet-tools.json │ │ │ ├── apax.yml │ │ │ └── test │ │ │ │ └── test.st │ │ │ └── ComponentsExamples │ │ │ ├── wwwroot │ │ │ └── background.png │ │ │ ├── _Imports.razor │ │ │ ├── TcoIxObjectBaseView │ │ │ └── TcoIxObjectView.razor │ │ │ └── StTest3ManualView │ │ │ └── StTest3ManualView.razor │ ├── src │ │ └── AXSharp.Presentation.Blazor.Controls │ │ │ ├── Templates │ │ │ ├── Base │ │ │ │ ├── Online │ │ │ │ │ ├── TemplateBaseOnline.razor │ │ │ │ │ ├── Control │ │ │ │ │ │ ├── OnlinerLTimeControlView.razor │ │ │ │ │ │ ├── OnlinerLDateTimeControlView.razor │ │ │ │ │ │ └── OnlinerLTimeOfDayControlView.razor │ │ │ │ │ └── Display │ │ │ │ │ │ ├── OnlinerLTimeDisplayView.razor │ │ │ │ │ │ ├── OnlinerLDateTimeDisplayView.razor │ │ │ │ │ │ └── OnlinerLTimeOfDayDisplayView.razor │ │ │ │ └── Shadow │ │ │ │ │ ├── Control │ │ │ │ │ ├── OnlinerLTimeShadowControlView.razor │ │ │ │ │ ├── OnlinerLDateTimeShadowControlView.razor │ │ │ │ │ └── OnlinerLTimeOfDayShadowControlView.razor │ │ │ │ │ └── Display │ │ │ │ │ ├── OnlinerLTimeShadowDisplayView.razor │ │ │ │ │ ├── OnlinerLDateTimeShadowDisplayView.razor │ │ │ │ │ └── OnlinerLTimeOfDayShadowDisplayView.razor │ │ │ └── TemplateBase.razor │ │ │ ├── wwwroot │ │ │ └── css │ │ │ │ └── tailwind.css │ │ │ ├── package.json │ │ │ ├── Layouts │ │ │ ├── BorderLayout.razor │ │ │ ├── TabControlLayout.razor │ │ │ ├── StackPanelLayout.razor │ │ │ ├── WrapPanelLayout.razor │ │ │ ├── GroupBoxLayout.razor │ │ │ └── UniformGridLayout.razor │ │ │ └── DevSettings.cs │ └── .cr │ │ └── personal │ │ └── FavoritesList │ │ └── List.xml ├── sanbox │ ├── probes │ │ └── ax-blazor-1 │ │ │ ├── monitor.mon │ │ │ ├── .gitignore │ │ │ ├── ix-blaxor │ │ │ ├── Pages │ │ │ │ ├── Index.razor │ │ │ │ └── _Host.cshtml │ │ │ ├── wwwroot │ │ │ │ ├── favicon.ico │ │ │ │ └── css │ │ │ │ │ └── open-iconic │ │ │ │ │ └── font │ │ │ │ │ └── fonts │ │ │ │ │ ├── open-iconic.eot │ │ │ │ │ ├── open-iconic.otf │ │ │ │ │ ├── open-iconic.ttf │ │ │ │ │ └── open-iconic.woff │ │ │ ├── appsettings.json │ │ │ ├── appsettings.Development.json │ │ │ └── Data │ │ │ │ └── WeatherForecast.cs │ │ │ ├── ix │ │ │ ├── .g │ │ │ │ ├── POCO │ │ │ │ │ ├── program.g.cs │ │ │ │ │ ├── configuration.g.cs │ │ │ │ │ └── geolocation.g.cs │ │ │ │ └── Onliners │ │ │ │ │ └── program.g.cs │ │ │ ├── Entry.cs │ │ │ └── ax-blazor-1.csproj │ │ │ ├── ix-blaxor-app │ │ │ ├── wwwroot │ │ │ │ ├── favicon.ico │ │ │ │ ├── icon-192.png │ │ │ │ ├── icon-512.png │ │ │ │ ├── css │ │ │ │ │ └── open-iconic │ │ │ │ │ │ └── font │ │ │ │ │ │ └── fonts │ │ │ │ │ │ ├── open-iconic.eot │ │ │ │ │ │ ├── open-iconic.otf │ │ │ │ │ │ ├── open-iconic.ttf │ │ │ │ │ │ └── open-iconic.woff │ │ │ │ └── service-worker.js │ │ │ ├── Pages │ │ │ │ └── Index.razor │ │ │ └── Shared │ │ │ │ └── MainLayout.razor │ │ │ ├── build.ps1 │ │ │ ├── apax.yml │ │ │ ├── .config │ │ │ └── dotnet-tools.json │ │ │ ├── .cr │ │ │ └── personal │ │ │ │ └── FavoritesList │ │ │ │ └── List.xml │ │ │ ├── src │ │ │ ├── program.st │ │ │ ├── geolocation.st │ │ │ ├── configuration.st │ │ │ └── weather.st │ │ │ └── test │ │ │ └── test.st │ └── integration │ │ ├── README.md │ │ ├── ix-integration-plc │ │ ├── .gitignore │ │ ├── certs │ │ │ └── plc_line │ │ │ │ ├── server_cert_ext.cnf │ │ │ │ └── pkcs12ForCertificateImport.p12 │ │ ├── axsharp.companion.json │ │ ├── hwc │ │ │ └── hwc.gen │ │ │ │ └── plc_line.IoAddresses.json │ │ ├── monitor.mon │ │ ├── SystemConstants │ │ │ └── plc_line_IoAddresses.st │ │ ├── ix │ │ │ └── .g │ │ │ │ ├── POCO │ │ │ │ ├── program.g.cs │ │ │ │ ├── test │ │ │ │ │ └── enumStationStatus.g.cs │ │ │ │ ├── configuration.g.cs │ │ │ │ ├── tabbed │ │ │ │ │ └── weather.g.cs │ │ │ │ ├── stacked │ │ │ │ │ └── weather.g.cs │ │ │ │ └── wrapped │ │ │ │ │ └── weather.g.cs │ │ │ │ └── Onliners │ │ │ │ ├── program.g.cs │ │ │ │ ├── configuration.g.cs │ │ │ │ └── test │ │ │ │ └── enumStationStatus.g.cs │ │ ├── src │ │ │ ├── taskExample.st │ │ │ ├── test │ │ │ │ └── enumStationStatus.st │ │ │ ├── tabbed │ │ │ │ └── weather.st │ │ │ ├── wrapped │ │ │ │ └── weather.st │ │ │ ├── stacked │ │ │ │ └── weather.st │ │ │ └── IO │ │ │ │ ├── Inputs.st │ │ │ │ └── Outputs.st │ │ ├── AXSharp.config.json │ │ ├── build.ps1 │ │ └── test │ │ │ └── test.st │ │ ├── ix-integration-library │ │ ├── _Imports.razor │ │ ├── wwwroot │ │ │ ├── background.png │ │ │ └── exampleJsInterop.js │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ │ └── ix-integration-blazor │ │ ├── package.json │ │ ├── wwwroot │ │ └── favicon.ico │ │ ├── Pages │ │ ├── Arrays.razor │ │ ├── Localizations.razor │ │ ├── ShadowProperties.razor │ │ ├── _Host.cshtml │ │ ├── Index.razor │ │ ├── Pollings │ │ │ └── Polling.cs │ │ └── Test.razor │ │ ├── Properties │ │ └── AssemblyInfo.cs │ │ ├── tailwind.ps1 │ │ ├── appsettings.json │ │ ├── appsettings.Development.json │ │ ├── Shared │ │ ├── TopRow.razor.css │ │ └── MainLayout.razor │ │ └── Components │ │ └── MeasurementServiceView.razor ├── AXSharp.compiler │ ├── tests │ │ ├── integration │ │ │ ├── actual │ │ │ │ ├── apax-lock.json │ │ │ │ ├── app │ │ │ │ │ ├── axsharp.companion.json │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── apax.yml │ │ │ │ │ ├── AXSharp.config.json │ │ │ │ │ ├── src │ │ │ │ │ │ ├── program.st │ │ │ │ │ │ └── configuration.st │ │ │ │ │ └── test │ │ │ │ │ │ └── test.st │ │ │ │ ├── lib1 │ │ │ │ │ ├── axsharp.companion.json │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── apax.yml │ │ │ │ │ ├── AXSharp.config.json │ │ │ │ │ └── src │ │ │ │ │ │ └── library.st │ │ │ │ ├── lib2 │ │ │ │ │ ├── axsharp.companion.json │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── apax.yml │ │ │ │ │ ├── AXSharp.config.json │ │ │ │ │ └── src │ │ │ │ │ │ └── library.st │ │ │ │ ├── .gitignore │ │ │ │ ├── apax.yml │ │ │ │ └── build.ps1 │ │ │ └── expected │ │ │ │ ├── apax-lock.json │ │ │ │ ├── lib1 │ │ │ │ ├── ix │ │ │ │ │ ├── .g │ │ │ │ │ │ └── Configurations.g.cs │ │ │ │ │ └── .meta │ │ │ │ │ │ ├── sourceinfo.json │ │ │ │ │ │ └── meta.json │ │ │ │ ├── axsharp.companion.json │ │ │ │ ├── .gitignore │ │ │ │ ├── AXSharp.config.json │ │ │ │ ├── apax.yml │ │ │ │ └── src │ │ │ │ │ └── library.st │ │ │ │ ├── lib2 │ │ │ │ ├── ix │ │ │ │ │ ├── .g │ │ │ │ │ │ └── Configurations.g.cs │ │ │ │ │ └── .meta │ │ │ │ │ │ ├── sourceinfo.json │ │ │ │ │ │ └── meta.json │ │ │ │ ├── axsharp.companion.json │ │ │ │ ├── .gitignore │ │ │ │ ├── AXSharp.config.json │ │ │ │ ├── apax.yml │ │ │ │ └── src │ │ │ │ │ └── library.st │ │ │ │ ├── app │ │ │ │ ├── ix │ │ │ │ │ ├── .meta │ │ │ │ │ │ ├── sourceinfo.json │ │ │ │ │ │ └── meta.json │ │ │ │ │ └── .g │ │ │ │ │ │ ├── POCO │ │ │ │ │ │ ├── program.g.cs │ │ │ │ │ │ └── configuration.g.cs │ │ │ │ │ │ └── Onliners │ │ │ │ │ │ ├── program.g.cs │ │ │ │ │ │ └── configuration.g.cs │ │ │ │ ├── axsharp.companion.json │ │ │ │ ├── .gitignore │ │ │ │ ├── AXSharp.config.json │ │ │ │ ├── apax.yml │ │ │ │ ├── src │ │ │ │ │ ├── program.st │ │ │ │ │ └── configuration.st │ │ │ │ └── test │ │ │ │ │ └── test.st │ │ │ │ ├── .gitignore │ │ │ │ ├── apax.yml │ │ │ │ └── build.ps1 │ │ ├── AXSharp.ixr.Tests │ │ │ ├── Usings.cs │ │ │ └── xunit.runner.json │ │ ├── AXSharp.ixc.Tests │ │ │ ├── samples │ │ │ │ └── plt │ │ │ │ │ ├── apax-lock.json │ │ │ │ │ ├── app │ │ │ │ │ ├── ix.config.json │ │ │ │ │ ├── src │ │ │ │ │ │ ├── configuration.st │ │ │ │ │ │ └── program.st │ │ │ │ │ ├── apax.yml │ │ │ │ │ └── test │ │ │ │ │ │ └── test.st │ │ │ │ │ ├── lib │ │ │ │ │ ├── ix.config.json │ │ │ │ │ ├── apax.yml │ │ │ │ │ └── src │ │ │ │ │ │ └── library.st │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── lib2 │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── apax.yml │ │ │ │ │ └── src │ │ │ │ │ │ └── library.st │ │ │ │ │ └── apax.yml │ │ │ ├── xunit.runner.json │ │ │ └── Usings.cs │ │ ├── AXSharp.CompilerTests │ │ │ ├── samples │ │ │ │ ├── plt │ │ │ │ │ ├── apax-lock.json │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── apax.yml │ │ │ │ │ ├── lib2 │ │ │ │ │ │ ├── .gitignore │ │ │ │ │ │ ├── apax.yml │ │ │ │ │ │ └── src │ │ │ │ │ │ │ └── library.st │ │ │ │ │ ├── lib3 │ │ │ │ │ │ ├── .gitignore │ │ │ │ │ │ ├── AXSharp.config.json │ │ │ │ │ │ ├── apax.yml │ │ │ │ │ │ └── src │ │ │ │ │ │ │ └── library.st │ │ │ │ │ ├── lib │ │ │ │ │ │ ├── AXSharp.config.json │ │ │ │ │ │ ├── apax.yml │ │ │ │ │ │ └── src │ │ │ │ │ │ │ └── library.st │ │ │ │ │ └── app │ │ │ │ │ │ ├── src │ │ │ │ │ │ ├── configuration.st │ │ │ │ │ │ └── program.st │ │ │ │ │ │ ├── apax.yml │ │ │ │ │ │ └── test │ │ │ │ │ │ └── test.st │ │ │ │ ├── units │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── src │ │ │ │ │ │ ├── simple_empty_class.st │ │ │ │ │ │ ├── enum_simple.st │ │ │ │ │ │ ├── class_internal.st │ │ │ │ │ │ ├── class_no_access_modifier.st │ │ │ │ │ │ ├── class_extends.st │ │ │ │ │ │ ├── class_implements.st │ │ │ │ │ │ ├── simple_empty_class_within_namespace.st │ │ │ │ │ │ ├── struct_simple.st │ │ │ │ │ │ ├── program.st │ │ │ │ │ │ ├── class_implements_multiple.st │ │ │ │ │ │ ├── class_with_complex_members.st │ │ │ │ │ │ ├── ref_to_simple.st │ │ │ │ │ │ ├── class_extends_and_implements.st │ │ │ │ │ │ ├── types_with_property_attributes.st │ │ │ │ │ │ ├── type_named_values.st │ │ │ │ │ │ ├── class_with_pragmas.st │ │ │ │ │ │ └── array_declaration.st │ │ │ │ │ ├── apax.yml │ │ │ │ │ └── test │ │ │ │ │ │ └── test.st │ │ │ │ ├── plt2 │ │ │ │ │ └── lib │ │ │ │ │ │ ├── AXSharp.config.json │ │ │ │ │ │ └── apax.yml │ │ │ │ └── plt1 │ │ │ │ │ └── app │ │ │ │ │ └── apax.yml │ │ │ ├── xunit.runner.json │ │ │ └── Usings.cs │ │ └── AXSharp.Compiler.CsTests │ │ │ ├── samples │ │ │ ├── packaging │ │ │ │ ├── content │ │ │ │ │ └── .meta │ │ │ │ │ │ └── sourceinfo.json │ │ │ │ ├── contentFiles │ │ │ │ │ └── any │ │ │ │ │ │ └── net6.0 │ │ │ │ │ │ └── .meta │ │ │ │ │ │ └── sourceinfo.json │ │ │ │ └── lib │ │ │ │ │ └── net6.0 │ │ │ │ │ └── ix.framework.core.dll │ │ │ └── units │ │ │ │ ├── .gitignore │ │ │ │ ├── src │ │ │ │ ├── enum_simple.st │ │ │ │ ├── simple_empty_class.st │ │ │ │ ├── class_internal.st │ │ │ │ ├── class_no_access_modifier.st │ │ │ │ ├── file_with_unsupported.st │ │ │ │ ├── class_implements.st │ │ │ │ ├── class_extends.st │ │ │ │ ├── simple_empty_class_within_namespace.st │ │ │ │ ├── abstract_members.st │ │ │ │ ├── program.st │ │ │ │ ├── struct_simple.st │ │ │ │ ├── class_implements_multiple.st │ │ │ │ ├── class_with_complex_members.st │ │ │ │ ├── class_extends_and_implements.st │ │ │ │ ├── ref_to_simple.st │ │ │ │ ├── types_with_property_attributes.st │ │ │ │ └── type_named_values.st │ │ │ │ ├── apax.yml │ │ │ │ ├── expected │ │ │ │ ├── ax │ │ │ │ │ └── .g │ │ │ │ │ │ ├── POCO │ │ │ │ │ │ ├── program.g.cs │ │ │ │ │ │ ├── enum_simple.g.cs │ │ │ │ │ │ ├── file_with_unsupported.g.cs │ │ │ │ │ │ ├── simple_empty_class.g.cs │ │ │ │ │ │ ├── class_internal.g.cs │ │ │ │ │ │ ├── class_no_access_modifier.g.cs │ │ │ │ │ │ ├── class_implements.g.cs │ │ │ │ │ │ └── abstract_members.g.cs │ │ │ │ │ │ └── Onliners │ │ │ │ │ │ ├── program.g.cs │ │ │ │ │ │ ├── file_with_unsupported.g.cs │ │ │ │ │ │ └── enum_simple.g.cs │ │ │ │ └── tia │ │ │ │ │ └── .g │ │ │ │ │ ├── POCO │ │ │ │ │ ├── program.g.cs │ │ │ │ │ ├── enum_simple.g.cs │ │ │ │ │ ├── file_with_unsupported.g.cs │ │ │ │ │ ├── simple_empty_class.g.cs │ │ │ │ │ ├── class_internal.g.cs │ │ │ │ │ ├── class_no_access_modifier.g.cs │ │ │ │ │ ├── class_implements.g.cs │ │ │ │ │ └── abstract_members.g.cs │ │ │ │ │ └── Onliners │ │ │ │ │ ├── program.g.cs │ │ │ │ │ ├── file_with_unsupported.g.cs │ │ │ │ │ └── enum_simple.g.cs │ │ │ │ └── test │ │ │ │ └── test.st │ │ │ ├── xunit.runner.json │ │ │ └── Usings.cs │ ├── src │ │ ├── ixd │ │ │ └── tests │ │ │ │ ├── samples │ │ │ │ └── ax │ │ │ │ │ ├── ix.config.json │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── monitor.mon │ │ │ │ │ ├── src │ │ │ │ │ ├── test │ │ │ │ │ │ └── enumStationStatus.st │ │ │ │ │ ├── structs.st │ │ │ │ │ ├── tabbed │ │ │ │ │ │ └── weather.st │ │ │ │ │ ├── wrapped │ │ │ │ │ │ └── weather.st │ │ │ │ │ ├── stacked │ │ │ │ │ │ └── weather.st │ │ │ │ │ └── namespacing.st │ │ │ │ │ ├── test │ │ │ │ │ └── test.st │ │ │ │ │ └── build.ps1 │ │ │ │ └── docfx │ │ │ │ └── docfx_project │ │ │ │ ├── articles │ │ │ │ ├── intro.md │ │ │ │ └── toc.yml │ │ │ │ ├── api │ │ │ │ ├── .gitignore │ │ │ │ └── index.md │ │ │ │ ├── toc.yml │ │ │ │ ├── .gitignore │ │ │ │ └── index.md │ │ ├── ixr │ │ │ ├── tests │ │ │ │ └── samples │ │ │ │ │ └── ax │ │ │ │ │ ├── ix.config.json │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── monitor.mon │ │ │ │ │ ├── src │ │ │ │ │ ├── test │ │ │ │ │ │ └── enumStationStatus.st │ │ │ │ │ ├── tabbed │ │ │ │ │ │ └── weather.st │ │ │ │ │ ├── wrapped │ │ │ │ │ │ └── weather.st │ │ │ │ │ ├── stacked │ │ │ │ │ │ └── weather.st │ │ │ │ │ └── namespacing.st │ │ │ │ │ ├── test │ │ │ │ │ └── test.st │ │ │ │ │ └── build.ps1 │ │ │ └── Properties │ │ │ │ └── launchSettings.json │ │ ├── README.md │ │ ├── AXSharp.Compiler │ │ │ └── Core │ │ │ │ └── eCommAccessibility.cs │ │ └── AXSharp.Cs.Compiler │ │ │ └── Cs │ │ │ └── csproj-template.xml │ ├── .cr │ │ └── personal │ │ │ └── FavoritesList │ │ │ └── List.xml │ └── AXSharp.builder.slnf ├── NUGET-README.md ├── AXSharp.connectors │ ├── tests │ │ ├── ax-test-project │ │ │ ├── ix.config.json │ │ │ ├── .gitignore │ │ │ ├── axsharp.companion.json │ │ │ ├── certs │ │ │ │ ├── plc_line │ │ │ │ │ ├── server_cert_ext.cnf │ │ │ │ │ └── pkcs12ForCertificateImport.p12 │ │ │ │ ├── S71516-hw.cer │ │ │ │ └── Communication.cer │ │ │ ├── src │ │ │ │ ├── enum.st │ │ │ │ ├── hierarchy.st │ │ │ │ ├── complexArrayItem.st │ │ │ │ ├── IO │ │ │ │ │ ├── Inputs.st │ │ │ │ │ └── Outputs.st │ │ │ │ └── complexArrayItemNested.st │ │ │ ├── date.mon │ │ │ ├── time.mon │ │ │ ├── ltime.mon │ │ │ ├── hwc │ │ │ │ └── hwc.gen │ │ │ │ │ └── plc_line.IoAddresses.json │ │ │ ├── tod.mon │ │ │ ├── datetime.mon │ │ │ ├── SystemConstants │ │ │ │ └── plc_line_IoAddresses.st │ │ │ ├── string.mon │ │ │ ├── hw.hwl.json │ │ │ ├── AXSharp.config.json │ │ │ ├── test │ │ │ │ └── test.st │ │ │ └── go.ps1 │ │ ├── AXSharp.Connector.Sax.WebAPITests │ │ │ ├── xunit.runner.json │ │ │ └── Usings.cs │ │ ├── AXSharp.ConnectorTests │ │ │ └── AXSharp.ConnectorTests │ │ │ │ ├── xunit.runner.json │ │ │ │ └── Usings.cs │ │ └── exploring │ │ │ └── Webserver.Api.Exploratory │ │ │ ├── Properties │ │ │ └── launchSettings.json │ │ │ └── Webserver.Api.Exploratory.csproj │ ├── src │ │ └── AXSharp.Connector.S71500.WebAPI │ │ │ ├── eTargetProjectPlatform.cs │ │ │ └── .cr │ │ │ └── personal │ │ │ └── FavoritesList │ │ │ └── List.xml │ └── .cr │ │ └── personal │ │ └── FavoritesList │ │ └── List.xml ├── tests.integrations │ └── integrated │ │ ├── tests │ │ └── integrated.tests │ │ │ ├── Usings.cs │ │ │ └── xunit.runner.json │ │ └── src │ │ ├── ax │ │ ├── axsharp.companion.json │ │ ├── .gitignore │ │ ├── certs │ │ │ ├── S71516-hw.cer │ │ │ └── Communication.cer │ │ ├── src │ │ │ ├── dataswapping │ │ │ │ └── myEnum.st │ │ │ └── issues │ │ │ │ └── GH_ISSUE_183.st │ │ ├── AXSharp.config.json │ │ ├── test │ │ │ └── test.st │ │ └── ix │ │ │ └── integrated.csproj │ │ ├── integrated.app │ │ ├── wwwroot │ │ │ ├── favicon.png │ │ │ ├── banner_wider.png │ │ │ └── css │ │ │ │ └── open-iconic │ │ │ │ └── font │ │ │ │ └── fonts │ │ │ │ ├── open-iconic.eot │ │ │ │ ├── open-iconic.otf │ │ │ │ ├── open-iconic.ttf │ │ │ │ └── open-iconic.woff │ │ ├── Properties │ │ │ ├── serviceDependencies.json │ │ │ └── serviceDependencies.local.json │ │ ├── Shared │ │ │ ├── TopRow.razor.css │ │ │ ├── MainLayout.razor.css │ │ │ ├── MainLayout.razor │ │ │ └── TopRow.razor │ │ ├── appsettings.Development.json │ │ ├── Pages │ │ │ ├── UI │ │ │ │ ├── AutoUI.razor │ │ │ │ └── ManualUI.razor │ │ │ └── Index.razor.css │ │ ├── Data │ │ │ └── ApplicationDbContext.cs │ │ ├── appsettings.json │ │ └── Areas │ │ │ └── Identity │ │ │ └── Pages │ │ │ └── Account │ │ │ └── LogOut.cshtml │ │ └── integrated.twin │ │ └── .g │ │ ├── POCO │ │ ├── program.g.cs │ │ └── dataswapping │ │ │ └── myEnum.g.cs │ │ └── Onliners │ │ ├── program.g.cs │ │ └── dataswapping │ │ └── myEnum.g.cs ├── AXSharp.tools │ ├── tests │ │ ├── AXSharp.LocalizablesToResx.Tests │ │ │ ├── GlobalUsings.cs │ │ │ └── input │ │ │ │ ├── SimpleTests.razor │ │ │ │ └── DifferentIdentifier.razor │ │ └── AXSharp.nuget.update.Tests │ │ │ └── samples │ │ │ ├── dotnet-tools.json │ │ │ └── expected │ │ │ └── dotnet-tools.json │ └── src │ │ ├── AXSharp.LocalizablesToResx │ │ └── tests │ │ │ └── SimpleTests.razor │ │ └── AXSharp.nuget.update │ │ └── AXSharp.nuget.update.csproj ├── AXSharp.examples │ └── hello.world.console │ │ ├── hello.world.console.plc │ │ ├── monitor.mon │ │ ├── ix.config.json │ │ ├── .gitignore │ │ ├── axsharp.companion.json │ │ ├── apax.yml │ │ ├── AXSharp.config.json │ │ ├── src │ │ │ ├── program.st │ │ │ └── configuration.st │ │ └── test │ │ │ └── test.st │ │ ├── first-build.ps1 │ │ └── README.md ├── apax │ ├── .gitignore │ └── apax.yml ├── .cr │ └── personal │ │ └── FavoritesList │ │ └── List.xml ├── AXSharp.abstractions │ ├── AXSharp.abstractions.slnf │ └── .cr │ │ ├── personal │ │ ├── FavoritesList │ │ │ └── List.xml │ │ └── Navigation │ │ │ └── Code Places.xml │ │ └── user │ │ └── Editor │ │ └── Painting │ │ └── Code Metrics.xml ├── AXSharp-L3-tests_WebApi.slnf ├── AXSharp-L3-tests_Integration.slnf └── scripts │ └── hw_compile.sh ├── CODEOWNERS ├── docfx ├── api │ ├── index.md │ └── .gitignore ├── images │ ├── banner.png │ ├── favicon.ico │ ├── favicon.png │ ├── banner_gh.png │ ├── banner_wider.png │ ├── blazor │ │ ├── logic.png │ │ ├── tabs.gif │ │ ├── border.png │ │ ├── uniform.png │ │ ├── groupbox.png │ │ ├── pipeline.png │ │ ├── wrap-panel.gif │ │ ├── rendered-ui.png │ │ ├── test_example.png │ │ ├── edit-property.gif │ │ ├── wrap-css-inject.png │ │ ├── dependency-graph.png │ │ ├── multiple_layouts.gif │ │ ├── project-structure.png │ │ ├── viewmodel-service.png │ │ └── renderignore_labels.png │ ├── example-resx.png │ ├── 2022-12-21-08-04-36.png │ ├── ixd │ │ ├── example-doc-web.png │ │ └── howto_addresource.gif │ ├── logo-no-background.png │ ├── compiler │ │ └── 2023-02-18-09-32-22.png │ └── conceptual │ │ └── 2023-02-01-15-29-19.png ├── toc.yml ├── .gitignore ├── templates │ └── custom │ │ ├── partials │ │ └── logo.tmpl.partial │ │ └── styles │ │ └── custom.css └── articles │ └── connectors │ └── Dummy.md ├── docs ├── favicon.ico ├── images │ ├── banner.png │ ├── favicon.ico │ ├── favicon.png │ ├── banner_gh.png │ ├── banner_wider.png │ ├── blazor │ │ ├── border.png │ │ ├── logic.png │ │ ├── tabs.gif │ │ ├── groupbox.png │ │ ├── pipeline.png │ │ ├── uniform.png │ │ ├── rendered-ui.png │ │ ├── wrap-panel.gif │ │ ├── edit-property.gif │ │ ├── test_example.png │ │ ├── dependency-graph.png │ │ ├── multiple_layouts.gif │ │ ├── wrap-css-inject.png │ │ ├── project-structure.png │ │ ├── viewmodel-service.png │ │ └── renderignore_labels.png │ ├── example-resx.png │ ├── logo-no-background.png │ ├── 2022-12-21-08-04-36.png │ ├── ixd │ │ ├── example-doc-web.png │ │ └── howto_addresource.gif │ ├── compiler │ │ └── 2023-02-18-09-32-22.png │ └── conceptual │ │ └── 2023-02-01-15-29-19.png ├── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 ├── styles │ ├── glyphicons-halflings-regular-ACNUA6UY.ttf │ ├── glyphicons-halflings-regular-JOUF32XT.woff │ ├── glyphicons-halflings-regular-PIHUWCJO.eot │ ├── glyphicons-halflings-regular-W4DYDFZM.woff2 │ ├── main.js │ └── custom.css └── toc.json ├── global.json ├── assets ├── icons │ └── icon_128_128.png └── pics │ └── 2022-12-20-06-54-08.png ├── templates └── working │ └── templates │ ├── axsharpblazor │ ├── ax │ │ ├── axsharp.companion.json │ │ ├── .gitignore │ │ ├── AXSharp.config.json │ │ ├── src │ │ │ ├── configuration.st │ │ │ └── program.st │ │ └── test │ │ │ └── test.st │ ├── install.cmd │ ├── install.ps1 │ ├── axsharpblazor.app │ │ ├── wwwroot │ │ │ ├── favicon.png │ │ │ └── css │ │ │ │ └── open-iconic │ │ │ │ └── font │ │ │ │ └── fonts │ │ │ │ ├── open-iconic.eot │ │ │ │ ├── open-iconic.otf │ │ │ │ ├── open-iconic.ttf │ │ │ │ └── open-iconic.woff │ │ ├── Properties │ │ │ ├── serviceDependencies.json │ │ │ └── serviceDependencies.local.json │ │ ├── Shared │ │ │ ├── TopRow.razor.css │ │ │ ├── MainLayout.razor.css │ │ │ ├── MainLayout.razor │ │ │ └── TopRow.razor │ │ ├── appsettings.Development.json │ │ ├── Data │ │ │ └── ApplicationDbContext.cs │ │ ├── appsettings.json │ │ ├── Pages │ │ │ └── Index.razor.css │ │ └── Areas │ │ │ └── Identity │ │ │ └── Pages │ │ │ └── Account │ │ │ └── LogOut.cshtml │ └── .config │ │ └── dotnet-tools.json │ └── axsharpconsole │ ├── ax │ ├── .gitignore │ ├── axsharp.companion.json │ ├── src │ │ ├── program.st │ │ └── configuration.st │ ├── AXSharp.config.json │ └── test │ │ └── test.st │ ├── install.cmd │ ├── install.ps1 │ ├── .config │ └── dotnet-tools.json │ └── axsharpconsole │ └── axsharpconsole.app.csproj ├── pack-only.ps1 ├── publish-no-tests.ps1 ├── test_L10.ps1 ├── publish.ps1 ├── test_L2.ps1 ├── cake ├── .cr │ └── personal │ │ └── FavoritesList │ │ └── List.xml └── Properties │ └── launchSettings.json ├── .github └── ISSUE_TEMPLATE │ └── question.md ├── .config └── dotnet-tools.json ├── CODE_OF_CONDUCT.md └── Directory.Build.props /src/AXSharp.blazor/vortex_config.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | @MTS spol. s r.o. @TomKovac 2 | -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/monitor.mon: -------------------------------------------------------------------------------- 1 | myINT -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/actual/apax-lock.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /src/sanbox/integration/README.md: -------------------------------------------------------------------------------- 1 | # IX integration testing project -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.ixr.Tests/Usings.cs: -------------------------------------------------------------------------------- 1 | global using Xunit; -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/apax-lock.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.ixc.Tests/samples/plt/apax-lock.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/lib1/ix/.g/Configurations.g.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/lib2/ix/.g/Configurations.g.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/NUGET-README.md: -------------------------------------------------------------------------------- 1 | # AXSharp 2 | 3 | This package is part of AXSharp. 4 | -------------------------------------------------------------------------------- /docfx/api/index.md: -------------------------------------------------------------------------------- 1 | # AXSharp API Documentation 2 | 3 | ![](~/images/banner.png) -------------------------------------------------------------------------------- /docs/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/favicon.ico -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/plt/apax-lock.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /global.json: -------------------------------------------------------------------------------- 1 | { 2 | "sdk": { 3 | "version": "10.0.100" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/src/ixd/tests/samples/ax/ix.config.json: -------------------------------------------------------------------------------- 1 | {"OutputProjectFolder":"ix"} -------------------------------------------------------------------------------- /src/AXSharp.compiler/src/ixr/tests/samples/ax/ix.config.json: -------------------------------------------------------------------------------- 1 | {"OutputProjectFolder":"ix"} -------------------------------------------------------------------------------- /src/AXSharp.connectors/tests/ax-test-project/ix.config.json: -------------------------------------------------------------------------------- 1 | {"OutputProjectFolder":"ix"} -------------------------------------------------------------------------------- /src/tests.integrations/integrated/tests/integrated.tests/Usings.cs: -------------------------------------------------------------------------------- 1 | global using Xunit; -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/AXSharp.RenderableContent.Tests/HtmlFiles/stTestEmpty.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/AXSharp.tools/tests/AXSharp.LocalizablesToResx.Tests/GlobalUsings.cs: -------------------------------------------------------------------------------- 1 | global using Xunit; -------------------------------------------------------------------------------- /docfx/images/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docfx/images/banner.png -------------------------------------------------------------------------------- /docfx/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docfx/images/favicon.ico -------------------------------------------------------------------------------- /docfx/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docfx/images/favicon.png -------------------------------------------------------------------------------- /docs/images/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/images/banner.png -------------------------------------------------------------------------------- /docs/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/images/favicon.ico -------------------------------------------------------------------------------- /docs/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/images/favicon.png -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/IxBlazor.App/wwwroot/css/tailwind.css: -------------------------------------------------------------------------------- 1 | @import "tailwindcss"; 2 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/app/ix/.meta/sourceinfo.json: -------------------------------------------------------------------------------- 1 | {"ax-source":"../app"} -------------------------------------------------------------------------------- /src/AXSharp.examples/hello.world.console/hello.world.console.plc/monitor.mon: -------------------------------------------------------------------------------- 1 | Counter 2 | HelloWorld -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/.gitignore: -------------------------------------------------------------------------------- 1 | .apax 2 | .env 3 | bin 4 | 5 | obj 6 | testresult 7 | -------------------------------------------------------------------------------- /docfx/images/banner_gh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docfx/images/banner_gh.png -------------------------------------------------------------------------------- /docs/images/banner_gh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/images/banner_gh.png -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ax-blazor-example/ix/Usings.cs: -------------------------------------------------------------------------------- 1 | global using System.Threading.Tasks; -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/actual/app/axsharp.companion.json: -------------------------------------------------------------------------------- 1 | {"Id":"app","Version":"0.0.0"} -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/lib1/ix/.meta/sourceinfo.json: -------------------------------------------------------------------------------- 1 | {"ax-source":"../lib1"} -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/lib2/ix/.meta/sourceinfo.json: -------------------------------------------------------------------------------- 1 | {"ax-source":"../lib2"} -------------------------------------------------------------------------------- /src/tests.integrations/integrated/src/ax/axsharp.companion.json: -------------------------------------------------------------------------------- 1 | {"Id":"integrated","Version":"0.0.0"} -------------------------------------------------------------------------------- /assets/icons/icon_128_128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/assets/icons/icon_128_128.png -------------------------------------------------------------------------------- /docfx/api/.gitignore: -------------------------------------------------------------------------------- 1 | ############### 2 | # temp file # 3 | ############### 4 | *.yml 5 | .manifest 6 | -------------------------------------------------------------------------------- /docfx/images/banner_wider.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docfx/images/banner_wider.png -------------------------------------------------------------------------------- /docfx/images/blazor/logic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docfx/images/blazor/logic.png -------------------------------------------------------------------------------- /docfx/images/blazor/tabs.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docfx/images/blazor/tabs.gif -------------------------------------------------------------------------------- /docfx/images/example-resx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docfx/images/example-resx.png -------------------------------------------------------------------------------- /docs/images/banner_wider.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/images/banner_wider.png -------------------------------------------------------------------------------- /docs/images/blazor/border.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/images/blazor/border.png -------------------------------------------------------------------------------- /docs/images/blazor/logic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/images/blazor/logic.png -------------------------------------------------------------------------------- /docs/images/blazor/tabs.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/images/blazor/tabs.gif -------------------------------------------------------------------------------- /docs/images/example-resx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/images/example-resx.png -------------------------------------------------------------------------------- /src/AXSharp.blazor/src/AXSharp.Presentation.Blazor.Controls/Templates/Base/Online/TemplateBaseOnline.razor: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/src/AXSharp.Presentation.Blazor.Controls/wwwroot/css/tailwind.css: -------------------------------------------------------------------------------- 1 | @import "tailwindcss"; -------------------------------------------------------------------------------- /src/AXSharp.compiler/src/ixd/tests/docfx/docfx_project/articles/intro.md: -------------------------------------------------------------------------------- 1 | # Add your introductions here! 2 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/actual/lib1/axsharp.companion.json: -------------------------------------------------------------------------------- 1 | {"Id":"lib1","Version":"0.0.0"} -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/actual/lib2/axsharp.companion.json: -------------------------------------------------------------------------------- 1 | {"Id":"lib2","Version":"0.0.0"} -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/app/axsharp.companion.json: -------------------------------------------------------------------------------- 1 | {"Id":"app","Version":"0.0.0"} -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/lib1/axsharp.companion.json: -------------------------------------------------------------------------------- 1 | {"Id":"lib1","Version":"0.0.0"} -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/lib2/axsharp.companion.json: -------------------------------------------------------------------------------- 1 | {"Id":"lib2","Version":"0.0.0"} -------------------------------------------------------------------------------- /src/AXSharp.examples/hello.world.console/hello.world.console.plc/ix.config.json: -------------------------------------------------------------------------------- 1 | {"OutputProjectFolder":"ix"} -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-plc/.gitignore: -------------------------------------------------------------------------------- 1 | .apax 2 | .env 3 | bin 4 | 5 | obj 6 | testresult 7 | -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-plc/certs/plc_line/server_cert_ext.cnf: -------------------------------------------------------------------------------- 1 | basicConstraints = CA:FALSE 2 | -------------------------------------------------------------------------------- /templates/working/templates/axsharpblazor/ax/axsharp.companion.json: -------------------------------------------------------------------------------- 1 | {"Id":"axsharpblazor","Version":"0.0.0"} -------------------------------------------------------------------------------- /docfx/images/blazor/border.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docfx/images/blazor/border.png -------------------------------------------------------------------------------- /docfx/images/blazor/uniform.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docfx/images/blazor/uniform.png -------------------------------------------------------------------------------- /docs/images/blazor/groupbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/images/blazor/groupbox.png -------------------------------------------------------------------------------- /docs/images/blazor/pipeline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/images/blazor/pipeline.png -------------------------------------------------------------------------------- /docs/images/blazor/uniform.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/images/blazor/uniform.png -------------------------------------------------------------------------------- /src/AXSharp.compiler/src/ixd/tests/samples/ax/.gitignore: -------------------------------------------------------------------------------- 1 | .apax 2 | .env 3 | bin 4 | 5 | obj 6 | testresult 7 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/src/ixr/tests/samples/ax/.gitignore: -------------------------------------------------------------------------------- 1 | .apax 2 | .env 3 | bin 4 | 5 | obj 6 | testresult 7 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.ixc.Tests/samples/plt/app/ix.config.json: -------------------------------------------------------------------------------- 1 | {"OutputProjectFolder":"..\\ix-app"} -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.ixc.Tests/samples/plt/lib/ix.config.json: -------------------------------------------------------------------------------- 1 | {"OutputProjectFolder":"..\\ix-lib"} -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/actual/.gitignore: -------------------------------------------------------------------------------- 1 | .apax 2 | .env 3 | bin 4 | 5 | obj 6 | testresult 7 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/.gitignore: -------------------------------------------------------------------------------- 1 | .apax 2 | .env 3 | bin 4 | 5 | obj 6 | testresult 7 | -------------------------------------------------------------------------------- /src/AXSharp.connectors/tests/ax-test-project/.gitignore: -------------------------------------------------------------------------------- 1 | .apax 2 | .env 3 | bin 4 | 5 | obj 6 | testresult 7 | -------------------------------------------------------------------------------- /src/AXSharp.connectors/tests/ax-test-project/axsharp.companion.json: -------------------------------------------------------------------------------- 1 | {"Id":"ax_test_project","Version":"0.0.0"} -------------------------------------------------------------------------------- /src/AXSharp.connectors/tests/ax-test-project/certs/plc_line/server_cert_ext.cnf: -------------------------------------------------------------------------------- 1 | basicConstraints = CA:FALSE 2 | -------------------------------------------------------------------------------- /src/AXSharp.connectors/tests/ax-test-project/src/enum.st: -------------------------------------------------------------------------------- 1 | TYPE 2 | Colors : (RED, GREEN, BLUE); 3 | END_TYPE -------------------------------------------------------------------------------- /src/AXSharp.examples/hello.world.console/first-build.ps1: -------------------------------------------------------------------------------- 1 | $l = pwd 2 | cd ..\..\..\ 3 | .\build.ps1 4 | cd l.Path -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-plc/axsharp.companion.json: -------------------------------------------------------------------------------- 1 | {"Id":"ix_integration_plc","Version":"0.0.0"} -------------------------------------------------------------------------------- /templates/working/templates/axsharpconsole/ax/.gitignore: -------------------------------------------------------------------------------- 1 | .apax 2 | .env 3 | bin 4 | 5 | obj 6 | testresult 7 | -------------------------------------------------------------------------------- /templates/working/templates/axsharpconsole/ax/axsharp.companion.json: -------------------------------------------------------------------------------- 1 | {"Id":"axsharpconsole","Version":"0.0.0"} -------------------------------------------------------------------------------- /docfx/images/blazor/groupbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docfx/images/blazor/groupbox.png -------------------------------------------------------------------------------- /docfx/images/blazor/pipeline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docfx/images/blazor/pipeline.png -------------------------------------------------------------------------------- /docfx/images/blazor/wrap-panel.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docfx/images/blazor/wrap-panel.gif -------------------------------------------------------------------------------- /docs/images/blazor/rendered-ui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/images/blazor/rendered-ui.png -------------------------------------------------------------------------------- /docs/images/blazor/wrap-panel.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/images/blazor/wrap-panel.gif -------------------------------------------------------------------------------- /docs/images/logo-no-background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/images/logo-no-background.png -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ax-blazor-example/.gitignore: -------------------------------------------------------------------------------- 1 | .apax 2 | .env 3 | bin 4 | 5 | obj 6 | testresult 7 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ax-blazor-example/axsharp.companion.json: -------------------------------------------------------------------------------- 1 | {"Id":"ax_blazor_example","Version":"0.0.0"} -------------------------------------------------------------------------------- /src/AXSharp.compiler/src/ixd/tests/docfx/docfx_project/articles/toc.yml: -------------------------------------------------------------------------------- 1 | - name: Introduction 2 | href: intro.md 3 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/actual/apax.yml: -------------------------------------------------------------------------------- 1 | name: "integration" 2 | version: 0.1.0 3 | type: workspace 4 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/actual/app/.gitignore: -------------------------------------------------------------------------------- 1 | .apax 2 | .env 3 | bin 4 | 5 | obj 6 | testresult 7 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/actual/lib1/.gitignore: -------------------------------------------------------------------------------- 1 | .apax 2 | .env 3 | bin 4 | 5 | obj 6 | testresult 7 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/actual/lib2/.gitignore: -------------------------------------------------------------------------------- 1 | .apax 2 | .env 3 | bin 4 | 5 | obj 6 | testresult 7 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/app/.gitignore: -------------------------------------------------------------------------------- 1 | .apax 2 | .env 3 | bin 4 | 5 | obj 6 | testresult 7 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/lib1/.gitignore: -------------------------------------------------------------------------------- 1 | .apax 2 | .env 3 | bin 4 | 5 | obj 6 | testresult 7 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/lib2/.gitignore: -------------------------------------------------------------------------------- 1 | .apax 2 | .env 3 | bin 4 | 5 | obj 6 | testresult 7 | -------------------------------------------------------------------------------- /src/AXSharp.connectors/tests/ax-test-project/date.mon: -------------------------------------------------------------------------------- 1 | myDATE 2 | maxsmatch.myDATE 3 | minsmatch.myDATE 4 | -------------------------------------------------------------------------------- /src/AXSharp.connectors/tests/ax-test-project/time.mon: -------------------------------------------------------------------------------- 1 | myTIME 2 | maxsmatch.myTIME 3 | minsmatch.myTIME 4 | -------------------------------------------------------------------------------- /src/apax/.gitignore: -------------------------------------------------------------------------------- 1 | .apax 2 | .env 3 | bin 4 | 5 | obj 6 | testresult 7 | 8 | *.apax.tgz 9 | 10 | stc 11 | -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/ix-blaxor/Pages/Index.razor: -------------------------------------------------------------------------------- 1 | @page "/" 2 | 3 | simatic-ax 4 | -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/ix/.g/POCO/program.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace ax_blazor_1.Pocos 4 | { 5 | } -------------------------------------------------------------------------------- /assets/pics/2022-12-20-06-54-08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/assets/pics/2022-12-20-06-54-08.png -------------------------------------------------------------------------------- /docfx/images/2022-12-21-08-04-36.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docfx/images/2022-12-21-08-04-36.png -------------------------------------------------------------------------------- /docfx/images/blazor/rendered-ui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docfx/images/blazor/rendered-ui.png -------------------------------------------------------------------------------- /docfx/images/blazor/test_example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docfx/images/blazor/test_example.png -------------------------------------------------------------------------------- /docfx/images/ixd/example-doc-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docfx/images/ixd/example-doc-web.png -------------------------------------------------------------------------------- /docfx/images/logo-no-background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docfx/images/logo-no-background.png -------------------------------------------------------------------------------- /docs/images/2022-12-21-08-04-36.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/images/2022-12-21-08-04-36.png -------------------------------------------------------------------------------- /docs/images/blazor/edit-property.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/images/blazor/edit-property.gif -------------------------------------------------------------------------------- /docs/images/blazor/test_example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/images/blazor/test_example.png -------------------------------------------------------------------------------- /docs/images/ixd/example-doc-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/images/ixd/example-doc-web.png -------------------------------------------------------------------------------- /pack-only.ps1: -------------------------------------------------------------------------------- 1 | # run build 2 | 3 | dotnet run --project cake/Build.csproj --do-pack --test-level 1 4 | exit $LASTEXITCODE; -------------------------------------------------------------------------------- /src/AXSharp.compiler/src/ixd/tests/samples/ax/monitor.mon: -------------------------------------------------------------------------------- 1 | test_example.ixcomponent_instance 2 | test_example.refIxComponent -------------------------------------------------------------------------------- /src/AXSharp.compiler/src/ixr/tests/samples/ax/monitor.mon: -------------------------------------------------------------------------------- 1 | test_example.ixcomponent_instance 2 | test_example.refIxComponent -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/packaging/content/.meta/sourceinfo.json: -------------------------------------------------------------------------------- 1 | {"ax-source":"../ctrl"} -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.ixc.Tests/samples/plt/.gitignore: -------------------------------------------------------------------------------- 1 | .apax 2 | .env 3 | bin 4 | 5 | obj 6 | testresult 7 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/apax.yml: -------------------------------------------------------------------------------- 1 | name: "integration" 2 | version: 0.1.0 3 | type: workspace 4 | -------------------------------------------------------------------------------- /src/AXSharp.connectors/tests/ax-test-project/ltime.mon: -------------------------------------------------------------------------------- 1 | myLTIME 2 | maxsmatch.myLTIME 3 | minsmatch.myLTIME 4 | -------------------------------------------------------------------------------- /docfx/images/blazor/edit-property.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docfx/images/blazor/edit-property.gif -------------------------------------------------------------------------------- /docfx/images/blazor/wrap-css-inject.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docfx/images/blazor/wrap-css-inject.png -------------------------------------------------------------------------------- /docfx/images/ixd/howto_addresource.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docfx/images/ixd/howto_addresource.gif -------------------------------------------------------------------------------- /docs/images/blazor/dependency-graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/images/blazor/dependency-graph.png -------------------------------------------------------------------------------- /docs/images/blazor/multiple_layouts.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/images/blazor/multiple_layouts.gif -------------------------------------------------------------------------------- /docs/images/blazor/wrap-css-inject.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/images/blazor/wrap-css-inject.png -------------------------------------------------------------------------------- /docs/images/ixd/howto_addresource.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/images/ixd/howto_addresource.gif -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/plt/.gitignore: -------------------------------------------------------------------------------- 1 | .apax 2 | .env 3 | bin 4 | 5 | obj 6 | testresult 7 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/plt/apax.yml: -------------------------------------------------------------------------------- 1 | name: "plt" 2 | version: 0.1.0 3 | type: workspace 4 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/units/.gitignore: -------------------------------------------------------------------------------- 1 | .apax 2 | .env 3 | bin 4 | 5 | obj 6 | testresult 7 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.ixc.Tests/samples/plt/lib2/.gitignore: -------------------------------------------------------------------------------- 1 | .apax 2 | .env 3 | bin 4 | 5 | obj 6 | testresult 7 | -------------------------------------------------------------------------------- /templates/working/templates/axsharpblazor/install.cmd: -------------------------------------------------------------------------------- 1 | powershell.exe -file "install.ps1" 2 | del install.ps1 3 | del install.cmd -------------------------------------------------------------------------------- /templates/working/templates/axsharpconsole/install.cmd: -------------------------------------------------------------------------------- 1 | powershell.exe -file "install.ps1" 2 | del install.ps1 3 | del install.cmd -------------------------------------------------------------------------------- /docfx/images/blazor/dependency-graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docfx/images/blazor/dependency-graph.png -------------------------------------------------------------------------------- /docfx/images/blazor/multiple_layouts.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docfx/images/blazor/multiple_layouts.gif -------------------------------------------------------------------------------- /docfx/images/blazor/project-structure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docfx/images/blazor/project-structure.png -------------------------------------------------------------------------------- /docfx/images/blazor/viewmodel-service.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docfx/images/blazor/viewmodel-service.png -------------------------------------------------------------------------------- /docs/images/blazor/project-structure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/images/blazor/project-structure.png -------------------------------------------------------------------------------- /docs/images/blazor/viewmodel-service.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/images/blazor/viewmodel-service.png -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/.gitignore: -------------------------------------------------------------------------------- 1 | .apax 2 | .env 3 | bin 4 | 5 | obj 6 | testresult 7 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/plt/lib2/.gitignore: -------------------------------------------------------------------------------- 1 | .apax 2 | .env 3 | bin 4 | 5 | obj 6 | testresult 7 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/plt/lib3/.gitignore: -------------------------------------------------------------------------------- 1 | .apax 2 | .env 3 | bin 4 | 5 | obj 6 | testresult 7 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/units/src/simple_empty_class.st: -------------------------------------------------------------------------------- 1 | CLASS PUBLIC simple_class 2 | END_CLASS -------------------------------------------------------------------------------- /src/AXSharp.connectors/tests/ax-test-project/hwc/hwc.gen/plc_line.IoAddresses.json: -------------------------------------------------------------------------------- 1 | { 2 | "Version": 1, 3 | "IoAddresses": [] 4 | } -------------------------------------------------------------------------------- /src/AXSharp.examples/hello.world.console/hello.world.console.plc/.gitignore: -------------------------------------------------------------------------------- 1 | .apax 2 | .env 3 | bin 4 | 5 | obj 6 | testresult 7 | -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-plc/hwc/hwc.gen/plc_line.IoAddresses.json: -------------------------------------------------------------------------------- 1 | { 2 | "Version": 1, 3 | "IoAddresses": [] 4 | } -------------------------------------------------------------------------------- /docfx/images/blazor/renderignore_labels.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docfx/images/blazor/renderignore_labels.png -------------------------------------------------------------------------------- /docs/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /docs/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /docs/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /docs/images/blazor/renderignore_labels.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/images/blazor/renderignore_labels.png -------------------------------------------------------------------------------- /docs/images/compiler/2023-02-18-09-32-22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/images/compiler/2023-02-18-09-32-22.png -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/packaging/contentFiles/any/net6.0/.meta/sourceinfo.json: -------------------------------------------------------------------------------- 1 | {"ax-source":"../ctrl"} -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.ixc.Tests/samples/plt/apax.yml: -------------------------------------------------------------------------------- 1 | name: "project-level-tests" 2 | version: 0.1.0 3 | type: workspace 4 | -------------------------------------------------------------------------------- /src/AXSharp.connectors/tests/ax-test-project/tod.mon: -------------------------------------------------------------------------------- 1 | myTIME_OF_DAY 2 | maxsmatch.myTIME_OF_DAY 3 | minsmatch.myTIME_OF_DAY 4 | -------------------------------------------------------------------------------- /src/AXSharp.examples/hello.world.console/hello.world.console.plc/axsharp.companion.json: -------------------------------------------------------------------------------- 1 | {"Id":"hello_world_console_plc","Version":"0.0.0"} -------------------------------------------------------------------------------- /src/tests.integrations/integrated/src/ax/.gitignore: -------------------------------------------------------------------------------- 1 | .apax 2 | .env 3 | .vscode 4 | bin 5 | 6 | obj 7 | testresult 8 | 9 | 10 | -------------------------------------------------------------------------------- /docfx/images/compiler/2023-02-18-09-32-22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docfx/images/compiler/2023-02-18-09-32-22.png -------------------------------------------------------------------------------- /docfx/toc.yml: -------------------------------------------------------------------------------- 1 | - name: Articles 2 | href: articles/intro.md 3 | - name: Api Documentation 4 | href: api/ 5 | homepage: api/index.md 6 | -------------------------------------------------------------------------------- /docs/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /docs/images/conceptual/2023-02-01-15-29-19.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/images/conceptual/2023-02-01-15-29-19.png -------------------------------------------------------------------------------- /publish-no-tests.ps1: -------------------------------------------------------------------------------- 1 | # run build 2 | 3 | dotnet run --project cake/Build.csproj --do-pack --do-publish --test-level 2 4 | exit $LASTEXITCODE; -------------------------------------------------------------------------------- /src/AXSharp.blazor/src/AXSharp.Presentation.Blazor.Controls/Templates/TemplateBase.razor: -------------------------------------------------------------------------------- 1 |

TemplateBase

2 | 3 | @code { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /templates/working/templates/axsharpblazor/ax/.gitignore: -------------------------------------------------------------------------------- 1 | .apax 2 | .env 3 | .vscode 4 | bin 5 | 6 | obj 7 | testresult 8 | 9 | 10 | -------------------------------------------------------------------------------- /test_L10.ps1: -------------------------------------------------------------------------------- 1 | # run build 2 | 3 | dotnet run --project cake/Build.csproj --do-test --test-level 10 --framework net10.0 4 | exit $LASTEXITCODE; -------------------------------------------------------------------------------- /docfx/images/conceptual/2023-02-01-15-29-19.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docfx/images/conceptual/2023-02-01-15-29-19.png -------------------------------------------------------------------------------- /publish.ps1: -------------------------------------------------------------------------------- 1 | # run build 2 | 3 | dotnet run --project cake/Build.csproj --do-test --do-pack --do-publish --test-level 100 4 | exit $LASTEXITCODE; -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/units/src/enum_simple.st: -------------------------------------------------------------------------------- 1 | TYPE 2 | Colors : (Red, Green, Blue) := Red; 3 | END_TYPE 4 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.ixc.Tests/xunit.runner.json: -------------------------------------------------------------------------------- 1 | { 2 | "parallelizeTestCollections": true, 3 | "maxParallelThreads": -1 4 | } 5 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.ixr.Tests/xunit.runner.json: -------------------------------------------------------------------------------- 1 | { 2 | "parallelizeTestCollections": true, 3 | "maxParallelThreads": -1 4 | } 5 | -------------------------------------------------------------------------------- /src/AXSharp.connectors/tests/ax-test-project/datetime.mon: -------------------------------------------------------------------------------- 1 | myDATE_AND_TIME 2 | maxsmatch.myDATE_AND_TIME 3 | minsmatch.myDATE_AND_TIME 4 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/src/ixd/tests/docfx/docfx_project/api/.gitignore: -------------------------------------------------------------------------------- 1 | ############### 2 | # temp file # 3 | ############### 4 | *.yml 5 | .manifest 6 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/src/enum_simple.st: -------------------------------------------------------------------------------- 1 | TYPE 2 | Colors : (Red, Green, Blue) := Red; 3 | END_TYPE 4 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/units/src/class_internal.st: -------------------------------------------------------------------------------- 1 | CLASS INTERNAL ClassWithComplexTypes 2 | 3 | END_CLASS 4 | 5 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/xunit.runner.json: -------------------------------------------------------------------------------- 1 | { 2 | "parallelizeTestCollections": true, 3 | "maxParallelThreads": -1 4 | } 5 | -------------------------------------------------------------------------------- /test_L2.ps1: -------------------------------------------------------------------------------- 1 | # run build 2 | 3 | dotnet run --project cake/Build.csproj --do-test --do-pack --test-level 2 --framework net10.0 4 | exit $LASTEXITCODE; -------------------------------------------------------------------------------- /docs/styles/glyphicons-halflings-regular-ACNUA6UY.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/styles/glyphicons-halflings-regular-ACNUA6UY.ttf -------------------------------------------------------------------------------- /docs/styles/glyphicons-halflings-regular-JOUF32XT.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/styles/glyphicons-halflings-regular-JOUF32XT.woff -------------------------------------------------------------------------------- /docs/styles/glyphicons-halflings-regular-PIHUWCJO.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/styles/glyphicons-halflings-regular-PIHUWCJO.eot -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/xunit.runner.json: -------------------------------------------------------------------------------- 1 | { 2 | "parallelizeTestCollections": true, 3 | "maxParallelThreads": -1 4 | } 5 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/units/src/class_no_access_modifier.st: -------------------------------------------------------------------------------- 1 | CLASS NoAccessModifierClass 2 | 3 | END_CLASS 4 | 5 | -------------------------------------------------------------------------------- /templates/working/templates/axsharpblazor/install.ps1: -------------------------------------------------------------------------------- 1 | dotnet tool restore 2 | cd ax 3 | apax install 4 | apax build 5 | axcode . 6 | axcode -g ..\README.md:0 -------------------------------------------------------------------------------- /templates/working/templates/axsharpconsole/install.ps1: -------------------------------------------------------------------------------- 1 | dotnet tool restore 2 | cd ax 3 | apax install 4 | apax build 5 | axcode . 6 | axcode -g ..\README.md:0 -------------------------------------------------------------------------------- /docs/styles/glyphicons-halflings-regular-W4DYDFZM.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/docs/styles/glyphicons-halflings-regular-W4DYDFZM.woff2 -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/src/simple_empty_class.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | CLASS PUBLIC simple_class 3 | END_CLASS -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/lib1/ix/.meta/meta.json: -------------------------------------------------------------------------------- 1 | ["NAMESPACE lib1\n\n{S7.extern=ReadWrite}\nCLASS MyClass \nEND_CLASS\nEND_NAMESPACE",""] -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/lib2/ix/.meta/meta.json: -------------------------------------------------------------------------------- 1 | ["NAMESPACE lib2\n\n{S7.extern=ReadWrite}\nCLASS MyClass \nEND_CLASS\nEND_NAMESPACE",""] -------------------------------------------------------------------------------- /src/tests.integrations/integrated/tests/integrated.tests/xunit.runner.json: -------------------------------------------------------------------------------- 1 | { 2 | "parallelizeTestCollections": true, 3 | "maxParallelThreads": -1 4 | } 5 | -------------------------------------------------------------------------------- /docfx/.gitignore: -------------------------------------------------------------------------------- 1 | ############### 2 | # folder # 3 | ############### 4 | /**/DROP/ 5 | /**/TEMP/ 6 | /**/packages/ 7 | /**/bin/ 8 | /**/obj/ 9 | _site 10 | -------------------------------------------------------------------------------- /docs/styles/main.js: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/IxBlazor.App/Pages/Components.razor: -------------------------------------------------------------------------------- 1 | @page "/Components" 2 | @* @using Operon 3 | *@ -------------------------------------------------------------------------------- /src/AXSharp.connectors/src/AXSharp.Connector.S71500.WebAPI/eTargetProjectPlatform.cs: -------------------------------------------------------------------------------- 1 | public enum eTargetProjectPlatform 2 | { 3 | TIAPORTAL, 4 | SIMATICAX 5 | } -------------------------------------------------------------------------------- /src/AXSharp.connectors/tests/AXSharp.Connector.Sax.WebAPITests/xunit.runner.json: -------------------------------------------------------------------------------- 1 | { 2 | "parallelizeTestCollections": false, 3 | "maxParallelThreads": -1 4 | } 5 | -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-library/_Imports.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components.Web 2 | @using AXSharp.Presentation.Blazor.Controls.RenderableContent -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-plc/monitor.mon: -------------------------------------------------------------------------------- 1 | #weather_wrapped 2 | test_all_primitives 3 | 4 | test_all_primitives.myLWORD 5 | test_all_primitives.myDATE 6 | -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/ix-blaxor/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/src/sanbox/probes/ax-blazor-1/ix-blaxor/wwwroot/favicon.ico -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-blazor/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "@tailwindcss/cli": "^4.1.6", 4 | "tailwindcss": "^4.1.6" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-plc/SystemConstants/plc_line_IoAddresses.st: -------------------------------------------------------------------------------- 1 | CONFIGURATION IoAddresses 2 | VAR_GLOBAL 3 | 4 | END_VAR 5 | END_CONFIGURATION 6 | -------------------------------------------------------------------------------- /src/tests.integrations/integrated/src/ax/certs/S71516-hw.cer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/src/tests.integrations/integrated/src/ax/certs/S71516-hw.cer -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/IxBlazor.App/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "@tailwindcss/cli": "^4.1.17", 4 | "tailwindcss": "^4.1.17" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/plt/lib/AXSharp.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "OutputProjectFolder": "..\\ix", 3 | "AxProjectFolder": "samples\\plt\\lib" 4 | } -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/plt/lib3/AXSharp.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "OutputProjectFolder": "..\\ix", 3 | "AxProjectFolder": "samples\\plt\\lib3" 4 | } -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/plt2/lib/AXSharp.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "OutputProjectFolder": "..\\ix", 3 | "AxProjectFolder": "samples\\plt\\lib" 4 | } -------------------------------------------------------------------------------- /src/AXSharp.connectors/tests/AXSharp.ConnectorTests/AXSharp.ConnectorTests/xunit.runner.json: -------------------------------------------------------------------------------- 1 | { 2 | "parallelizeTestCollections": true, 3 | "maxParallelThreads": -1 4 | } 5 | -------------------------------------------------------------------------------- /src/AXSharp.connectors/tests/ax-test-project/SystemConstants/plc_line_IoAddresses.st: -------------------------------------------------------------------------------- 1 | CONFIGURATION IoAddresses 2 | VAR_GLOBAL 3 | 4 | END_VAR 5 | END_CONFIGURATION 6 | -------------------------------------------------------------------------------- /src/AXSharp.connectors/tests/ax-test-project/certs/S71516-hw.cer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/src/AXSharp.connectors/tests/ax-test-project/certs/S71516-hw.cer -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-blazor/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/src/sanbox/integration/ix-integration-blazor/wwwroot/favicon.ico -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/ix-blaxor-app/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/src/sanbox/probes/ax-blazor-1/ix-blaxor-app/wwwroot/favicon.ico -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/ix-blaxor-app/wwwroot/icon-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/src/sanbox/probes/ax-blazor-1/ix-blaxor-app/wwwroot/icon-192.png -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/ix-blaxor-app/wwwroot/icon-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/src/sanbox/probes/ax-blazor-1/ix-blaxor-app/wwwroot/icon-512.png -------------------------------------------------------------------------------- /src/tests.integrations/integrated/src/ax/certs/Communication.cer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/src/tests.integrations/integrated/src/ax/certs/Communication.cer -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/IxBlazor.App/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/src/AXSharp.blazor/tests/sandbox/IxBlazor.App/wwwroot/favicon.ico -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ax-blazor-example/src/TestEmpty.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | CLASS TestEmpty 3 | VAR PUBLIC 4 | 5 | END_VAR 6 | 7 | END_CLASS -------------------------------------------------------------------------------- /src/AXSharp.compiler/src/ixd/tests/docfx/docfx_project/toc.yml: -------------------------------------------------------------------------------- 1 | - name: Articles 2 | href: articles/ 3 | - name: Api Documentation 4 | href: api/ 5 | homepage: api/index.md 6 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/src/class_internal.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | CLASS INTERNAL ClassWithComplexTypes 3 | 4 | END_CLASS 5 | 6 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/src/class_no_access_modifier.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | CLASS NoAccessModifierClass 3 | 4 | END_CLASS 5 | 6 | -------------------------------------------------------------------------------- /src/AXSharp.tools/src/AXSharp.LocalizablesToResx/tests/SimpleTests.razor: -------------------------------------------------------------------------------- 1 |

@Localizer["Home"]

2 |

@Localizer["Welcome"]

3 |

@Localizer["This is example app"] -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-blazor/Pages/Arrays.razor: -------------------------------------------------------------------------------- 1 | @page "/Arrays" 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/src/AXSharp.Presentation.Blazor.Controls/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "@tailwindcss/cli": "^4.1.17", 4 | "tailwindcss": "^4.1.17" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ax-blazor-example/src/stTestEnum.st: -------------------------------------------------------------------------------- 1 | TYPE stTestEnum : 2 | ( 3 | Unknown, 4 | Available, 5 | UnAvailable 6 | ); 7 | END_TYPE -------------------------------------------------------------------------------- /src/AXSharp.compiler/src/README.md: -------------------------------------------------------------------------------- 1 | # AX# Compiler CLI 2 | 3 | CLI implementation of AX# Compiler. AX# compiler provides a mechanism to trans-pile Simatic AX program into .NET environment. -------------------------------------------------------------------------------- /src/AXSharp.connectors/tests/ax-test-project/certs/Communication.cer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/src/AXSharp.connectors/tests/ax-test-project/certs/Communication.cer -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-library/wwwroot/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/src/sanbox/integration/ix-integration-library/wwwroot/background.png -------------------------------------------------------------------------------- /src/tests.integrations/integrated/src/ax/src/dataswapping/myEnum.st: -------------------------------------------------------------------------------- 1 | TYPE myEnum : 2 | ( 3 | Unknown, 4 | Available, 5 | UnAvailable 6 | ); 7 | END_TYPE -------------------------------------------------------------------------------- /src/AXSharp.compiler/src/ixd/tests/docfx/docfx_project/api/index.md: -------------------------------------------------------------------------------- 1 | # PLACEHOLDER 2 | TODO: Add .NET projects to the *src* folder and run `docfx` to generate **REAL** *API Documentation*! 3 | -------------------------------------------------------------------------------- /src/AXSharp.connectors/tests/ax-test-project/src/hierarchy.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | CLASS hierarchy 3 | VAR PUBLIC 4 | item : hierarchy_2; 5 | END_VAR 6 | END_CLASS -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-plc/ix/.g/POCO/program.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Abstractions.Presentation; 3 | using AXSharp.Connector; 4 | 5 | namespace Pocos 6 | { 7 | } -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-plc/src/taskExample.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | CLASS TaskExample 3 | VAR PUBLIC 4 | example : STRING; 5 | END_VAR 6 | 7 | END_CLASS -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ComponentsExamples/wwwroot/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/src/AXSharp.blazor/tests/sandbox/ComponentsExamples/wwwroot/background.png -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/src/file_with_unsupported.st: -------------------------------------------------------------------------------- 1 | NAMESPACE Unsupported 2 | FUNCTION SomeFunction : INT 3 | ; 4 | END_FUNCTION 5 | END_NAMESPACE -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/build.ps1: -------------------------------------------------------------------------------- 1 | apax build 2 | apax sld -t 192.168.0.1 -i .\bin\1500\ --accept-security-disclaimer -r 3 | dotnet ixc 4 | dotnet run --project .\ix-blaxor\ix-blaxor.csproj -------------------------------------------------------------------------------- /src/tests.integrations/integrated/src/integrated.app/wwwroot/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/src/tests.integrations/integrated/src/integrated.app/wwwroot/favicon.png -------------------------------------------------------------------------------- /src/tests.integrations/integrated/src/integrated.twin/.g/POCO/program.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Abstractions.Presentation; 3 | using AXSharp.Connector; 4 | 5 | namespace Pocos 6 | { 7 | } -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/IxBlazor.App/tailwind.ps1: -------------------------------------------------------------------------------- 1 | npx @tailwindcss/cli -i .\wwwroot\css\tailwind.css -o .\wwwroot\css\momentum.css --watch --content ".\**\*.{html,js,jsx,ts,tsx,vue,razor}" 2 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/units/src/class_extends.st: -------------------------------------------------------------------------------- 1 | CLASS PUBLIC Extended EXTENDS Extendee 2 | 3 | END_CLASS 4 | 5 | CLASS PUBLIC Extendee 6 | 7 | END_CLASS -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/app/ix/.g/POCO/program.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Abstractions.Presentation; 3 | using AXSharp.Connector; 4 | 5 | namespace Pocos 6 | { 7 | } -------------------------------------------------------------------------------- /src/AXSharp.connectors/tests/ax-test-project/string.mon: -------------------------------------------------------------------------------- 1 | mySTRING 2 | maxsmatch.mySTRING 3 | minsmatch.mySTRING 4 | 5 | myWSTRING 6 | maxsmatch.myWSTRING 7 | minsmatch.myWSTRING 8 | -------------------------------------------------------------------------------- /src/apax/apax.yml: -------------------------------------------------------------------------------- 1 | name: "s" 2 | version: 0.0.0 3 | type: app 4 | targets: 5 | - "1500" 6 | devDependencies: 7 | "@ax/stc": 11.1.55 8 | installStrategy: strict 9 | apaxVersion: 3.1.1 10 | -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-plc/src/test/enumStationStatus.st: -------------------------------------------------------------------------------- 1 | TYPE enumStationStatus : 2 | ( 3 | Unknown, 4 | Available, 5 | UnAvailable 6 | ); 7 | END_TYPE -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ax-blazor-example/src/enumStationStatus.st: -------------------------------------------------------------------------------- 1 | TYPE enumStationStatus : 2 | ( 3 | Unknown, 4 | Available, 5 | UnAvailable 6 | ); 7 | END_TYPE -------------------------------------------------------------------------------- /src/AXSharp.compiler/src/ixd/tests/samples/ax/src/test/enumStationStatus.st: -------------------------------------------------------------------------------- 1 | TYPE enumStationStatus : 2 | ( 3 | Unknown, 4 | Available, 5 | UnAvailable 6 | ); 7 | END_TYPE -------------------------------------------------------------------------------- /src/AXSharp.compiler/src/ixr/tests/samples/ax/src/test/enumStationStatus.st: -------------------------------------------------------------------------------- 1 | TYPE enumStationStatus : 2 | ( 3 | Unknown, 4 | Available, 5 | UnAvailable 6 | ); 7 | END_TYPE -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/app/ix/.g/POCO/configuration.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Abstractions.Presentation; 3 | using AXSharp.Connector; 4 | 5 | namespace Pocos 6 | { 7 | } -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-blazor/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using AXSharp.Presentation.Blazor.Attributes; 3 | 4 | [assembly: RenderableBlazorAssemblyAttribute()] 5 | -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-blazor/tailwind.ps1: -------------------------------------------------------------------------------- 1 | npx @tailwindcss/cli -i .\wwwroot\css\App.css -o .\wwwroot\css\tailwind\tailwind.css --watch --content ".\**\*.{html,js,jsx,ts,tsx,vue,razor}" 2 | -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-library/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using AXSharp.Presentation.Blazor.Attributes; 3 | 4 | [assembly: RenderableBlazorAssemblyAttribute()] 5 | -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-plc/ix/.g/POCO/test/enumStationStatus.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Abstractions.Presentation; 3 | using AXSharp.Connector; 4 | 5 | namespace Pocos 6 | { 7 | } -------------------------------------------------------------------------------- /src/tests.integrations/integrated/src/integrated.app/wwwroot/banner_wider.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/src/tests.integrations/integrated/src/integrated.app/wwwroot/banner_wider.png -------------------------------------------------------------------------------- /templates/working/templates/axsharpblazor/axsharpblazor.app/wwwroot/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/templates/working/templates/axsharpblazor/axsharpblazor.app/wwwroot/favicon.png -------------------------------------------------------------------------------- /src/AXSharp.connectors/tests/ax-test-project/hw.hwl.json: -------------------------------------------------------------------------------- 1 | { 2 | "Device": { 3 | "PLC_1": { 4 | "Type": "6ES7 516-3AN01-0AB0", 5 | "Firmware": "V2.9" 6 | } 7 | } 8 | } -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/ix/.g/Onliners/program.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Ix.Connector; 3 | using Ix.Connector.ValueTypes; 4 | using System.Collections.Generic; 5 | 6 | namespace ax_blazor_1 7 | { 8 | } -------------------------------------------------------------------------------- /src/tests.integrations/integrated/src/integrated.twin/.g/POCO/dataswapping/myEnum.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Abstractions.Presentation; 3 | using AXSharp.Connector; 4 | 5 | namespace Pocos 6 | { 7 | } -------------------------------------------------------------------------------- /src/AXSharp.blazor/src/AXSharp.Presentation.Blazor.Controls/Layouts/BorderLayout.razor: -------------------------------------------------------------------------------- 1 | @inherits LayoutComponentBase 2 | 3 |

4 | @Body 5 |
6 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/src/ixd/tests/docfx/docfx_project/.gitignore: -------------------------------------------------------------------------------- 1 | ############### 2 | # folder # 3 | ############### 4 | /**/DROP/ 5 | /**/TEMP/ 6 | /**/packages/ 7 | /**/bin/ 8 | /**/obj/ 9 | _site 10 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/apax.yml: -------------------------------------------------------------------------------- 1 | name: "units" 2 | version: 0.0.0 3 | type: app 4 | targets: 5 | - "1500" 6 | - axunit-llvm 7 | devDependencies: 8 | "@ax/sdk": 3.0.1 9 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/units/apax.yml: -------------------------------------------------------------------------------- 1 | name: "units" 2 | version: 0.0.0 3 | type: app 4 | targets: 5 | - "1500" 6 | - axunit-llvm 7 | devDependencies: 8 | "@ax/sdk": 3.0.1 9 | -------------------------------------------------------------------------------- /templates/working/templates/axsharpconsole/ax/src/program.st: -------------------------------------------------------------------------------- 1 | PROGRAM MyProgram 2 | VAR_EXTERNAL 3 | Counter : ULINT; 4 | END_VAR 5 | 6 | Counter := Counter + ULINT#1; 7 | END_PROGRAM 8 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/ax/.g/POCO/program.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Abstractions.Presentation; 3 | using AXSharp.Connector; 4 | 5 | namespace Pocos 6 | { 7 | } -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/tia/.g/POCO/program.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Abstractions.Presentation; 3 | using AXSharp.Connector; 4 | 5 | namespace Pocos 6 | { 7 | } -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/units/src/class_implements.st: -------------------------------------------------------------------------------- 1 | CLASS PUBLIC _NULL_CONTEXT IMPLEMENTS IContext 2 | 3 | END_CLASS 4 | 5 | INTERFACE PUBLIC IContext 6 | 7 | END_INTERFACE -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/ax/.g/POCO/enum_simple.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Abstractions.Presentation; 3 | using AXSharp.Connector; 4 | 5 | namespace Pocos 6 | { 7 | } -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/tia/.g/POCO/enum_simple.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Abstractions.Presentation; 3 | using AXSharp.Connector; 4 | 5 | namespace Pocos 6 | { 7 | } -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/units/src/simple_empty_class_within_namespace.st: -------------------------------------------------------------------------------- 1 | NAMESPACE sampleNamespace 2 | CLASS PUBLIC simple_empty_class_within_namespace 3 | END_CLASS 4 | END_NAMESPACE -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/app/AXSharp.config.json: -------------------------------------------------------------------------------- 1 | {"OutputProjectFolder":"ix","UseBase":false,"NoDependencyUpdate":false,"IgnoreS7Pragmas":false,"SkipDependencyCompilation":false,"ProjectFile":"app.csproj"} -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-plc/certs/plc_line/pkcs12ForCertificateImport.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/src/sanbox/integration/ix-integration-plc/certs/plc_line/pkcs12ForCertificateImport.p12 -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-plc/ix/.g/POCO/configuration.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Abstractions.Presentation; 3 | using AXSharp.Connector; 4 | using Pocos.MonsterData; 5 | 6 | namespace Pocos 7 | { 8 | } -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/AXSharp.RenderableContent.Tests/RenderableContentTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/src/AXSharp.blazor/tests/sandbox/AXSharp.RenderableContent.Tests/RenderableContentTests.cs -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/lib1/AXSharp.config.json: -------------------------------------------------------------------------------- 1 | {"OutputProjectFolder":"ix","UseBase":false,"NoDependencyUpdate":false,"IgnoreS7Pragmas":false,"SkipDependencyCompilation":false,"ProjectFile":"lib1.csproj"} -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/lib2/AXSharp.config.json: -------------------------------------------------------------------------------- 1 | {"OutputProjectFolder":"ix","UseBase":false,"NoDependencyUpdate":false,"IgnoreS7Pragmas":false,"SkipDependencyCompilation":false,"ProjectFile":"lib2.csproj"} -------------------------------------------------------------------------------- /src/AXSharp.connectors/tests/ax-test-project/certs/plc_line/pkcs12ForCertificateImport.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/src/AXSharp.connectors/tests/ax-test-project/certs/plc_line/pkcs12ForCertificateImport.p12 -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/ix-blaxor/wwwroot/css/open-iconic/font/fonts/open-iconic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/src/sanbox/probes/ax-blazor-1/ix-blaxor/wwwroot/css/open-iconic/font/fonts/open-iconic.eot -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/ix-blaxor/wwwroot/css/open-iconic/font/fonts/open-iconic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/src/sanbox/probes/ax-blazor-1/ix-blaxor/wwwroot/css/open-iconic/font/fonts/open-iconic.otf -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/ix-blaxor/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/src/sanbox/probes/ax-blazor-1/ix-blaxor/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/ix-blaxor/wwwroot/css/open-iconic/font/fonts/open-iconic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/src/sanbox/probes/ax-blazor-1/ix-blaxor/wwwroot/css/open-iconic/font/fonts/open-iconic.woff -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/ix-blaxor-app/wwwroot/css/open-iconic/font/fonts/open-iconic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/src/sanbox/probes/ax-blazor-1/ix-blaxor-app/wwwroot/css/open-iconic/font/fonts/open-iconic.eot -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/ix-blaxor-app/wwwroot/css/open-iconic/font/fonts/open-iconic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/src/sanbox/probes/ax-blazor-1/ix-blaxor-app/wwwroot/css/open-iconic/font/fonts/open-iconic.otf -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/ix-blaxor-app/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/src/sanbox/probes/ax-blazor-1/ix-blaxor-app/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ax-blazor-example/src/stTest3.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | CLASS stTest3 3 | VAR PUBLIC 4 | ix_bool : BOOL; 5 | ix_int : INT; 6 | ix_string : STRING; 7 | END_VAR 8 | END_CLASS -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/app/ix/.meta/meta.json: -------------------------------------------------------------------------------- 1 | ["NAMESPACE lib1\n\n{S7.extern=ReadWrite}\nCLASS MyClass \nEND_CLASS\nEND_NAMESPACE","NAMESPACE lib2\n\n{S7.extern=ReadWrite}\nCLASS MyClass \nEND_CLASS\nEND_NAMESPACE"] -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/apax.yml: -------------------------------------------------------------------------------- 1 | name: "ax-blazor-1" 2 | version: 0.0.0 3 | type: app 4 | targets: 5 | - "1500" 6 | - axunit-llvm 7 | devDependencies: 8 | "@ax/sdk": 3.0.2 9 | dependencies: 10 | "@ax/trace": ^2.3.4 11 | -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/ix-blaxor-app/wwwroot/css/open-iconic/font/fonts/open-iconic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/src/sanbox/probes/ax-blazor-1/ix-blaxor-app/wwwroot/css/open-iconic/font/fonts/open-iconic.woff -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/ix-blaxor/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | "AllowedHosts": "*" 9 | } 10 | -------------------------------------------------------------------------------- /src/tests.integrations/integrated/src/integrated.app/Properties/serviceDependencies.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "mssql1": { 4 | "type": "mssql", 5 | "connectionId": "ConnectionStrings:DefaultConnection" 6 | } 7 | } 8 | } -------------------------------------------------------------------------------- /cake/.cr/personal/FavoritesList/List.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /docs/toc.json: -------------------------------------------------------------------------------- 1 | 2 | {"items":[{"name":"Articles","href":"articles/intro.html","topicHref":"articles/intro.html"},{"name":"Api Documentation","href":"api/index.html","tocHref":"api/toc.html","topicHref":"api/index.html","homepage":"api/index.html"}]} 3 | -------------------------------------------------------------------------------- /src/.cr/personal/FavoritesList/List.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/src/class_implements.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | CLASS PUBLIC _NULL_CONTEXT IMPLEMENTS IContext 3 | 4 | END_CLASS 5 | 6 | INTERFACE PUBLIC IContext 7 | 8 | END_INTERFACE -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/actual/lib1/apax.yml: -------------------------------------------------------------------------------- 1 | name: "lib1" 2 | version: 0.0.0 3 | type: lib 4 | targets: 5 | - "1500" 6 | - llvm 7 | - axunit-llvm 8 | files: 9 | - bin 10 | devDependencies: 11 | "@ax/sdk": 3.0.2 12 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/lib1/apax.yml: -------------------------------------------------------------------------------- 1 | name: "lib1" 2 | version: 0.0.0 3 | type: lib 4 | targets: 5 | - "1500" 6 | - llvm 7 | - axunit-llvm 8 | files: 9 | - bin 10 | devDependencies: 11 | "@ax/sdk": 3.0.2 12 | -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-blazor/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft.AspNetCore": "Warning" 6 | } 7 | }, 8 | "AllowedHosts": "*" 9 | } 10 | -------------------------------------------------------------------------------- /src/tests.integrations/integrated/src/integrated.app/Shared/TopRow.razor.css: -------------------------------------------------------------------------------- 1 | .top-row { 2 | background-color: #f7f7f7; 3 | border-bottom: 1px solid #d6d5d5; 4 | height: 3.5rem; 5 | display: flex; 6 | align-items: center; 7 | } 8 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ax-blazor-example/src/TcoVortexObject.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | CLASS TcoIxObject 3 | VAR PUBLIC 4 | ix_bool : BOOL; 5 | ix_int : INT; 6 | ix_string : STRING; 7 | END_VAR 8 | END_CLASS -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ax-blazor-example/src/TestSimpleNested.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | CLASS TestSimpleNested 3 | VAR PUBLIC 4 | {#ix-attr:[Container(Layout.Tabs)]} 5 | str: stTestNested; 6 | END_VAR 7 | 8 | END_CLASS -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ax-blazor-example/src/TestStructWithMainLayout.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | CLASS TestStructWithMainLayout 3 | VAR PUBLIC 4 | e:INT; 5 | r44:STRING; 6 | k21:STRING; 7 | END_VAR 8 | END_CLASS -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ax-blazor-example/src/VortexComponents.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | CLASS IxComponent 3 | VAR PUBLIC 4 | ix_bool : BOOL; 5 | ix_int : INT; 6 | ix_string : STRING; 7 | END_VAR 8 | END_CLASS -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/packaging/lib/net6.0/ix.framework.core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/packaging/lib/net6.0/ix.framework.core.dll -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/src/class_extends.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | CLASS PUBLIC Extended EXTENDS Extendee 3 | 4 | END_CLASS 5 | 6 | {S7.extern=ReadWrite} 7 | CLASS PUBLIC Extendee 8 | 9 | END_CLASS -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/ix-blaxor-app/Pages/Index.razor: -------------------------------------------------------------------------------- 1 | @page "/" 2 | 3 | Index 4 | 5 |

Hello, world!

6 | 7 | Welcome to your new app. 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/tests.integrations/integrated/src/integrated.app/wwwroot/css/open-iconic/font/fonts/open-iconic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/src/tests.integrations/integrated/src/integrated.app/wwwroot/css/open-iconic/font/fonts/open-iconic.eot -------------------------------------------------------------------------------- /src/tests.integrations/integrated/src/integrated.app/wwwroot/css/open-iconic/font/fonts/open-iconic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/src/tests.integrations/integrated/src/integrated.app/wwwroot/css/open-iconic/font/fonts/open-iconic.otf -------------------------------------------------------------------------------- /src/tests.integrations/integrated/src/integrated.app/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/src/tests.integrations/integrated/src/integrated.app/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf -------------------------------------------------------------------------------- /src/tests.integrations/integrated/src/integrated.app/wwwroot/css/open-iconic/font/fonts/open-iconic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/src/tests.integrations/integrated/src/integrated.app/wwwroot/css/open-iconic/font/fonts/open-iconic.woff -------------------------------------------------------------------------------- /templates/working/templates/axsharpblazor/axsharpblazor.app/Properties/serviceDependencies.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "mssql1": { 4 | "type": "mssql", 5 | "connectionId": "ConnectionStrings:DefaultConnection" 6 | } 7 | } 8 | } -------------------------------------------------------------------------------- /templates/working/templates/axsharpblazor/axsharpblazor.app/Shared/TopRow.razor.css: -------------------------------------------------------------------------------- 1 | .top-row { 2 | background-color: #f7f7f7; 3 | border-bottom: 1px solid #d6d5d5; 4 | height: 3.5rem; 5 | display: flex; 6 | align-items: center; 7 | } 8 | -------------------------------------------------------------------------------- /src/AXSharp.abstractions/AXSharp.abstractions.slnf: -------------------------------------------------------------------------------- 1 | { 2 | "solution": { 3 | "path": "..\\AXSharp.sln", 4 | "projects": [ 5 | "AXSharp.abstractions\\src\\AXSharp.Framework.Abstractions\\AXSharp.Framework.Abstractions.csproj" 6 | ] 7 | } 8 | } -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/src/simple_empty_class_within_namespace.st: -------------------------------------------------------------------------------- 1 | NAMESPACE sampleNamespace 2 | {S7.extern=ReadWrite} 3 | CLASS PUBLIC simple_empty_class_within_namespace 4 | END_CLASS 5 | END_NAMESPACE -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.ixc.Tests/samples/plt/lib/apax.yml: -------------------------------------------------------------------------------- 1 | name: "plt-lib" 2 | version: 0.1.0 3 | type: lib 4 | targets: 5 | - "1500" 6 | - llvm 7 | - axunit-llvm 8 | files: 9 | - src 10 | devDependencies: 11 | "@ax/sdk": 3.0.8 12 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/actual/lib2/apax.yml: -------------------------------------------------------------------------------- 1 | name: "lib2" 2 | version: 0.0.0 3 | type: lib 4 | targets: 5 | - "1500" 6 | - llvm 7 | - axunit-llvm 8 | - src 9 | files: 10 | - bin 11 | devDependencies: 12 | "@ax/sdk": 3.0.2 13 | -------------------------------------------------------------------------------- /src/AXSharp.connectors/tests/ax-test-project/AXSharp.config.json: -------------------------------------------------------------------------------- 1 | {"OutputProjectFolder":"ix","UseBase":false,"NoDependencyUpdate":false,"IgnoreS7Pragmas":false,"SkipDependencyCompilation":false,"TargetPlatfromMoniker":"ax","ProjectFile":"ax_test_project.csproj"} -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-plc/AXSharp.config.json: -------------------------------------------------------------------------------- 1 | {"OutputProjectFolder":"ix","UseBase":false,"NoDependencyUpdate":false,"IgnoreS7Pragmas":false,"SkipDependencyCompilation":false,"TargetPlatfromMoniker":"ax","ProjectFile":"ix_integration_plc.csproj"} -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/ix-blaxor/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "DetailedErrors": true, 3 | "Logging": { 4 | "LogLevel": { 5 | "Default": "Information", 6 | "Microsoft.AspNetCore": "Warning" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/tests.integrations/integrated/src/integrated.app/Properties/serviceDependencies.local.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "mssql1": { 4 | "type": "mssql.local", 5 | "connectionId": "ConnectionStrings:DefaultConnection" 6 | } 7 | } 8 | } -------------------------------------------------------------------------------- /src/AXSharp.blazor/.cr/personal/FavoritesList/List.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/.cr/personal/FavoritesList/List.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/plt/lib/apax.yml: -------------------------------------------------------------------------------- 1 | name: "plt-lib" 2 | version: 0.1.0 3 | type: lib 4 | targets: 5 | - "1500" 6 | - llvm 7 | - axunit-llvm 8 | files: 9 | - src 10 | devDependencies: 11 | "@ax/sdk": 3.0.8 12 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/plt/lib2/apax.yml: -------------------------------------------------------------------------------- 1 | name: "plt-lib2" 2 | version: 0.0.0 3 | type: lib 4 | targets: 5 | - "1500" 6 | - llvm 7 | - axunit-llvm 8 | files: 9 | - bin 10 | devDependencies: 11 | "@ax/sdk": 3.0.8 12 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/plt/lib3/apax.yml: -------------------------------------------------------------------------------- 1 | name: "plt-lib2" 2 | version: 0.0.0 3 | type: lib 4 | targets: 5 | - "1500" 6 | - llvm 7 | - axunit-llvm 8 | files: 9 | - bin 10 | devDependencies: 11 | "@ax/sdk": 3.0.8 12 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/plt2/lib/apax.yml: -------------------------------------------------------------------------------- 1 | name: "plt-lib" 2 | version: 0.1.0 3 | type: lib 4 | targets: 5 | - "1500" 6 | - llvm 7 | - axunit-llvm 8 | files: 9 | - src 10 | devDependencies: 11 | "@ax/sdk": 3.0.8 12 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.ixc.Tests/samples/plt/lib2/apax.yml: -------------------------------------------------------------------------------- 1 | name: "plt-lib2" 2 | version: 0.0.0 3 | type: lib 4 | targets: 5 | - "1500" 6 | - llvm 7 | - axunit-llvm 8 | files: 9 | - bin 10 | devDependencies: 11 | "@ax/sdk": 3.0.8 12 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/actual/app/apax.yml: -------------------------------------------------------------------------------- 1 | name: "app" 2 | version: 0.0.0 3 | type: app 4 | targets: 5 | - "1500" 6 | - axunit-llvm 7 | dependencies: 8 | lib1: 0.0.0 9 | lib2: 0.0.0 10 | devDependencies: 11 | "@ax/sdk": 3.0.2 12 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/app/apax.yml: -------------------------------------------------------------------------------- 1 | name: "app" 2 | version: 0.0.0 3 | type: app 4 | targets: 5 | - "1500" 6 | - axunit-llvm 7 | dependencies: 8 | lib1: 0.0.0 9 | lib2: 0.0.0 10 | devDependencies: 11 | "@ax/sdk": 3.0.2 12 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/lib2/apax.yml: -------------------------------------------------------------------------------- 1 | name: "lib2" 2 | version: 0.0.0 3 | type: lib 4 | targets: 5 | - "1500" 6 | - llvm 7 | - axunit-llvm 8 | - src 9 | files: 10 | - bin 11 | devDependencies: 12 | "@ax/sdk": 3.0.2 13 | -------------------------------------------------------------------------------- /src/AXSharp.tools/tests/AXSharp.LocalizablesToResx.Tests/input/SimpleTests.razor: -------------------------------------------------------------------------------- 1 | @Localizer["Separator"]@Localizer["Random"] 2 | @Localizer["Hello wordld"] -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-blazor/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "DetailedErrors": true, 3 | "Logging": { 4 | "LogLevel": { 5 | "Default": "Information", 6 | "Microsoft.AspNetCore": "Warning" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /templates/working/templates/axsharpblazor/axsharpblazor.app/Properties/serviceDependencies.local.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "mssql1": { 4 | "type": "mssql.local", 5 | "connectionId": "ConnectionStrings:DefaultConnection" 6 | } 7 | } 8 | } -------------------------------------------------------------------------------- /src/AXSharp.abstractions/.cr/personal/FavoritesList/List.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ax-blazor-example/AXSharp.config.json: -------------------------------------------------------------------------------- 1 | {"OutputProjectFolder":"ix","UseBase":false,"NoDependencyUpdate":false,"IgnoreS7Pragmas":false,"SkipDependencyCompilation":false,"TargetPlatfromMoniker":"ax","ProjectFile":"ax_blazor_example.csproj"} -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ax-blazor-example/src/TestWithoutLayouts.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | CLASS TestWithoutLayouts 3 | VAR PUBLIC 4 | ix_bool : BOOL; 5 | ix_int : INT; 6 | ix_string : STRING; 7 | END_VAR 8 | 9 | END_CLASS -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/units/src/struct_simple.st: -------------------------------------------------------------------------------- 1 | TYPE 2 | Motor : STRUCT 3 | isRunning : BOOL; 4 | END_STRUCT; 5 | Vehicle : STRUCT 6 | m : Motor; 7 | displacement : INT; 8 | END_STRUCT; 9 | END_TYPE -------------------------------------------------------------------------------- /src/AXSharp.connectors/.cr/personal/FavoritesList/List.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/AXSharp.examples/hello.world.console/README.md: -------------------------------------------------------------------------------- 1 | # hello.world example 2 | 3 | Simple example that demostrates reading and writing of variables of simatic plc in a simatic-ax based project. 4 | 5 | Make sure you have all pre-requisited listed in the documentation. 6 | -------------------------------------------------------------------------------- /src/AXSharp.examples/hello.world.console/hello.world.console.plc/apax.yml: -------------------------------------------------------------------------------- 1 | name: "hello.world.console.plc" 2 | version: 0.0.0 3 | type: app 4 | targets: 5 | - "1500" 6 | - axunit-llvm 7 | devDependencies: 8 | "@ax/sdk": 3.0.8 9 | "@ax/sld": ^0.14.2 10 | -------------------------------------------------------------------------------- /src/tests.integrations/integrated/src/ax/AXSharp.config.json: -------------------------------------------------------------------------------- 1 | {"OutputProjectFolder":"..\\integrated.twin","UseBase":false,"NoDependencyUpdate":false,"IgnoreS7Pragmas":false,"SkipDependencyCompilation":false,"TargetPlatfromMoniker":"ax","ProjectFile":"integrated.csproj"} -------------------------------------------------------------------------------- /src/tests.integrations/integrated/src/integrated.app/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "DetailedErrors": true, 3 | "Logging": { 4 | "LogLevel": { 5 | "Default": "Information", 6 | "Microsoft.AspNetCore": "Warning" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /templates/working/templates/axsharpblazor/axsharpblazor.app/wwwroot/css/open-iconic/font/fonts/open-iconic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/templates/working/templates/axsharpblazor/axsharpblazor.app/wwwroot/css/open-iconic/font/fonts/open-iconic.eot -------------------------------------------------------------------------------- /templates/working/templates/axsharpblazor/axsharpblazor.app/wwwroot/css/open-iconic/font/fonts/open-iconic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/templates/working/templates/axsharpblazor/axsharpblazor.app/wwwroot/css/open-iconic/font/fonts/open-iconic.otf -------------------------------------------------------------------------------- /templates/working/templates/axsharpblazor/axsharpblazor.app/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/templates/working/templates/axsharpblazor/axsharpblazor.app/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf -------------------------------------------------------------------------------- /templates/working/templates/axsharpblazor/axsharpblazor.app/wwwroot/css/open-iconic/font/fonts/open-iconic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Inxton/axsharp/HEAD/templates/working/templates/axsharpblazor/axsharpblazor.app/wwwroot/css/open-iconic/font/fonts/open-iconic.woff -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ax-blazor-example/src/TestMixed.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | CLASS TestMixed 3 | VAR PUBLIC 4 | {#ix-attr:[Container(Layout.Wrap)]} 5 | e:INT; 6 | r44:STRING; 7 | k21:STRING; 8 | END_VAR 9 | END_CLASS -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ax-blazor-example/src/TestStruct.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | CLASS TestStruct 3 | VAR PUBLIC 4 | e:INT; 5 | r44:STRING; 6 | k21:STRING; 7 | example:stExample; 8 | END_VAR 9 | 10 | END_CLASS -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/actual/app/AXSharp.config.json: -------------------------------------------------------------------------------- 1 | {"OutputProjectFolder":"samples\\units\\ix\\tia","UseBase":false,"NoDependencyUpdate":false,"IgnoreS7Pragmas":false,"SkipDependencyCompilation":false,"TargetPlatfromMoniker":"tia","ProjectFile":"app.csproj"} -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/actual/app/src/program.st: -------------------------------------------------------------------------------- 1 | PROGRAM MyProgram 2 | VAR_EXTERNAL 3 | 4 | END_VAR 5 | 6 | VAR 7 | 8 | END_VAR 9 | 10 | VAR_TEMP 11 | 12 | END_VAR 13 | 14 | // code here 15 | ; 16 | END_PROGRAM 17 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/actual/lib1/AXSharp.config.json: -------------------------------------------------------------------------------- 1 | {"OutputProjectFolder":"samples\\units\\ix\\tia","UseBase":false,"NoDependencyUpdate":false,"IgnoreS7Pragmas":false,"SkipDependencyCompilation":false,"TargetPlatfromMoniker":"tia","ProjectFile":"lib1.csproj"} -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/actual/lib2/AXSharp.config.json: -------------------------------------------------------------------------------- 1 | {"OutputProjectFolder":"samples\\units\\ix\\tia","UseBase":false,"NoDependencyUpdate":false,"IgnoreS7Pragmas":false,"SkipDependencyCompilation":false,"TargetPlatfromMoniker":"tia","ProjectFile":"lib2.csproj"} -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-plc/ix/.g/Onliners/program.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Connector; 3 | using AXSharp.Connector.ValueTypes; 4 | using System.Collections.Generic; 5 | using AXSharp.Connector.Localizations; 6 | using AXSharp.Abstractions.Presentation; -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/.config/dotnet-tools.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "isRoot": true, 4 | "tools": { 5 | "ixc": { 6 | "version": "0.5.0-wip-webapiconnector-1.8", 7 | "commands": [ 8 | "ixc" 9 | ] 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/.cr/personal/FavoritesList/List.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/ix-blaxor/Pages/_Host.cshtml: -------------------------------------------------------------------------------- 1 | @page "/" 2 | @namespace ix_blaxor.Pages 3 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers 4 | @{ 5 | Layout = "_Layout"; 6 | } 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/src/program.st: -------------------------------------------------------------------------------- 1 | PROGRAM MyProgram 2 | VAR_EXTERNAL 3 | myINT : INT; 4 | END_VAR 5 | 6 | VAR 7 | 8 | END_VAR 9 | 10 | VAR_TEMP 11 | 12 | END_VAR 13 | 14 | myINT := myINT + 1; 15 | END_PROGRAM 16 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/question.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Question 3 | about: Ask question 4 | title: "[QUESTION]" 5 | labels: question 6 | assignees: inxton 7 | 8 | --- 9 | 10 | # State topic of your question 11 | 12 | (Can I do this or that? What if I would like to...) 13 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/IxBlazor.App/Pages/WrapLayout.razor: -------------------------------------------------------------------------------- 1 | @page "/wrap" 2 |

WrapLayout

3 | 4 | 6 | 7 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ax-blazor-example/.config/dotnet-tools.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "isRoot": true, 4 | "tools": { 5 | "ixc": { 6 | "version": "0.2.1-alpha.25", 7 | "commands": [ 8 | "ixc" 9 | ] 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ax-blazor-example/src/program.st: -------------------------------------------------------------------------------- 1 | PROGRAM MyProgram 2 | VAR_EXTERNAL 3 | 4 | END_VAR 5 | 6 | VAR 7 | 8 | END_VAR 9 | 10 | VAR_TEMP 11 | 12 | END_VAR 13 | 14 | // code here 15 | ; 16 | END_PROGRAM 17 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/src/ixd/tests/samples/ax/src/structs.st: -------------------------------------------------------------------------------- 1 | TYPE 2 | Motor : STRUCT 3 | isRunning : BOOL; 4 | END_STRUCT; 5 | 6 | // Vehicle : STRUCT 7 | // m : Motor; 8 | // displacement : INT; 9 | // END_STRUCT; 10 | 11 | END_TYPE -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/src/abstract_members.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | CLASS ABSTRACT AbstractMotor 3 | VAR PUBLIC 4 | Run : BOOL; 5 | ReverseDirection : BOOL; 6 | END_VAR 7 | ... 8 | END_CLASS -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/plt/app/src/configuration.st: -------------------------------------------------------------------------------- 1 | CONFIGURATION MyConfiguration 2 | TASK Main(Interval := T#1000ms, Priority := 1); 3 | PROGRAM P1 WITH Main: MyProgram; 4 | 5 | VAR_GLOBAL 6 | 7 | END_VAR 8 | END_CONFIGURATION 9 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.ixc.Tests/samples/plt/app/src/configuration.st: -------------------------------------------------------------------------------- 1 | CONFIGURATION MyConfiguration 2 | TASK Main(Interval := T#1000ms, Priority := 1); 3 | PROGRAM P1 WITH Main: MyProgram; 4 | 5 | VAR_GLOBAL 6 | 7 | END_VAR 8 | END_CONFIGURATION 9 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/app/src/program.st: -------------------------------------------------------------------------------- 1 | PROGRAM MyProgram 2 | VAR_EXTERNAL 3 | 4 | END_VAR 5 | 6 | VAR 7 | 8 | END_VAR 9 | 10 | VAR_TEMP 11 | 12 | END_VAR 13 | 14 | // code here 15 | ; 16 | END_PROGRAM 17 | -------------------------------------------------------------------------------- /templates/working/templates/axsharpblazor/.config/dotnet-tools.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "isRoot": true, 4 | "tools": { 5 | "AXSharp.ixc": { 6 | "version": "0.19.0-alpha.203", 7 | "commands": [ 8 | "ixc" 9 | ] 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /templates/working/templates/axsharpblazor/ax/AXSharp.config.json: -------------------------------------------------------------------------------- 1 | {"OutputProjectFolder":"..\\axsharpblazor.twin","UseBase":false,"NoDependencyUpdate":false,"IgnoreS7Pragmas":false,"SkipDependencyCompilation":false,"TargetPlatfromMoniker":"ax","ProjectFile":"axsharpblazor.csproj"} -------------------------------------------------------------------------------- /templates/working/templates/axsharpblazor/axsharpblazor.app/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "DetailedErrors": true, 3 | "Logging": { 4 | "LogLevel": { 5 | "Default": "Information", 6 | "Microsoft.AspNetCore": "Warning" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /templates/working/templates/axsharpconsole/ax/AXSharp.config.json: -------------------------------------------------------------------------------- 1 | {"OutputProjectFolder":"..\\axsharpconsole.twin","UseBase":false,"NoDependencyUpdate":false,"IgnoreS7Pragmas":false,"SkipDependencyCompilation":false,"TargetPlatfromMoniker":"ax","ProjectFile":"axsharpconsole.csproj"} -------------------------------------------------------------------------------- /src/AXSharp.abstractions/.cr/personal/Navigation/Code Places.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | True 5 | 6 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/app/ix/.g/Onliners/program.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Connector; 3 | using AXSharp.Connector.ValueTypes; 4 | using System.Collections.Generic; 5 | using AXSharp.Connector.Localizations; 6 | using AXSharp.Abstractions.Presentation; -------------------------------------------------------------------------------- /src/AXSharp.tools/tests/AXSharp.LocalizablesToResx.Tests/input/DifferentIdentifier.razor: -------------------------------------------------------------------------------- 1 | @LocalizerDiff["Separator"]@LocalizerDiff["Random"] 2 | @Localizer["Hello wordld"] -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-blazor/Pages/Localizations.razor: -------------------------------------------------------------------------------- 1 | @page "/localizations" 2 | 3 | Localizations 4 | 5 | 7 | -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-blazor/Pages/ShadowProperties.razor: -------------------------------------------------------------------------------- 1 | @page "/ShadowProperties" 2 | 3 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/tests.integrations/integrated/src/integrated.app/Pages/UI/AutoUI.razor: -------------------------------------------------------------------------------- 1 | @page "/ui/autoui" 2 |

AutoUI

3 | 4 |
5 | 6 |
7 | 8 | @code { 9 | 10 | } 11 | -------------------------------------------------------------------------------- /src/tests.integrations/integrated/src/integrated.twin/.g/Onliners/program.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Connector; 3 | using AXSharp.Connector.ValueTypes; 4 | using System.Collections.Generic; 5 | using AXSharp.Connector.Localizations; 6 | using AXSharp.Abstractions.Presentation; -------------------------------------------------------------------------------- /templates/working/templates/axsharpconsole/.config/dotnet-tools.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "isRoot": true, 4 | "tools": { 5 | "AXSharp.ixc": { 6 | "version": "0.19.0-alpha.203", 7 | "commands": [ 8 | "ixc" 9 | ] 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /src/AXSharp.compiler/src/ixd/tests/samples/ax/src/tabbed/weather.st: -------------------------------------------------------------------------------- 1 | NAMESPACE Layouts.Tabbed 2 | {#ix-attr:[Container(Layout.Tabs)]} 3 | {#ix-attr:[Group(GroupLayout.GroupBox)]} 4 | CLASS PUBLIC weather EXTENDS weatherBase 5 | 6 | END_CLASS 7 | END_NAMESPACE -------------------------------------------------------------------------------- /src/AXSharp.compiler/src/ixr/tests/samples/ax/src/tabbed/weather.st: -------------------------------------------------------------------------------- 1 | NAMESPACE Layouts.Tabbed 2 | {#ix-attr:[Container(Layout.Tabs)]} 3 | {#ix-attr:[Group(GroupLayout.GroupBox)]} 4 | CLASS PUBLIC weather EXTENDS weatherBase 5 | 6 | END_CLASS 7 | END_NAMESPACE -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/plt/app/src/program.st: -------------------------------------------------------------------------------- 1 | PROGRAM MyProgram 2 | VAR_EXTERNAL 3 | 4 | END_VAR 5 | 6 | VAR 7 | 8 | END_VAR 9 | 10 | VAR_TEMP 11 | 12 | END_VAR 13 | 14 | // code here 15 | ; 16 | END_PROGRAM 17 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/units/src/program.st: -------------------------------------------------------------------------------- 1 | PROGRAM MyProgram 2 | VAR_EXTERNAL 3 | 4 | END_VAR 5 | 6 | VAR 7 | 8 | END_VAR 9 | 10 | VAR_TEMP 11 | 12 | END_VAR 13 | 14 | // code here 15 | ; 16 | END_PROGRAM 17 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.ixc.Tests/samples/plt/app/src/program.st: -------------------------------------------------------------------------------- 1 | PROGRAM MyProgram 2 | VAR_EXTERNAL 3 | 4 | END_VAR 5 | 6 | VAR 7 | 8 | END_VAR 9 | 10 | VAR_TEMP 11 | 12 | END_VAR 13 | 14 | // code here 15 | ; 16 | END_PROGRAM 17 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/app/ix/.g/Onliners/configuration.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Connector; 3 | using AXSharp.Connector.ValueTypes; 4 | using System.Collections.Generic; 5 | using AXSharp.Connector.Localizations; 6 | using AXSharp.Abstractions.Presentation; -------------------------------------------------------------------------------- /src/AXSharp.examples/hello.world.console/hello.world.console.plc/AXSharp.config.json: -------------------------------------------------------------------------------- 1 | {"OutputProjectFolder":"ix","UseBase":false,"NoDependencyUpdate":false,"IgnoreS7Pragmas":false,"SkipDependencyCompilation":false,"TargetPlatfromMoniker":"ax","ProjectFile":"hello_world_console_plc.csproj"} -------------------------------------------------------------------------------- /src/AXSharp.tools/tests/AXSharp.nuget.update.Tests/samples/dotnet-tools.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "isRoot": true, 4 | "tools": { 5 | "AXSharp.ixc": { 6 | "version": "0.6.4-alpha.40", 7 | "commands": [ 8 | "ixc" 9 | ] 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-blazor/Pages/_Host.cshtml: -------------------------------------------------------------------------------- 1 | @page "/" 2 | @namespace ix_integration_blazor.Pages 3 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers 4 | @{ 5 | Layout = "_Layout"; 6 | } 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/IxBlazor.App/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | }, 9 | "AllowedHosts": "*" 10 | } 11 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ax-blazor-example/src/stTestNested.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | CLASS stTestNested 3 | VAR PUBLIC 4 | {#ix-attr:[Container(Layout.Wrap)]} 5 | e:INT; 6 | r44:STRING; 7 | k21:STRING; 8 | END_VAR 9 | 10 | END_CLASS -------------------------------------------------------------------------------- /src/AXSharp.compiler/src/ixd/tests/samples/ax/src/wrapped/weather.st: -------------------------------------------------------------------------------- 1 | NAMESPACE Layouts.Wrapped 2 | {#ix-attr:[Container(Layout.Wrap)]} 3 | {#ix-attr:[Group(GroupLayout.GroupBox)]} 4 | CLASS PUBLIC weather EXTENDS weatherBase 5 | 6 | END_CLASS 7 | END_NAMESPACE -------------------------------------------------------------------------------- /src/AXSharp.compiler/src/ixr/tests/samples/ax/src/wrapped/weather.st: -------------------------------------------------------------------------------- 1 | NAMESPACE Layouts.Wrapped 2 | {#ix-attr:[Container(Layout.Wrap)]} 3 | {#ix-attr:[Group(GroupLayout.GroupBox)]} 4 | CLASS PUBLIC weather EXTENDS weatherBase 5 | 6 | END_CLASS 7 | END_NAMESPACE -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/ax/.g/POCO/file_with_unsupported.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Abstractions.Presentation; 3 | using AXSharp.Connector; 4 | 5 | namespace Pocos 6 | { 7 | namespace Unsupported 8 | { 9 | } 10 | } -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/tia/.g/POCO/file_with_unsupported.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Abstractions.Presentation; 3 | using AXSharp.Connector; 4 | 5 | namespace Pocos 6 | { 7 | namespace Unsupported 8 | { 9 | } 10 | } -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/src/program.st: -------------------------------------------------------------------------------- 1 | PROGRAM MyProgram 2 | VAR_EXTERNAL 3 | 4 | END_VAR 5 | 6 | VAR 7 | 8 | END_VAR 9 | 10 | VAR_TEMP 11 | 12 | END_VAR 13 | 14 | // code here 15 | ; 16 | END_PROGRAM 17 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/plt/app/apax.yml: -------------------------------------------------------------------------------- 1 | name: "plt-app" 2 | version: 0.1.0 3 | type: app 4 | targets: 5 | - "1500" 6 | - axunit-llvm 7 | dependencies: 8 | "plt-lib": ^0.1.0 9 | "plt-lib2": ^0.1.0 10 | devDependencies: 11 | "@ax/sdk": 3.0.8 12 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/plt1/app/apax.yml: -------------------------------------------------------------------------------- 1 | name: "plt-app" 2 | version: 0.1.0 3 | type: app 4 | targets: 5 | - "1500" 6 | - axunit-llvm 7 | dependencies: 8 | "plt-lib": ^0.1.0 9 | "plt-lib2": ^0.1.0 10 | devDependencies: 11 | "@ax/sdk": 3.0.8 12 | -------------------------------------------------------------------------------- /src/tests.integrations/integrated/src/ax/src/issues/GH_ISSUE_183.st: -------------------------------------------------------------------------------- 1 | NAMESPACE GH_ISSUE_183 2 | {S7.extern=ReadWrite} 3 | CLASS GH_ISSUE_183_1 4 | VAR PUBLIC 5 | NonZeroBasedArray : ARRAY[10..30] OF BYTE; 6 | END_VAR 7 | END_CLASS 8 | END_NAMESPACE -------------------------------------------------------------------------------- /docfx/templates/custom/partials/logo.tmpl.partial: -------------------------------------------------------------------------------- 1 | {{!Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.}} 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/AXSharp.abstractions/.cr/user/Editor/Painting/Code Metrics.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | MaintenanceComplexity 5 | 6 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/src/ixd/tests/docfx/docfx_project/index.md: -------------------------------------------------------------------------------- 1 | # This is the **HOMEPAGE**. 2 | Refer to [Markdown](http://daringfireball.net/projects/markdown/) for how to write markdown files. 3 | ## Quick Start Notes: 4 | 1. Add images to the *images* folder if the file is referencing an image. 5 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/src/ixd/tests/samples/ax/src/stacked/weather.st: -------------------------------------------------------------------------------- 1 | NAMESPACE Layouts.Stacked 2 | {#ix-attr:[Container(Layout.Stack)]} 3 | {#ix-attr:[Group(GroupLayout.GroupBox)]} 4 | CLASS PUBLIC weather EXTENDS weatherBase 5 | 6 | END_CLASS 7 | END_NAMESPACE -------------------------------------------------------------------------------- /src/AXSharp.compiler/src/ixr/tests/samples/ax/src/stacked/weather.st: -------------------------------------------------------------------------------- 1 | NAMESPACE Layouts.Stacked 2 | {#ix-attr:[Container(Layout.Stack)]} 3 | {#ix-attr:[Group(GroupLayout.GroupBox)]} 4 | CLASS PUBLIC weather EXTENDS weatherBase 5 | 6 | END_CLASS 7 | END_NAMESPACE -------------------------------------------------------------------------------- /src/AXSharp.tools/tests/AXSharp.nuget.update.Tests/samples/expected/dotnet-tools.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "isRoot": true, 4 | "tools": { 5 | "AXSharp.ixc": { 6 | "version": "11.11.11-alpha.50", 7 | "commands": [ 8 | "ixc" 9 | ] 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /src/AXSharp.connectors/src/AXSharp.Connector.S71500.WebAPI/.cr/personal/FavoritesList/List.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-plc/ix/.g/Onliners/configuration.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Connector; 3 | using AXSharp.Connector.ValueTypes; 4 | using System.Collections.Generic; 5 | using AXSharp.Connector.Localizations; 6 | using AXSharp.Abstractions.Presentation; 7 | using MonsterData; -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/IxBlazor.App/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "DetailedErrors": true, 3 | "Logging": { 4 | "LogLevel": { 5 | "Default": "Information", 6 | "Microsoft": "Warning", 7 | "Microsoft.Hosting.Lifetime": "Information" 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/ax/.g/Onliners/program.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Connector; 3 | using AXSharp.Connector.ValueTypes; 4 | using System.Collections.Generic; 5 | using AXSharp.Connector.Localizations; 6 | using AXSharp.Abstractions.Presentation; -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/tia/.g/Onliners/program.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Connector; 3 | using AXSharp.Connector.ValueTypes; 4 | using System.Collections.Generic; 5 | using AXSharp.Connector.Localizations; 6 | using AXSharp.Abstractions.Presentation; -------------------------------------------------------------------------------- /docfx/articles/connectors/Dummy.md: -------------------------------------------------------------------------------- 1 | # Dummy 2 | 3 | ### [API](~/api/AXSharp.Connector.DummyConnector.yml) 4 | 5 | Provides the possibility to work with PLC twins without target system. 6 | 7 | ~~~C# 8 | public static Plc { get; } = new(ConnectorAdapterBuilder.Build().CreateDummy()); 9 | ~~~ -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ComponentsExamples/_Imports.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components.Web 2 | @using AXSharp.Presentation.Blazor 3 | @using AXSharp.Presentation.Blazor.Controls.RenderableContent 4 | @using AXSharp.Presentation.Blazor.Interfaces 5 | @using AXSharp.Connector 6 | @namespace Plc 7 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/src/ixd/tests/samples/ax/src/namespacing.st: -------------------------------------------------------------------------------- 1 | NAMESPACE Outer 2 | NAMESPACE Inner 3 | CLASS PUBLIC Namespacing 4 | VAR PUBLIC 5 | NamespacingBool : BOOL; 6 | END_VAR 7 | END_CLASS 8 | END_NAMESPACE 9 | END_NAMESPACE 10 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/src/ixr/tests/samples/ax/src/namespacing.st: -------------------------------------------------------------------------------- 1 | NAMESPACE Outer 2 | NAMESPACE Inner 3 | CLASS PUBLIC Namespacing 4 | VAR PUBLIC 5 | NamespacingBool : BOOL 6 | END_VAR 7 | END_CLASS 8 | END_NAMESPACE 9 | END_NAMESPACE 10 | -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-blazor/Pages/Index.razor: -------------------------------------------------------------------------------- 1 | @page "/" 2 | 3 | Index 4 | 5 | 6 | 7 |

8 | This application has direct references to the AX# projects, aim at testing, poc, and demostration of AXSharp. 9 | It won't work outside this solution. 10 |

-------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ax-blazor-example/src/TestStructMultipleGroups.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | CLASS TestStructMultipleGroups 3 | VAR PUBLIC 4 | e:INT; 5 | {#ix-attr:[Container(Layout.Stack)]} 6 | r44:STRING; 7 | k21:STRING; 8 | END_VAR 9 | 10 | END_CLASS -------------------------------------------------------------------------------- /src/AXSharp.connectors/tests/exploring/Webserver.Api.Exploratory/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "Webserver.Api.Exploratory": { 4 | "commandName": "Project" 5 | }, 6 | "WSL": { 7 | "commandName": "WSL2", 8 | "distributionName": "" 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-plc/src/tabbed/weather.st: -------------------------------------------------------------------------------- 1 | NAMESPACE Layouts.Tabbed 2 | {#ix-attr:[Container(Layout.Tabs)]} 3 | {#ix-attr:[Group(GroupLayout.GroupBox)]} 4 | {S7.extern=ReadWrite} 5 | CLASS PUBLIC weather EXTENDS weatherBase 6 | 7 | END_CLASS 8 | END_NAMESPACE -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-plc/src/wrapped/weather.st: -------------------------------------------------------------------------------- 1 | NAMESPACE Layouts.Wrapped 2 | {#ix-attr:[Container(Layout.Wrap)]} 3 | {#ix-attr:[Group(GroupLayout.GroupBox)]} 4 | {S7.extern=ReadWrite} 5 | CLASS PUBLIC weather EXTENDS weatherBase 6 | 7 | END_CLASS 8 | END_NAMESPACE -------------------------------------------------------------------------------- /src/AXSharp.connectors/tests/ax-test-project/src/complexArrayItem.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | CLASS complexArrayItem 3 | VAR PUBLIC 4 | itemBOOL : BOOL ; 5 | itemSTRING : STRING ; 6 | itemINT : INT ; 7 | 8 | END_VAR 9 | END_CLASS -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-plc/src/stacked/weather.st: -------------------------------------------------------------------------------- 1 | NAMESPACE Layouts.Stacked 2 | {#ix-attr:[Container(Layout.Stack)]} 3 | {#ix-attr:[Group(GroupLayout.GroupBox)]} 4 | {S7.extern=ReadWrite} 5 | CLASS PUBLIC weather EXTENDS weatherBase 6 | 7 | END_CLASS 8 | END_NAMESPACE -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ax-blazor-example/src/TestStructOneGroupWithLayout.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | CLASS TestStructOneGroupWithLayout 3 | VAR PUBLIC 4 | {#ix-attr:[Container(Layout.Wrap)]} 5 | e:INT; 6 | r44:STRING; 7 | k21:STRING; 8 | END_VAR 9 | 10 | END_CLASS -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-plc/src/IO/Inputs.st: -------------------------------------------------------------------------------- 1 | NAMESPACE axosimple 2 | TYPE 3 | {S7.extern=ReadWrite} 4 | {#ix-attr:[Container(Layout.Wrap)]} 5 | Inputs : STRUCT 6 | noInputsFoundInTheHwConfig AT %B0: BYTE; 7 | END_STRUCT; 8 | END_TYPE 9 | END_NAMESPACE 10 | -------------------------------------------------------------------------------- /src/AXSharp.connectors/tests/ax-test-project/src/IO/Inputs.st: -------------------------------------------------------------------------------- 1 | NAMESPACE axosimple 2 | TYPE 3 | {S7.extern=ReadWrite} 4 | {#ix-attr:[Container(Layout.Wrap)]} 5 | Inputs : STRUCT 6 | noInputsFoundInTheHwConfig AT %B0: BYTE; 7 | END_STRUCT; 8 | END_TYPE 9 | END_NAMESPACE 10 | -------------------------------------------------------------------------------- /src/AXSharp.connectors/tests/ax-test-project/src/IO/Outputs.st: -------------------------------------------------------------------------------- 1 | NAMESPACE axosimple 2 | TYPE 3 | {S7.extern=ReadWrite} 4 | {#ix-attr:[Container(Layout.Wrap)]} 5 | Outputs : STRUCT 6 | noOutputsFoundInTheHwConfig AT %B0: BYTE; 7 | END_STRUCT; 8 | END_TYPE 9 | END_NAMESPACE 10 | -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-library/wwwroot/exampleJsInterop.js: -------------------------------------------------------------------------------- 1 | // This is a JavaScript module that is loaded on demand. It can export any number of 2 | // functions, and may import other JavaScript modules if required. 3 | 4 | export function showPrompt(message) { 5 | return prompt(message, 'Type anything here'); 6 | } 7 | -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-plc/src/IO/Outputs.st: -------------------------------------------------------------------------------- 1 | NAMESPACE axosimple 2 | TYPE 3 | {S7.extern=ReadWrite} 4 | {#ix-attr:[Container(Layout.Wrap)]} 5 | Outputs : STRUCT 6 | noOutputsFoundInTheHwConfig AT %B0: BYTE; 7 | END_STRUCT; 8 | END_TYPE 9 | END_NAMESPACE 10 | -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/src/geolocation.st: -------------------------------------------------------------------------------- 1 | {ix:[Container(Layout.Stack)]} 2 | {ix:[Group(Layout.GroupBox, "GEOLOCATION")]} 3 | CLASS GeoLocation 4 | VAR PUBLIC 5 | Latitude : REAL; 6 | Longitude : REAL; 7 | Altitude : REAL; 8 | Description : STRING; 9 | END_VAR 10 | END_CLASS -------------------------------------------------------------------------------- /src/tests.integrations/integrated/src/integrated.app/Shared/MainLayout.razor.css: -------------------------------------------------------------------------------- 1 | .page { 2 | position: relative; 3 | display: flex; 4 | flex-direction: column; 5 | } 6 | 7 | main { 8 | flex: 1; 9 | } 10 | 11 | @media (min-width: 641px) { 12 | .page { 13 | flex-direction: row; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /templates/working/templates/axsharpblazor/ax/src/configuration.st: -------------------------------------------------------------------------------- 1 | CONFIGURATION MyConfiguration 2 | TASK Main(Interval := T#10ms, Priority := 1); 3 | PROGRAM P1 WITH Main: MyProgram; 4 | 5 | VAR_GLOBAL 6 | {S7.extern=ReadWrite} 7 | counters : counters; 8 | END_VAR 9 | END_CONFIGURATION 10 | -------------------------------------------------------------------------------- /templates/working/templates/axsharpconsole/ax/src/configuration.st: -------------------------------------------------------------------------------- 1 | CONFIGURATION MyConfiguration 2 | TASK Main(Interval := T#10ms, Priority := 1); 3 | PROGRAM P1 WITH Main: MyProgram; 4 | 5 | VAR_GLOBAL 6 | {S7.extern=ReadWrite} 7 | Counter : ULINT; 8 | END_VAR 9 | END_CONFIGURATION 10 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.ixc.Tests/samples/plt/app/apax.yml: -------------------------------------------------------------------------------- 1 | name: "project-level-tests-app" 2 | version: 0.1.0 3 | type: app 4 | targets: 5 | - "1500" 6 | - axunit-llvm 7 | dependencies: 8 | "project-level-tests-lib": ^0.1.0 9 | "project-level-tests-lib2": ^0.1.0 10 | devDependencies: 11 | "@ax/sdk": 3.0.8 12 | -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/src/configuration.st: -------------------------------------------------------------------------------- 1 | CONFIGURATION MyConfiguration 2 | TASK Main(Interval := T#1000ms, Priority := 1); 3 | PROGRAM P1 WITH Main: MyProgram; 4 | 5 | VAR_GLOBAL 6 | myINT : INT; 7 | weather : weather; 8 | weathers : weathers; 9 | END_VAR 10 | END_CONFIGURATION 11 | -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/test/test.st: -------------------------------------------------------------------------------- 1 | USING AxUnit; 2 | 3 | NAMESPACE MyTest 4 | 5 | {TestFixture} 6 | CLASS MyTestFixture 7 | {Test} 8 | METHOD PUBLIC MyTestMethod 9 | Assert.Equal(actual := TRUE, expected := TRUE); 10 | END_METHOD 11 | END_CLASS 12 | 13 | END_NAMESPACE 14 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/src/AXSharp.Presentation.Blazor.Controls/Layouts/TabControlLayout.razor: -------------------------------------------------------------------------------- 1 | @using Operon.Components.Tab 2 | @inherits LayoutComponentBase 3 | 4 | 5 | @Body 6 | 7 | 8 | @code 9 | { 10 | [CascadingParameter] 11 | protected string? LayoutClass { get; set; } 12 | } -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/src/struct_simple.st: -------------------------------------------------------------------------------- 1 | TYPE 2 | {S7.extern=ReadWrite} 3 | Motor : STRUCT 4 | isRunning : BOOL; 5 | END_STRUCT; 6 | {S7.extern=ReadWrite} 7 | Vehicle : STRUCT 8 | m : Motor; 9 | displacement : INT; 10 | END_STRUCT; 11 | END_TYPE -------------------------------------------------------------------------------- /templates/working/templates/axsharpblazor/axsharpblazor.app/Shared/MainLayout.razor.css: -------------------------------------------------------------------------------- 1 | .page { 2 | position: relative; 3 | display: flex; 4 | flex-direction: column; 5 | } 6 | 7 | main { 8 | flex: 1; 9 | } 10 | 11 | @media (min-width: 641px) { 12 | .page { 13 | flex-direction: row; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /docs/styles/custom.css: -------------------------------------------------------------------------------- 1 | .text-logo{ 2 | font-weight: bold; 3 | font-size: large; 4 | margin:15px; 5 | color:-webkit-linear-gradient(#0d47a1 , #5e92f3); 6 | } 7 | 8 | .text-logo:hover{ 9 | background: -webkit-linear-gradient(#5e92f3,#0d47a1); 10 | -webkit-background-clip: text; 11 | -webkit-text-fill-color: transparent; 12 | } -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ax-blazor-example/src/CU00x.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | CLASS CU00x EXTENDS CUBase 3 | VAR PUBLIC 4 | _cuName: STRING; 5 | END_VAR 6 | END_CLASS 7 | 8 | {S7.extern=ReadWrite} 9 | CLASS CUBase 10 | VAR PUBLIC 11 | _baseName : STRING; 12 | END_VAR 13 | END_CLASS -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ax-blazor-example/src/stSimplePrimitive.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | CLASS stSimplePrimitive 3 | VAR PUBLIC 4 | {#ix-set:AttributeName = "<#Test Integer#>"} 5 | testInteger : INT; 6 | {#ix-set:AttributeName = "<#Test String#>"} 7 | testString : STRING; 8 | END_VAR 9 | END_CLASS -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/ix-blaxor-app/wwwroot/service-worker.js: -------------------------------------------------------------------------------- 1 | // In development, always fetch from the network and do not enable offline support. 2 | // This is because caching would make development more difficult (changes would not 3 | // be reflected on the first load after each change). 4 | self.addEventListener('fetch', () => { }); 5 | -------------------------------------------------------------------------------- /src/tests.integrations/integrated/src/ax/test/test.st: -------------------------------------------------------------------------------- 1 | USING AxUnit; 2 | 3 | NAMESPACE MyTest 4 | 5 | {TestFixture} 6 | CLASS MyTestFixture 7 | {Test} 8 | METHOD PUBLIC MyTestMethod 9 | Assert.Equal(actual := TRUE, expected := TRUE); 10 | END_METHOD 11 | END_CLASS 12 | 13 | END_NAMESPACE 14 | -------------------------------------------------------------------------------- /.config/dotnet-tools.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "isRoot": true, 4 | "tools": { 5 | "xmldocmd": { 6 | "version": "2.9.0", 7 | "commands": [ 8 | "xmldocmd" 9 | ] 10 | }, 11 | "docfx": { 12 | "version": "2.77.0", 13 | "commands": [ 14 | "docfx" 15 | ] 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /src/AXSharp.compiler/src/ixd/tests/samples/ax/test/test.st: -------------------------------------------------------------------------------- 1 | USING AxUnit; 2 | 3 | NAMESPACE MyTest 4 | 5 | {TestFixture} 6 | CLASS MyTestFixture 7 | {Test} 8 | METHOD PUBLIC MyTestMethod 9 | Assert.Equal(actual := TRUE, expected := TRUE); 10 | END_METHOD 11 | END_CLASS 12 | 13 | END_NAMESPACE 14 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/src/ixr/tests/samples/ax/test/test.st: -------------------------------------------------------------------------------- 1 | USING AxUnit; 2 | 3 | NAMESPACE MyTest 4 | 5 | {TestFixture} 6 | CLASS MyTestFixture 7 | {Test} 8 | METHOD PUBLIC MyTestMethod 9 | Assert.Equal(actual := TRUE, expected := TRUE); 10 | END_METHOD 11 | END_CLASS 12 | 13 | END_NAMESPACE 14 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/units/src/class_implements_multiple.st: -------------------------------------------------------------------------------- 1 | CLASS PUBLIC _NULL_CONTEXT_MULTIPLE IMPLEMENTS IContext_Multiple, IObject_Multiple 2 | 3 | END_CLASS 4 | 5 | INTERFACE PUBLIC IContext_Multiple 6 | 7 | END_INTERFACE 8 | 9 | INTERFACE PUBLIC IObject_Multiple 10 | 11 | END_INTERFACE -------------------------------------------------------------------------------- /src/AXSharp.connectors/tests/ax-test-project/test/test.st: -------------------------------------------------------------------------------- 1 | USING AxUnit; 2 | 3 | NAMESPACE MyTest 4 | 5 | {TestFixture} 6 | CLASS MyTestFixture 7 | {Test} 8 | METHOD PUBLIC MyTestMethod 9 | Assert.Equal(actual := TRUE, expected := TRUE); 10 | END_METHOD 11 | END_CLASS 12 | 13 | END_NAMESPACE 14 | -------------------------------------------------------------------------------- /templates/working/templates/axsharpblazor/ax/src/program.st: -------------------------------------------------------------------------------- 1 | PROGRAM MyProgram 2 | VAR_EXTERNAL 3 | counters : counters; 4 | END_VAR 5 | counters.wrap.RunCounter(); 6 | counters.stack.RunCounter(); 7 | counters.grid.RunCounter(); 8 | counters.tabs.RunCounter(); 9 | END_PROGRAM 10 | -------------------------------------------------------------------------------- /templates/working/templates/axsharpblazor/ax/test/test.st: -------------------------------------------------------------------------------- 1 | USING AxUnit; 2 | 3 | NAMESPACE MyTest 4 | 5 | {TestFixture} 6 | CLASS MyTestFixture 7 | {Test} 8 | METHOD PUBLIC MyTestMethod 9 | Assert.Equal(actual := TRUE, expected := TRUE); 10 | END_METHOD 11 | END_CLASS 12 | 13 | END_NAMESPACE 14 | -------------------------------------------------------------------------------- /templates/working/templates/axsharpconsole/ax/test/test.st: -------------------------------------------------------------------------------- 1 | USING AxUnit; 2 | 3 | NAMESPACE MyTest 4 | 5 | {TestFixture} 6 | CLASS MyTestFixture 7 | {Test} 8 | METHOD PUBLIC MyTestMethod 9 | Assert.Equal(actual := TRUE, expected := TRUE); 10 | END_METHOD 11 | END_CLASS 12 | 13 | END_NAMESPACE 14 | -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-blazor/Pages/Pollings/Polling.cs: -------------------------------------------------------------------------------- 1 | using ix_integration_plc; 2 | using AXSharp.Connector; 3 | 4 | namespace ix_integration_blazor.Pages.Pollings 5 | { 6 | public partial class Polling : IDisposable 7 | { 8 | public void Dispose() 9 | { 10 | 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /docfx/templates/custom/styles/custom.css: -------------------------------------------------------------------------------- 1 | .text-logo{ 2 | font-weight: bold; 3 | font-size: large; 4 | margin:15px; 5 | color:-webkit-linear-gradient(#0d47a1 , #5e92f3); 6 | } 7 | 8 | .text-logo:hover{ 9 | background: -webkit-linear-gradient(#5e92f3,#0d47a1); 10 | -webkit-background-clip: text; 11 | -webkit-text-fill-color: transparent; 12 | } -------------------------------------------------------------------------------- /src/AXSharp.blazor/src/AXSharp.Presentation.Blazor.Controls/Layouts/StackPanelLayout.razor: -------------------------------------------------------------------------------- 1 | @inherits LayoutComponentBase 2 | 3 |
4 | @Body 5 |
6 | 7 | @code 8 | { 9 | [CascadingParameter] 10 | protected string? LayoutClass { get; set; } 11 | } 12 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/src/AXSharp.Presentation.Blazor.Controls/Layouts/WrapPanelLayout.razor: -------------------------------------------------------------------------------- 1 | @inherits LayoutComponentBase 2 | 3 |
4 | @Body 5 |
6 | 7 | @code 8 | { 9 | [CascadingParameter] 10 | protected string? LayoutClass { get; set; } 11 | } -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ComponentsExamples/TcoIxObjectBaseView/TcoIxObjectView.razor: -------------------------------------------------------------------------------- 1 | @namespace ax_blazor_example 2 | @inherits RenderableComplexComponentBase 3 |

TcoObjectView BASE

4 | 5 | @code { 6 | 7 | public override void ConfigurePolling() 8 | { 9 | StartPolling(this.Component); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-blazor/Shared/TopRow.razor.css: -------------------------------------------------------------------------------- 1 | .top-row { 2 | background-color: #f7f7f7; 3 | border-bottom: 1px solid #d6d5d5; 4 | height: 3.5rem; 5 | display: flex; 6 | align-items: center; 7 | } 8 | 9 | @media (max-width: 769px) { 10 | .IAmHereIndicator { 11 | display: none; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ax-blazor-example/src/stComplex.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | CLASS stComplex 3 | VAR PUBLIC 4 | {#ix-set:AttributeName = "<#Integer From PLC#>"} 5 | stComplexInteger : INT; 6 | {#ix-set:AttributeName = "<#String From PLC#>"} 7 | stComplexString : STRING; 8 | END_VAR 9 | 10 | END_CLASS -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.ixc.Tests/samples/plt/app/test/test.st: -------------------------------------------------------------------------------- 1 | USING AxUnit; 2 | 3 | NAMESPACE MyTest 4 | 5 | {TestFixture} 6 | CLASS MyTestFixture 7 | {Test} 8 | METHOD PUBLIC MyTestMethod 9 | Assert.Equal(actual := TRUE, expected := TRUE); 10 | END_METHOD 11 | END_CLASS 12 | 13 | END_NAMESPACE 14 | -------------------------------------------------------------------------------- /src/AXSharp.examples/hello.world.console/hello.world.console.plc/src/program.st: -------------------------------------------------------------------------------- 1 | PROGRAM MyProgram 2 | VAR_EXTERNAL 3 | Counter : ULINT; 4 | HelloWorld : STRING; 5 | END_VAR 6 | 7 | Counter := Counter + ULINT#1; 8 | IF(HelloWorld = 'RESET-COUNTER') THEN 9 | Counter := ULINT#0; 10 | END_IF; 11 | END_PROGRAM 12 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/ax/.g/Onliners/file_with_unsupported.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Connector; 3 | using AXSharp.Connector.ValueTypes; 4 | using System.Collections.Generic; 5 | using AXSharp.Connector.Localizations; 6 | using AXSharp.Abstractions.Presentation; 7 | 8 | namespace Unsupported 9 | { 10 | } -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/tia/.g/Onliners/file_with_unsupported.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Connector; 3 | using AXSharp.Connector.ValueTypes; 4 | using System.Collections.Generic; 5 | using AXSharp.Connector.Localizations; 6 | using AXSharp.Abstractions.Presentation; 7 | 8 | namespace Unsupported 9 | { 10 | } -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/plt/app/test/test.st: -------------------------------------------------------------------------------- 1 | USING AxUnit; 2 | 3 | NAMESPACE MyTest 4 | 5 | {TestFixture} 6 | CLASS MyTestFixture 7 | {Test} 8 | METHOD PUBLIC MyTestMethod 9 | Assert.Equal(actual := TRUE, expected := TRUE); 10 | END_METHOD 11 | END_CLASS 12 | 13 | END_NAMESPACE 14 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/units/test/test.st: -------------------------------------------------------------------------------- 1 | USING AxUnit; 2 | 3 | NAMESPACE MyTest 4 | 5 | {TestFixture} 6 | CLASS MyTestFixture 7 | {Test} 8 | METHOD PUBLIC MyTestMethod 9 | Assert.Equal(actual := TRUE, expected := TRUE); 10 | END_METHOD 11 | END_CLASS 12 | 13 | END_NAMESPACE 14 | -------------------------------------------------------------------------------- /src/AXSharp.examples/hello.world.console/hello.world.console.plc/test/test.st: -------------------------------------------------------------------------------- 1 | USING AxUnit; 2 | 3 | NAMESPACE MyTest 4 | 5 | {TestFixture} 6 | CLASS MyTestFixture 7 | {Test} 8 | METHOD PUBLIC MyTestMethod 9 | Assert.Equal(actual := TRUE, expected := TRUE); 10 | END_METHOD 11 | END_CLASS 12 | 13 | END_NAMESPACE 14 | -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/ix-blaxor/Data/WeatherForecast.cs: -------------------------------------------------------------------------------- 1 | namespace ix_blaxor.Data; 2 | 3 | public class WeatherForecast 4 | { 5 | public DateTime Date { get; set; } 6 | 7 | public int TemperatureC { get; set; } 8 | 9 | public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); 10 | 11 | public string? Summary { get; set; } 12 | } 13 | -------------------------------------------------------------------------------- /templates/working/templates/axsharpblazor/axsharpblazor.app/Shared/MainLayout.razor: -------------------------------------------------------------------------------- 1 | @inherits LayoutComponentBase 2 | 3 | ix-draft-blazor 4 | 5 |
6 |
7 | 8 |
9 | @Body 10 |
11 |
12 | 13 |
-------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/ix/.g/POCO/configuration.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace ax_blazor_1.Pocos 4 | { 5 | public partial class ax_blazor_1 6 | { 7 | public Int16 myINT { get; set; } 8 | 9 | public weather weather { get; set; } = new weather(); 10 | public weathers weathers { get; set; } = new weathers(); 11 | } 12 | } -------------------------------------------------------------------------------- /templates/working/templates/axsharpblazor/axsharpblazor.app/Shared/TopRow.razor: -------------------------------------------------------------------------------- 1 |
2 | 3 | 4 | 5 | 6 |
7 | 8 |
9 |
10 | 11 |
12 |
-------------------------------------------------------------------------------- /src/AXSharp-L3-tests_WebApi.slnf: -------------------------------------------------------------------------------- 1 | { 2 | "solution": { 3 | "path": "AXSharp.sln", 4 | "projects": [ 5 | "AXSharp.connectors\\tests\\AXSharp.Connector.Sax.WebAPITests\\AXSharp.Connector.S71500.WebAPITests.csproj", 6 | "AXSharp.connectors\\tests\\exploring\\Webserver.Api.Exploratory\\Webserver.Api.Exploratory.csproj", 7 | ] 8 | } 9 | } -------------------------------------------------------------------------------- /src/AXSharp.blazor/src/AXSharp.Presentation.Blazor.Controls/Templates/Base/Online/Control/OnlinerLTimeControlView.razor: -------------------------------------------------------------------------------- 1 | @namespace AXSharp.Presentation.Blazor.Controls.Templates 2 | @inherits TemplateBaseOnline 3 | 4 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/src/AXSharp.Presentation.Blazor.Controls/Templates/Base/Online/Display/OnlinerLTimeDisplayView.razor: -------------------------------------------------------------------------------- 1 | @namespace AXSharp.Presentation.Blazor.Controls.Templates 2 | @inherits TemplateBaseOnline 3 | 4 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/IxBlazor.App/Pages/MultipleLayouts.razor: -------------------------------------------------------------------------------- 1 | @page "/multiplelayouts" 2 |

MultipleLayouts

3 | 4 | 5 | 6 | 7 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ax-blazor-example/apax.yml: -------------------------------------------------------------------------------- 1 | name: "ax-blazor-example" 2 | version: 0.0.0 3 | type: app 4 | targets: 5 | - "1500" 6 | - llvm 7 | devDependencies: 8 | "@ax/sdk": 2504.0.0-rc.2 9 | scripts: 10 | ixc: 11 | - dotnet run --project 12 | ..\\..\\..\\..\\AXSharp.compiler\\src\\ixc\\AXSharp.ixc.csproj --framework 13 | net10.0 14 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ax-blazor-example/src/stTest.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | CLASS stTest 3 | VAR PUBLIC 4 | p1:INT; 5 | p2:INT; 6 | stTest3Struct: stTest3; 7 | DateVar2: DATE; 8 | complexInstanceNested : stComplex := (stComplexInteger := 13, stComplexString := 'hello nested'); 9 | END_VAR 10 | 11 | END_CLASS -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ax-blazor-example/src/stTest2.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | CLASS stTest2 3 | VAR 4 | testVarString: STRING; 5 | testVarInt: INT; 6 | instanceOfstTest3: stTest3; 7 | arr1 : ARRAY [0..2] OF stTest := [(p1 := 445, p2 := 446),(p1 := 152, p2 := 100),(p1 := 121,p2 := 338)]; 8 | END_VAR 9 | 10 | END_CLASS -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/src/class_implements_multiple.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | CLASS PUBLIC _NULL_CONTEXT_MULTIPLE IMPLEMENTS IContext_Multiple, IObject_Multiple 3 | 4 | END_CLASS 5 | 6 | INTERFACE PUBLIC IContext_Multiple 7 | 8 | END_INTERFACE 9 | 10 | INTERFACE PUBLIC IObject_Multiple 11 | 12 | END_INTERFACE -------------------------------------------------------------------------------- /src/AXSharp.connectors/tests/ax-test-project/src/complexArrayItemNested.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | CLASS complexArrayItemNested 3 | VAR PUBLIC 4 | nesteditemBOOL : BOOL ; 5 | nesteditemSTRING : STRING ; 6 | nesteditemINT : INT ; 7 | nestedComplex: complexArrayItem; 8 | END_VAR 9 | END_CLASS -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-plc/build.ps1: -------------------------------------------------------------------------------- 1 | dotnet run --project ..\..\..\AXSharp.compiler\src\ixc\AXSharp.ixc.csproj --framework net7.0 2 | $targetIP = [Environment]::GetEnvironmentVariable('AXTARGET') 3 | $targetInput = [Environment]::GetEnvironmentVariable('AXTARGETPLATFORMINPUT') 4 | apax build 5 | apax sld load --accept-security-disclaimer -t $targetIP -i $targetInput -r -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-plc/test/test.st: -------------------------------------------------------------------------------- 1 | USING AxUnit; 2 | 3 | NAMESPACE MyTest 4 | 5 | {TestFixture} 6 | {S7.extern=ReadWrite} 7 | CLASS MyTestFixture 8 | {Test} 9 | METHOD PUBLIC MyTestMethod 10 | Assert.Equal(actual := TRUE, expected := TRUE); 11 | END_METHOD 12 | END_CLASS 13 | 14 | END_NAMESPACE 15 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/src/AXSharp.Presentation.Blazor.Controls/Layouts/GroupBoxLayout.razor: -------------------------------------------------------------------------------- 1 | @inherits LayoutComponentBase 2 | 3 |
4 |

@GroupName

5 |
6 | @Body 7 |
8 |
9 | 10 | @code { 11 | [Parameter] 12 | public string GroupName { get; set; } 13 | } -------------------------------------------------------------------------------- /src/AXSharp.blazor/src/AXSharp.Presentation.Blazor.Controls/Layouts/UniformGridLayout.razor: -------------------------------------------------------------------------------- 1 | @inherits LayoutComponentBase 2 | 3 |
4 | @Body 5 |
6 | 7 | @code 8 | { 9 | [CascadingParameter] 10 | protected string? LayoutClass { get; set; } 11 | } -------------------------------------------------------------------------------- /src/AXSharp.blazor/src/AXSharp.Presentation.Blazor.Controls/Templates/Base/Online/Control/OnlinerLDateTimeControlView.razor: -------------------------------------------------------------------------------- 1 | @namespace AXSharp.Presentation.Blazor.Controls.Templates 2 | @inherits TemplateBaseOnline 3 | 4 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/src/AXSharp.Presentation.Blazor.Controls/Templates/Base/Online/Display/OnlinerLDateTimeDisplayView.razor: -------------------------------------------------------------------------------- 1 | @namespace AXSharp.Presentation.Blazor.Controls.Templates 2 | @inherits TemplateBaseOnline 3 | 4 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ax-blazor-example/test/test.st: -------------------------------------------------------------------------------- 1 | USING AxUnit; 2 | 3 | NAMESPACE MyTest 4 | 5 | {TestFixture} 6 | {S7.extern=ReadWrite} 7 | CLASS MyTestFixture 8 | {Test} 9 | METHOD PUBLIC MyTestMethod 10 | Assert.Equal(actual := TRUE, expected := TRUE); 11 | END_METHOD 12 | END_CLASS 13 | 14 | END_NAMESPACE 15 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/actual/app/test/test.st: -------------------------------------------------------------------------------- 1 | USING AxUnit; 2 | 3 | NAMESPACE MyTest 4 | 5 | {TestFixture} 6 | {S7.extern=ReadWrite} 7 | CLASS MyTestFixture 8 | {Test} 9 | METHOD PUBLIC MyTestMethod 10 | Assert.Equal(actual := TRUE, expected := TRUE); 11 | END_METHOD 12 | END_CLASS 13 | 14 | END_NAMESPACE 15 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/src/AXSharp.Presentation.Blazor.Controls/Templates/Base/Online/Control/OnlinerLTimeOfDayControlView.razor: -------------------------------------------------------------------------------- 1 | @namespace AXSharp.Presentation.Blazor.Controls.Templates 2 | @inherits TemplateBaseOnline 3 | 4 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/src/AXSharp.Presentation.Blazor.Controls/Templates/Base/Online/Display/OnlinerLTimeOfDayDisplayView.razor: -------------------------------------------------------------------------------- 1 | @namespace AXSharp.Presentation.Blazor.Controls.Templates 2 | @inherits TemplateBaseOnline 3 | 4 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/src/AXSharp.Presentation.Blazor.Controls/Templates/Base/Shadow/Control/OnlinerLTimeShadowControlView.razor: -------------------------------------------------------------------------------- 1 | @namespace AXSharp.Presentation.Blazor.Controls.Templates 2 | @inherits TemplateBaseShadow 3 | 4 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/src/AXSharp.Presentation.Blazor.Controls/Templates/Base/Shadow/Display/OnlinerLTimeShadowDisplayView.razor: -------------------------------------------------------------------------------- 1 | @namespace AXSharp.Presentation.Blazor.Controls.Templates 2 | @inherits TemplateBaseShadow 3 | 4 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/src/AXSharp.Compiler/Core/eCommAccessibility.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace AXSharp.Compiler.Core 8 | { 9 | public enum eCommAccessibility 10 | { 11 | None, 12 | ReadWrite, 13 | ReadOnly, 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/ax/.g/POCO/simple_empty_class.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Abstractions.Presentation; 3 | using AXSharp.Connector; 4 | 5 | namespace Pocos 6 | { 7 | public partial class simple_class : AXSharp.Connector.IPlain 8 | { 9 | public simple_class() 10 | { 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/tia/.g/POCO/simple_empty_class.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Abstractions.Presentation; 3 | using AXSharp.Connector; 4 | 5 | namespace Pocos 6 | { 7 | public partial class simple_class : AXSharp.Connector.IPlain 8 | { 9 | public simple_class() 10 | { 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/app/test/test.st: -------------------------------------------------------------------------------- 1 | USING AxUnit; 2 | 3 | NAMESPACE MyTest 4 | 5 | {TestFixture} 6 | {S7.extern=ReadWrite} 7 | CLASS MyTestFixture 8 | {Test} 9 | METHOD PUBLIC MyTestMethod 10 | Assert.Equal(actual := TRUE, expected := TRUE); 11 | END_METHOD 12 | END_CLASS 13 | 14 | END_NAMESPACE 15 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/plt/lib/src/library.st: -------------------------------------------------------------------------------- 1 | NAMESPACE MyLibrary 2 | 3 | CLASS PUBLIC MyClass 4 | VAR PUBLIC 5 | 6 | END_VAR 7 | 8 | VAR PRIVATE 9 | 10 | END_VAR 11 | 12 | METHOD PUBLIC MyMethod : BOOL 13 | MyMethod := FALSE; 14 | END_METHOD 15 | END_CLASS 16 | 17 | END_NAMESPACE 18 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/units/src/class_with_complex_members.st: -------------------------------------------------------------------------------- 1 | NAMESPACE ClassWithComplexTypesNamespace 2 | CLASS PUBLIC ClassWithComplexTypes 3 | VAR PUBLIC 4 | myComplexType : ComplexType1; 5 | END_VAR 6 | END_CLASS 7 | 8 | CLASS PUBLIC ComplexType1 9 | 10 | END_CLASS 11 | END_NAMESPACE -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.ixc.Tests/samples/plt/lib/src/library.st: -------------------------------------------------------------------------------- 1 | NAMESPACE MyLibrary 2 | 3 | CLASS PUBLIC MyClass 4 | VAR PUBLIC 5 | 6 | END_VAR 7 | 8 | VAR PRIVATE 9 | 10 | END_VAR 11 | 12 | METHOD PUBLIC MyMethod : BOOL 13 | MyMethod := FALSE; 14 | END_METHOD 15 | END_CLASS 16 | 17 | END_NAMESPACE 18 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.ixc.Tests/samples/plt/lib2/src/library.st: -------------------------------------------------------------------------------- 1 | NAMESPACE MyLibrary 2 | 3 | CLASS PUBLIC MyClass 4 | VAR PUBLIC 5 | 6 | END_VAR 7 | 8 | VAR PRIVATE 9 | 10 | END_VAR 11 | 12 | METHOD PUBLIC MyMethod : BOOL 13 | MyMethod := FALSE; 14 | END_METHOD 15 | END_CLASS 16 | 17 | END_NAMESPACE 18 | -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-blazor/Pages/Test.razor: -------------------------------------------------------------------------------- 1 | @page "/Test" 2 | 3 | Rendering 4 | 5 | 7 | 8 | 10 | 11 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | ## Code of Conduct 2 | 3 | We do not adopt any document describing conduct at this point. 4 | 5 | However, there are a few straightforward rules to observe: 6 | 7 | 1. Treat others as you would like others to treat you. 8 | 1. Everyone is free to express ideas. 9 | 1. Truth is more important than kindness, but be kind. 10 | 1. Your contributions are under MIT license. 11 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/src/AXSharp.Presentation.Blazor.Controls/Templates/Base/Shadow/Control/OnlinerLDateTimeShadowControlView.razor: -------------------------------------------------------------------------------- 1 | @namespace AXSharp.Presentation.Blazor.Controls.Templates 2 | @inherits TemplateBaseShadow 3 | 4 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/src/AXSharp.Presentation.Blazor.Controls/Templates/Base/Shadow/Control/OnlinerLTimeOfDayShadowControlView.razor: -------------------------------------------------------------------------------- 1 | @namespace AXSharp.Presentation.Blazor.Controls.Templates 2 | @inherits TemplateBaseShadow 3 | 4 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/src/AXSharp.Presentation.Blazor.Controls/Templates/Base/Shadow/Display/OnlinerLDateTimeShadowDisplayView.razor: -------------------------------------------------------------------------------- 1 | @namespace AXSharp.Presentation.Blazor.Controls.Templates 2 | @inherits TemplateBaseShadow 3 | 4 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/src/AXSharp.Presentation.Blazor.Controls/Templates/Base/Shadow/Display/OnlinerLTimeOfDayShadowDisplayView.razor: -------------------------------------------------------------------------------- 1 | @namespace AXSharp.Presentation.Blazor.Controls.Templates 2 | @inherits TemplateBaseShadow 3 | 4 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/ax/.g/Onliners/enum_simple.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Connector; 3 | using AXSharp.Connector.ValueTypes; 4 | using System.Collections.Generic; 5 | using AXSharp.Connector.Localizations; 6 | using AXSharp.Abstractions.Presentation; 7 | 8 | public enum Colors 9 | { 10 | Red, 11 | Green, 12 | Blue 13 | } -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/test/test.st: -------------------------------------------------------------------------------- 1 | USING AxUnit; 2 | 3 | NAMESPACE MyTest 4 | 5 | {TestFixture} 6 | {S7.extern=ReadWrite} 7 | CLASS MyTestFixture 8 | {Test} 9 | METHOD PUBLIC MyTestMethod 10 | Assert.Equal(actual := TRUE, expected := TRUE); 11 | END_METHOD 12 | END_CLASS 13 | 14 | END_NAMESPACE 15 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/plt/lib2/src/library.st: -------------------------------------------------------------------------------- 1 | NAMESPACE MyLibrary 2 | 3 | CLASS PUBLIC MyClass 4 | VAR PUBLIC 5 | 6 | END_VAR 7 | 8 | VAR PRIVATE 9 | 10 | END_VAR 11 | 12 | METHOD PUBLIC MyMethod : BOOL 13 | MyMethod := FALSE; 14 | END_METHOD 15 | END_CLASS 16 | 17 | END_NAMESPACE 18 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/plt/lib3/src/library.st: -------------------------------------------------------------------------------- 1 | NAMESPACE MyLibrary 2 | 3 | CLASS PUBLIC MyClass 4 | VAR PUBLIC 5 | 6 | END_VAR 7 | 8 | VAR PRIVATE 9 | 10 | END_VAR 11 | 12 | METHOD PUBLIC MyMethod : BOOL 13 | MyMethod := FALSE; 14 | END_METHOD 15 | END_CLASS 16 | 17 | END_NAMESPACE 18 | -------------------------------------------------------------------------------- /src/tests.integrations/integrated/src/integrated.twin/.g/Onliners/dataswapping/myEnum.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Connector; 3 | using AXSharp.Connector.ValueTypes; 4 | using System.Collections.Generic; 5 | using AXSharp.Connector.Localizations; 6 | using AXSharp.Abstractions.Presentation; 7 | 8 | public enum myEnum 9 | { 10 | Unknown, 11 | Available, 12 | UnAvailable 13 | } -------------------------------------------------------------------------------- /src/AXSharp-L3-tests_Integration.slnf: -------------------------------------------------------------------------------- 1 | { 2 | "solution": { 3 | "path": "AXSharp.sln", 4 | "projects": [ 5 | "tests.integrations\\integrated\\src\\integrated.app\\integrated.hmi.csproj", 6 | "tests.integrations\\integrated\\src\\integrated.twin\\integrated.csproj", 7 | "tests.integrations\\integrated\\tests\\integrated.tests\\integrated.tests.csproj" 8 | ] 9 | } 10 | } -------------------------------------------------------------------------------- /src/AXSharp.compiler/src/ixd/tests/samples/ax/build.ps1: -------------------------------------------------------------------------------- 1 | dotnet run --project ..\..\..\AXSharp.compiler\src\ixc\AXSharp.ixc.csproj --framework net7.0 2 | $targetIP = [Environment]::GetEnvironmentVariable('AXTARGET') 3 | $targetInput = [Environment]::GetEnvironmentVariable('AXTARGETPLATFORMINPUT') 4 | apax build 5 | apax sld --accept-security-disclaimer -t $targetIP -i $targetInput -r --default-server-interface -------------------------------------------------------------------------------- /src/AXSharp.compiler/src/ixr/tests/samples/ax/build.ps1: -------------------------------------------------------------------------------- 1 | dotnet run --project ..\..\..\AXSharp.compiler\src\ixc\AXSharp.ixc.csproj --framework net7.0 2 | $targetIP = [Environment]::GetEnvironmentVariable('AXTARGET') 3 | $targetInput = [Environment]::GetEnvironmentVariable('AXTARGETPLATFORMINPUT') 4 | apax build 5 | apax sld --accept-security-disclaimer -t $targetIP -i $targetInput -r --default-server-interface -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/ax/.g/POCO/class_internal.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Abstractions.Presentation; 3 | using AXSharp.Connector; 4 | 5 | namespace Pocos 6 | { 7 | internal partial class ClassWithComplexTypes : AXSharp.Connector.IPlain 8 | { 9 | public ClassWithComplexTypes() 10 | { 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/tia/.g/Onliners/enum_simple.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Connector; 3 | using AXSharp.Connector.ValueTypes; 4 | using System.Collections.Generic; 5 | using AXSharp.Connector.Localizations; 6 | using AXSharp.Abstractions.Presentation; 7 | 8 | public enum Colors 9 | { 10 | Red, 11 | Green, 12 | Blue 13 | } -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/actual/app/src/configuration.st: -------------------------------------------------------------------------------- 1 | CONFIGURATION MyConfiguration 2 | TASK Main(Interval := T#1000ms, Priority := 1); 3 | PROGRAM P1 WITH Main: MyProgram; 4 | 5 | VAR_GLOBAL 6 | {S7.extern=ReadWrite} 7 | lib1_MyClass : lib1.MyClass; 8 | {S7.extern=ReadWrite} 9 | lib2_MyClass : lib2.MyClass; 10 | END_VAR 11 | END_CONFIGURATION 12 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/app/src/configuration.st: -------------------------------------------------------------------------------- 1 | CONFIGURATION MyConfiguration 2 | TASK Main(Interval := T#1000ms, Priority := 1); 3 | PROGRAM P1 WITH Main: MyProgram; 4 | 5 | VAR_GLOBAL 6 | {S7.extern=ReadWrite} 7 | lib1_MyClass : lib1.MyClass; 8 | {S7.extern=ReadWrite} 9 | lib2_MyClass : lib2.MyClass; 10 | END_VAR 11 | END_CONFIGURATION 12 | -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-plc/ix/.g/Onliners/test/enumStationStatus.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Connector; 3 | using AXSharp.Connector.ValueTypes; 4 | using System.Collections.Generic; 5 | using AXSharp.Connector.Localizations; 6 | using AXSharp.Abstractions.Presentation; 7 | 8 | public enum enumStationStatus 9 | { 10 | Unknown, 11 | Available, 12 | UnAvailable 13 | } -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/tia/.g/POCO/class_internal.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Abstractions.Presentation; 3 | using AXSharp.Connector; 4 | 5 | namespace Pocos 6 | { 7 | internal partial class ClassWithComplexTypes : AXSharp.Connector.IPlain 8 | { 9 | public ClassWithComplexTypes() 10 | { 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/src/weather.st: -------------------------------------------------------------------------------- 1 | CLASS weather 2 | VAR PUBLIC 3 | Temperature : REAL; 4 | Humidity : REAL; 5 | Location : STRING; 6 | HeyMan : STRING; 7 | GeoLocation : GeoLocation; 8 | END_VAR 9 | END_CLASS 10 | 11 | CLASS weathers 12 | VAR PUBLIC 13 | i : ARRAY[0..10] OF weather; 14 | END_VAR 15 | END_CLASS -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/ax/.g/POCO/class_no_access_modifier.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Abstractions.Presentation; 3 | using AXSharp.Connector; 4 | 5 | namespace Pocos 6 | { 7 | public partial class NoAccessModifierClass : AXSharp.Connector.IPlain 8 | { 9 | public NoAccessModifierClass() 10 | { 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/tia/.g/POCO/class_no_access_modifier.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Abstractions.Presentation; 3 | using AXSharp.Connector; 4 | 5 | namespace Pocos 6 | { 7 | public partial class NoAccessModifierClass : AXSharp.Connector.IPlain 8 | { 9 | public NoAccessModifierClass() 10 | { 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /src/tests.integrations/integrated/src/integrated.app/Pages/UI/ManualUI.razor: -------------------------------------------------------------------------------- 1 | @page "/ui/manualui" 2 | @inherits RenderableComponentBase 3 | 4 |

Control

5 | 6 |
7 | 8 |
9 | 10 | @code 11 | { 12 | public override void ConfigurePolling() 13 | { 14 | 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/units/src/ref_to_simple.st: -------------------------------------------------------------------------------- 1 | NAMESPACE RefToSimple 2 | CLASS ref_to_simple 3 | VAR PUBLIC 4 | a : REF_TO INT; 5 | b : REF_TO referenced; 6 | END_VAR 7 | END_CLASS 8 | 9 | CLASS referenced 10 | VAR PUBLIC 11 | b : INT; 12 | END_VAR 13 | END_CLASS 14 | END_NAMESPACE -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/ix/.g/POCO/geolocation.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace ax_blazor_1.Pocos 4 | { 5 | public partial class GeoLocation 6 | { 7 | public Single Latitude { get; set; } 8 | 9 | public Single Longitude { get; set; } 10 | 11 | public Single Altitude { get; set; } 12 | 13 | public string Description { get; set; } = string.Empty; 14 | } 15 | } -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/ix/Entry.cs: -------------------------------------------------------------------------------- 1 | using AXSharp.Connector; 2 | 3 | public static class Entry 4 | { 5 | public static ax_blazor_1.ax_blazor_1 Plc 6 | { 7 | get 8 | { 9 | return new ax_blazor_1.ax_blazor_1(new ConnectorAdapter(typeof(DummyConnectorFactory)), new object[]{"192.168.0.1", "Everybody", ""}); 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/units/src/class_extends_and_implements.st: -------------------------------------------------------------------------------- 1 | CLASS PUBLIC ExtendsAndImplements EXTENDS ExtendeeExtendsAndImplements IMPLEMENTS IImplementation1, IImplementation2 2 | 3 | END_CLASS 4 | 5 | CLASS PUBLIC ExtendeeExtendsAndImplements 6 | 7 | END_CLASS 8 | 9 | INTERFACE PUBLIC IImplementation1 END_INTERFACE 10 | INTERFACE PUBLIC IImplementation2 END_INTERFACE -------------------------------------------------------------------------------- /src/AXSharp.examples/hello.world.console/hello.world.console.plc/src/configuration.st: -------------------------------------------------------------------------------- 1 | CONFIGURATION MyConfiguration 2 | TASK Main(Interval := T#1000ms, Priority := 1); 3 | PROGRAM P1 WITH Main: MyProgram; 4 | 5 | VAR_GLOBAL 6 | {S7.extern=ReadWrite} 7 | Counter : ULINT; 8 | {S7.extern=ReadWrite} 9 | HelloWorld : STRING := 'Hello world'; 10 | END_VAR 11 | END_CONFIGURATION 12 | -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-blazor/Shared/MainLayout.razor: -------------------------------------------------------------------------------- 1 | @inherits LayoutComponentBase 2 | 3 | ix-integration-blazor 4 | 5 |
6 | 9 | 10 |
11 | 12 | 13 |
14 | @Body 15 |
16 |
17 |
18 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/AXSharp.builder.slnf: -------------------------------------------------------------------------------- 1 | { 2 | "solution": { 3 | "path": "..\\AXSharp.sln", 4 | "projects": [ 5 | "AXSharp.builder\\src\\AXSharp.Compiler\\AXSharp.Compiler.csproj", 6 | "AXSharp.builder\\src\\AXSharp.Cs.Compiler\\AXSharp.Compiler.Cs.csproj", 7 | "AXSharp.builder\\src\\ixc\\ixc.csproj", 8 | "AXSharp.builder\\tests\\AXSharp.CompilerTests\\AXSharp.CompilerTests.csproj" 9 | ] 10 | } 11 | } -------------------------------------------------------------------------------- /src/AXSharp.connectors/tests/ax-test-project/go.ps1: -------------------------------------------------------------------------------- 1 | $targetIP = [Environment]::GetEnvironmentVariable('AX_WEBAPI_TARGET') 2 | $targetInput = [Environment]::GetEnvironmentVariable('AXTARGETPLATFORMINPUT') 3 | $targetIP 4 | $targetInput 5 | apax install 6 | apax build 7 | #apax sld --accept-security-disclaimer -t $targetIP -i $targetInput -r --default-server-interface 8 | #apax sld load -t $targetIP -i $targetInput -r --accept-security-disclaimer 9 | -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-plc/ix/.g/POCO/tabbed/weather.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Abstractions.Presentation; 3 | using AXSharp.Connector; 4 | 5 | namespace Pocos 6 | { 7 | namespace Layouts.Tabbed 8 | { 9 | public partial class weather : weatherBase, AXSharp.Connector.IPlain 10 | { 11 | public weather() : base() 12 | { 13 | } 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /Directory.Build.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | net10.0 4 | 7 | 8 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ComponentsExamples/StTest3ManualView/StTest3ManualView.razor: -------------------------------------------------------------------------------- 1 | @namespace ax_blazor_example 2 | @inherits RenderableViewModelComponentBase 3 |

StTest3ManualView

4 | 5 | 6 | 7 | 8 | @code { 9 | 10 | public override void ConfigurePolling() 11 | { 12 | StartPolling(this.ViewModel.Component); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-plc/ix/.g/POCO/stacked/weather.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Abstractions.Presentation; 3 | using AXSharp.Connector; 4 | 5 | namespace Pocos 6 | { 7 | namespace Layouts.Stacked 8 | { 9 | public partial class weather : weatherBase, AXSharp.Connector.IPlain 10 | { 11 | public weather() : base() 12 | { 13 | } 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-plc/ix/.g/POCO/wrapped/weather.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Abstractions.Presentation; 3 | using AXSharp.Connector; 4 | 5 | namespace Pocos 6 | { 7 | namespace Layouts.Wrapped 8 | { 9 | public partial class weather : weatherBase, AXSharp.Connector.IPlain 10 | { 11 | public weather() : base() 12 | { 13 | } 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /src/tests.integrations/integrated/src/integrated.app/Shared/MainLayout.razor: -------------------------------------------------------------------------------- 1 | @inherits LayoutComponentBase 2 | 3 | ix-draft-blazor 4 | 5 |
6 |
7 | 8 |
9 | 10 |
11 | 12 |
13 | @Body 14 |
15 |
16 |
-------------------------------------------------------------------------------- /src/AXSharp.compiler/src/ixr/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "WSL": { 4 | "commandName": "WSL2", 5 | "distributionName": "" 6 | }, 7 | "Profile 1": { 8 | "commandName": "Project" 9 | }, 10 | "app-withref": { 11 | "commandName": "Project", 12 | "workingDirectory": "c:\\W\\Develop\\gh\\inxton\\simatic-ax\\axopen.templates\\axopen.template.simple\\ax\\" 13 | } 14 | } 15 | } -------------------------------------------------------------------------------- /src/AXSharp.tools/src/AXSharp.nuget.update/AXSharp.nuget.update.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exe 5 | enable 6 | enable 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/src/class_with_complex_members.st: -------------------------------------------------------------------------------- 1 | NAMESPACE ClassWithComplexTypesNamespace 2 | {S7.extern=ReadWrite} 3 | CLASS PUBLIC ClassWithComplexTypes 4 | VAR PUBLIC 5 | myComplexType : ComplexType1; 6 | END_VAR 7 | END_CLASS 8 | 9 | {S7.extern=ReadWrite} 10 | CLASS PUBLIC ComplexType1 11 | 12 | END_CLASS 13 | END_NAMESPACE -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/units/src/types_with_property_attributes.st: -------------------------------------------------------------------------------- 1 | NAMESPACE TypesWithPropertyAttributes 2 | {#ix-prop:public string Description} 3 | {#ix-set:Description = "Some added property name value"} 4 | CLASS SomeAddedProperties 5 | VAR PUBLIC 6 | {#ix-set:AttributeName = "Pocitadlo"} 7 | Counter : INT; 8 | END_VAR 9 | END_CLASS 10 | END_NAMESPACE -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/actual/lib1/src/library.st: -------------------------------------------------------------------------------- 1 | NAMESPACE lib1 2 | {S7.extern=ReadWrite} 3 | CLASS PUBLIC MyClass 4 | VAR PUBLIC 5 | MyString : STRING; 6 | MyInt : INT; 7 | END_VAR 8 | 9 | VAR PRIVATE 10 | 11 | END_VAR 12 | 13 | METHOD PUBLIC MyMethod : BOOL 14 | MyMethod := FALSE; 15 | END_METHOD 16 | END_CLASS 17 | 18 | END_NAMESPACE 19 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/lib1/src/library.st: -------------------------------------------------------------------------------- 1 | NAMESPACE lib1 2 | {S7.extern=ReadWrite} 3 | CLASS PUBLIC MyClass 4 | VAR PUBLIC 5 | MyString : STRING; 6 | MyInt : INT; 7 | END_VAR 8 | 9 | VAR PRIVATE 10 | 11 | END_VAR 12 | 13 | METHOD PUBLIC MyMethod : BOOL 14 | MyMethod := FALSE; 15 | END_METHOD 16 | END_CLASS 17 | 18 | END_NAMESPACE 19 | -------------------------------------------------------------------------------- /src/tests.integrations/integrated/src/integrated.app/Data/ApplicationDbContext.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.AspNetCore.Identity.EntityFrameworkCore; 2 | using Microsoft.EntityFrameworkCore; 3 | 4 | namespace ix_draft_blazor.Data 5 | { 6 | public class ApplicationDbContext : IdentityDbContext 7 | { 8 | public ApplicationDbContext(DbContextOptions options) 9 | : base(options) 10 | { 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ax-blazor-example/src/TestSimple.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | CLASS TestSimple 3 | VAR PUBLIC 4 | {#ix-set:AttributeName = "A1"} 5 | Piston_A1 : STRING; 6 | {#ix-set:AttributeName = "A2"} 7 | Piston_A2 : STRING; 8 | {#ix-set:AttributeName = "A3"} 9 | Piston_A3 : STRING; 10 | {#ix-set:AttributeName = "A4"} 11 | Piston_A4 : STRING; 12 | END_VAR 13 | END_CLASS -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ax-blazor-example/src/stExample.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | CLASS stExample 3 | VAR PUBLIC 4 | {#ix-attr:[Container(Layout.Tabs)]} 5 | {#ix-attr:[Group(GroupLayout.GroupBox)]} 6 | {#ix-set:AttributeName = "Group name"} 7 | testInteger : INT; 8 | testEnum : stTestEnum; 9 | testString : STRING := 'Hello World'; 10 | testBool : BOOL; 11 | END_VAR 12 | 13 | END_CLASS -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ax-blazor-example/src/stRenderTemplateOverride.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | CLASS stRenderTemplateOverride 3 | VAR PUBLIC 4 | {#ix-set:AttributeName = "<#Test Integer#>"} 5 | testInteger : INT; 6 | {#ix-attr:[RenderTemplateOverrideAttribute("ixBlazor.App.Custom.MySimplePrimitiveTag")]} 7 | {#ix-set:AttributeName = "<#Test String#>"} 8 | testString : STRING; 9 | END_VAR 10 | END_CLASS -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/ax/.g/POCO/class_implements.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Abstractions.Presentation; 3 | using AXSharp.Connector; 4 | 5 | namespace Pocos 6 | { 7 | public partial class _NULL_CONTEXT : AXSharp.Connector.IPlain, IContext 8 | { 9 | public _NULL_CONTEXT() 10 | { 11 | } 12 | } 13 | 14 | public partial interface IContext 15 | { 16 | } 17 | } -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/actual/lib2/src/library.st: -------------------------------------------------------------------------------- 1 | NAMESPACE lib2 2 | 3 | {S7.extern=ReadWrite} 4 | CLASS PUBLIC MyClass 5 | VAR PUBLIC 6 | MyString : STRING; 7 | MyInt : INT; 8 | END_VAR 9 | 10 | VAR PRIVATE 11 | 12 | END_VAR 13 | 14 | METHOD PUBLIC MyMethod : BOOL 15 | MyMethod := FALSE; 16 | END_METHOD 17 | END_CLASS 18 | 19 | END_NAMESPACE 20 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/lib2/src/library.st: -------------------------------------------------------------------------------- 1 | NAMESPACE lib2 2 | 3 | {S7.extern=ReadWrite} 4 | CLASS PUBLIC MyClass 5 | VAR PUBLIC 6 | MyString : STRING; 7 | MyInt : INT; 8 | END_VAR 9 | 10 | VAR PRIVATE 11 | 12 | END_VAR 13 | 14 | METHOD PUBLIC MyMethod : BOOL 15 | MyMethod := FALSE; 16 | END_METHOD 17 | END_CLASS 18 | 19 | END_NAMESPACE 20 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/tia/.g/POCO/class_implements.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Abstractions.Presentation; 3 | using AXSharp.Connector; 4 | 5 | namespace Pocos 6 | { 7 | public partial class _NULL_CONTEXT : AXSharp.Connector.IPlain, IContext 8 | { 9 | public _NULL_CONTEXT() 10 | { 11 | } 12 | } 13 | 14 | public partial interface IContext 15 | { 16 | } 17 | } -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/units/src/type_named_values.st: -------------------------------------------------------------------------------- 1 | NAMESPACE NamedValuesNamespace 2 | TYPE 3 | LightColors : INT ( 4 | LRED := 12, 5 | LGREEN := 14, 6 | LBLUE := 23 7 | ); 8 | END_TYPE 9 | 10 | CLASS PUBLIC using_type_named_values 11 | VAR PUBLIC 12 | LColors : LightColors; 13 | END_VAR 14 | END_CLASS 15 | END_NAMESPACE 16 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/actual/build.ps1: -------------------------------------------------------------------------------- 1 | cd lib1 2 | dotnet run --project ..\..\..\src\ixc\AXSharp.ixc.csproj --framework net7.0 3 | dotnet build ./ix/lib1.csproj 4 | cd .. 5 | 6 | cd lib2 7 | dotnet run --project ..\..\..\src\ixc\AXSharp.ixc.csproj --framework net7.0 8 | dotnet build ./ix/lib2.csproj 9 | cd .. 10 | 11 | cd app 12 | dotnet run --project ..\..\..\..\src\ixc\AXSharp.ixc.csproj --framework net7.0 13 | dotnet build ./ix/app.csproj 14 | cd .. -------------------------------------------------------------------------------- /src/tests.integrations/integrated/src/integrated.app/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "ConnectionStrings": { 3 | "DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=aspnet-integrated.hmi-ee3150da-5237-49bc-b265-f512331ded6c;Trusted_Connection=True;MultipleActiveResultSets=true" 4 | }, 5 | "Logging": { 6 | "LogLevel": { 7 | "Default": "Information", 8 | "Microsoft.AspNetCore": "Warning" 9 | } 10 | }, 11 | "AllowedHosts": "*" 12 | } 13 | -------------------------------------------------------------------------------- /templates/working/templates/axsharpblazor/axsharpblazor.app/Data/ApplicationDbContext.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.AspNetCore.Identity.EntityFrameworkCore; 2 | using Microsoft.EntityFrameworkCore; 3 | 4 | namespace ix_draft_blazor.Data 5 | { 6 | public class ApplicationDbContext : IdentityDbContext 7 | { 8 | public ApplicationDbContext(DbContextOptions options) 9 | : base(options) 10 | { 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /templates/working/templates/axsharpconsole/axsharpconsole/axsharpconsole.app.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | Exe 4 | net10.0 5 | enable 6 | enable 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/Usings.cs: -------------------------------------------------------------------------------- 1 | // AXSharp.CompilerTests 2 | // Copyright (c) 2023 MTS spol. s r.o., and Contributors. All Rights Reserved. 3 | // Contributors: https://github.com/inxton/axsharp/graphs/contributors 4 | // See the LICENSE file in the repository root for more information. 5 | // https://github.com/inxton/axsharp/blob/dev/LICENSE 6 | // Third party licenses: https://github.com/inxton/axsharp/blob/master/notices.md 7 | 8 | global using Xunit; -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/units/src/class_with_pragmas.st: -------------------------------------------------------------------------------- 1 | NAMESPACE ClassWithPragmasNamespace 2 | {#ix-attr:[Container(Layout.Stack)]} 3 | CLASS PUBLIC ClassWithPragmas 4 | VAR PUBLIC 5 | {#ix-attr:[Container(Layout.Wrap)]} 6 | myComplexType : ComplexType1; 7 | END_VAR 8 | END_CLASS 9 | 10 | CLASS PUBLIC ComplexType1 11 | 12 | END_CLASS 13 | END_NAMESPACE -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.ixc.Tests/Usings.cs: -------------------------------------------------------------------------------- 1 | // AXSharp.ixc.Tests 2 | // Copyright (c) 2023 MTS spol. s r.o., and Contributors. All Rights Reserved. 3 | // Contributors: https://github.com/inxton/axsharp/graphs/contributors 4 | // See the LICENSE file in the repository root for more information. 5 | // https://github.com/inxton/axsharp/blob/dev/LICENSE 6 | // Third party licenses: https://github.com/inxton/axsharp/blob/master/notices.md 7 | 8 | global using Xunit; 9 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/integration/expected/build.ps1: -------------------------------------------------------------------------------- 1 | cd lib1 2 | dotnet run --project ..\..\..\src\ixc\AXSharp.ixc.csproj --framework net7.0 3 | dotnet build ./ix/lib1.csproj 4 | cd .. 5 | 6 | cd lib2 7 | dotnet run --project ..\..\..\src\ixc\AXSharp.ixc.csproj --framework net7.0 8 | dotnet build ./ix/lib2.csproj 9 | cd .. 10 | 11 | cd app 12 | dotnet run --project ..\..\..\..\src\ixc\AXSharp.ixc.csproj --framework net7.0 13 | dotnet build ./ix/app.csproj 14 | cd .. -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/IxBlazor.App/App.razor: -------------------------------------------------------------------------------- 1 | @using IxBlazor.App.Shared 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |

Sorry, there's nothing at this address.

10 |
11 |
12 |
13 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/Usings.cs: -------------------------------------------------------------------------------- 1 | // AXSharp.Compiler.CsTests 2 | // Copyright (c) 2023 MTS spol. s r.o., and Contributors. All Rights Reserved. 3 | // Contributors: https://github.com/inxton/axsharp/graphs/contributors 4 | // See the LICENSE file in the repository root for more information. 5 | // https://github.com/inxton/axsharp/blob/dev/LICENSE 6 | // Third party licenses: https://github.com/inxton/axsharp/blob/master/notices.md 7 | 8 | global using Xunit; -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/src/class_extends_and_implements.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | CLASS PUBLIC ExtendsAndImplements EXTENDS ExtendeeExtendsAndImplements IMPLEMENTS IImplementation1, IImplementation2 3 | 4 | END_CLASS 5 | 6 | {S7.extern=ReadWrite} 7 | CLASS PUBLIC ExtendeeExtendsAndImplements 8 | 9 | END_CLASS 10 | 11 | INTERFACE PUBLIC IImplementation1 END_INTERFACE 12 | INTERFACE PUBLIC IImplementation2 END_INTERFACE -------------------------------------------------------------------------------- /templates/working/templates/axsharpblazor/axsharpblazor.app/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "ConnectionStrings": { 3 | "DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=aspnet-ixsharpblazor.hmi-ee3150da-5237-49bc-b265-f512331ded6c;Trusted_Connection=True;MultipleActiveResultSets=true" 4 | }, 5 | "Logging": { 6 | "LogLevel": { 7 | "Default": "Information", 8 | "Microsoft.AspNetCore": "Warning" 9 | } 10 | }, 11 | "AllowedHosts": "*" 12 | } 13 | -------------------------------------------------------------------------------- /cake/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "WSL": { 4 | "commandName": "WSL2", 5 | "distributionName": "" 6 | }, 7 | "build": { 8 | "commandName": "Project" 9 | }, 10 | "PublishOnly": { 11 | "commandName": "Project", 12 | "commandLineArgs": "--do-publish-only --do-publish --do-publish-release", 13 | "workingDirectory": "C:\\W\\Develop\\gh\\inxton\\ax\\axsharp\\cake" 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/IxBlazor.App/Custom/MySimplePrimitiveStructDisplayView.razor: -------------------------------------------------------------------------------- 1 | @namespace ixBlazor.App.Custom 2 | @inherits RenderableComplexComponentBase 3 | @using AXSharp.Connector.ValueTypes; 4 | 5 |
6 |

Overrided My Simple Primitive Struct Display View

7 |
8 | 9 | @code 10 | { 11 | public override void ConfigurePolling() 12 | { 13 | StartPolling(this.Component); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/src/ref_to_simple.st: -------------------------------------------------------------------------------- 1 | NAMESPACE RefToSimple 2 | {S7.extern=ReadWrite} 3 | CLASS ref_to_simple 4 | VAR PUBLIC 5 | a : REF_TO INT; 6 | b : REF_TO referenced; 7 | END_VAR 8 | END_CLASS 9 | 10 | {S7.extern=ReadWrite} 11 | CLASS referenced 12 | VAR PUBLIC 13 | b : INT; 14 | END_VAR 15 | END_CLASS 16 | END_NAMESPACE -------------------------------------------------------------------------------- /src/AXSharp.connectors/tests/AXSharp.Connector.Sax.WebAPITests/Usings.cs: -------------------------------------------------------------------------------- 1 | // AXSharp.Connector.S71500.WebAPITests 2 | // Copyright (c) 2023 MTS spol. s r.o., and Contributors. All Rights Reserved. 3 | // Contributors: https://github.com/inxton/axsharp/graphs/contributors 4 | // See the LICENSE file in the repository root for more information. 5 | // https://github.com/inxton/axsharp/blob/dev/LICENSE 6 | // Third party licenses: https://github.com/inxton/axsharp/blob/master/notices.md 7 | 8 | -------------------------------------------------------------------------------- /src/tests.integrations/integrated/src/integrated.app/Pages/Index.razor.css: -------------------------------------------------------------------------------- 1 | .oi { 2 | width: 2rem; 3 | font-size: 1.1rem; 4 | vertical-align: text-top; 5 | } 6 | 7 | .oi-chevron-top { 8 | transform: rotate(0deg); 9 | transition: transform .2s linear; 10 | transform-origin: 25.3% 62%; 11 | } 12 | .oi-chevron-top.open { 13 | transform: rotate(180deg); 14 | transition: transform .2s linear; 15 | transform-origin: 25.3% 62%; 16 | } -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/IxBlazor.App/Shared/MainLayout.razor: -------------------------------------------------------------------------------- 1 | @inherits LayoutComponentBase 2 | 3 | @inject IJSRuntime JSRuntime 4 | 5 | 8 |
9 | 10 |
11 | @Body 12 |
13 |
14 | 15 | @code { 16 | protected override async Task OnAfterRenderAsync(bool firstRender) 17 | { 18 | await base.OnAfterRenderAsync(firstRender); 19 | } 20 | } -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/src/types_with_property_attributes.st: -------------------------------------------------------------------------------- 1 | NAMESPACE TypesWithPropertyAttributes 2 | {#ix-prop:public string Description} 3 | {#ix-set:Description = "Some added property name value"} 4 | {S7.extern=ReadWrite} 5 | CLASS SomeAddedProperties 6 | VAR PUBLIC 7 | {#ix-set:AttributeName = "Pocitadlo"} 8 | Counter : INT; 9 | END_VAR 10 | END_CLASS 11 | END_NAMESPACE -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/ix-blaxor-app/Shared/MainLayout.razor: -------------------------------------------------------------------------------- 1 | @inherits LayoutComponentBase 2 | 3 |
4 | 7 | 8 |
9 |
10 | About 11 |
12 | 13 |
14 | @Body 15 |
16 |
17 |
18 | -------------------------------------------------------------------------------- /templates/working/templates/axsharpblazor/axsharpblazor.app/Pages/Index.razor.css: -------------------------------------------------------------------------------- 1 | .oi { 2 | width: 2rem; 3 | font-size: 1.1rem; 4 | vertical-align: text-top; 5 | } 6 | 7 | .oi-chevron-top { 8 | transform: rotate(0deg); 9 | transition: transform .2s linear; 10 | transform-origin: 25.3% 62%; 11 | } 12 | .oi-chevron-top.open { 13 | transform: rotate(180deg); 14 | transition: transform .2s linear; 15 | transform-origin: 25.3% 62%; 16 | } -------------------------------------------------------------------------------- /src/AXSharp.blazor/src/AXSharp.Presentation.Blazor.Controls/DevSettings.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace AXSharp.Presentation.Blazor.Controls 8 | { 9 | public static class DevSettings 10 | { 11 | public static bool ShowToolTipOrHumanReadable { get; set; } = false; 12 | 13 | public static bool ShowSymbol { get; set; } = false; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/ax/.g/POCO/abstract_members.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Abstractions.Presentation; 3 | using AXSharp.Connector; 4 | 5 | namespace Pocos 6 | { 7 | public partial class AbstractMotor : AXSharp.Connector.IPlain 8 | { 9 | public AbstractMotor() 10 | { 11 | } 12 | 13 | public Boolean Run { get; set; } 14 | public Boolean ReverseDirection { get; set; } 15 | } 16 | } -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.CompilerTests/samples/units/src/array_declaration.st: -------------------------------------------------------------------------------- 1 | NAMESPACE ArrayDeclarationSimpleNamespace 2 | CLASS array_declaration_class 3 | VAR PUBLIC 4 | primitive : ARRAY[1..100] OF INT; 5 | complex : ARRAY[1..100] OF some_complex_type; 6 | END_VAR 7 | END_CLASS 8 | 9 | CLASS some_complex_type 10 | VAR 11 | 12 | END_VAR 13 | 14 | END_CLASS 15 | 16 | END_NAMESPACE -------------------------------------------------------------------------------- /src/tests.integrations/integrated/src/integrated.app/Shared/TopRow.razor: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | Logo 5 | 6 |
7 | 8 |
9 | 10 | 11 |
12 |
-------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/IxBlazor.App/Pages/DisplayPresentation.razor: -------------------------------------------------------------------------------- 1 | @page "/displaypresentation" 2 |

Display

3 | 4 | 5 | 7 | 8 |

Shadow Display

9 | @**@ 11 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ax-blazor-example/src/configuration.st: -------------------------------------------------------------------------------- 1 | CONFIGURATION MyConfiguration 2 | TASK Main(Interval := T#1000ms, Priority := 1); 3 | PROGRAM P1 WITH Main: MyProgram; 4 | 5 | VAR_GLOBAL 6 | {S7.extern=ReadWrite} 7 | testingProgram : testingProgram; 8 | {S7.extern=ReadWrite} 9 | prgWeatherStations : prgWeatherStations; 10 | {S7.extern=ReadWrite} 11 | MAINC : MAIN; 12 | END_VAR 13 | END_CONFIGURATION 14 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/tia/.g/POCO/abstract_members.g.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AXSharp.Abstractions.Presentation; 3 | using AXSharp.Connector; 4 | 5 | namespace Pocos 6 | { 7 | public partial class AbstractMotor : AXSharp.Connector.IPlain 8 | { 9 | public AbstractMotor() 10 | { 11 | } 12 | 13 | public Boolean Run { get; set; } 14 | public Boolean ReverseDirection { get; set; } 15 | } 16 | } -------------------------------------------------------------------------------- /src/AXSharp.connectors/tests/exploring/Webserver.Api.Exploratory/Webserver.Api.Exploratory.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exe 5 | 6 | enable 7 | enable 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/IxBlazor.App/_Imports.razor: -------------------------------------------------------------------------------- 1 | @using System.Net.Http 2 | @using Microsoft.AspNetCore.Authorization 3 | @using Microsoft.AspNetCore.Components.Authorization 4 | @using Microsoft.AspNetCore.Components.Forms 5 | @using Microsoft.AspNetCore.Components.Routing 6 | @using Microsoft.AspNetCore.Components.Web 7 | @using Microsoft.JSInterop 8 | @using ixBlazor.App 9 | @using AXSharp.Connector 10 | @using AXSharp.Presentation.Blazor.Controls.RenderableContent 11 | @using Plc 12 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/ax-blazor-example/src/TestLayoutOverwriting.st: -------------------------------------------------------------------------------- 1 | {S7.extern=ReadWrite} 2 | {#ix-attr:[Container(Layout.UniformGrid)]} 3 | CLASS TestLayoutOverwriting 4 | VAR PUBLIC 5 | ix_bool : BOOL; 6 | ix_int : INT; 7 | ix_string : STRING; 8 | 9 | {#ix-attr:[Container(Layout.Wrap)]} 10 | simple: TestSimple; 11 | 12 | {#ix-attr:[Container(Layout.Wrap)]} 13 | weather: prgWeatherStations; 14 | END_VAR 15 | 16 | END_CLASS -------------------------------------------------------------------------------- /src/AXSharp.connectors/tests/AXSharp.ConnectorTests/AXSharp.ConnectorTests/Usings.cs: -------------------------------------------------------------------------------- 1 | // AXSharp.ConnectorTests 2 | // Copyright (c) 2023 MTS spol. s r.o., and Contributors. All Rights Reserved. 3 | // Contributors: https://github.com/inxton/axsharp/graphs/contributors 4 | // See the LICENSE file in the repository root for more information. 5 | // https://github.com/inxton/axsharp/blob/dev/LICENSE 6 | // Third party licenses: https://github.com/inxton/axsharp/blob/master/notices.md 7 | 8 | global using Xunit; -------------------------------------------------------------------------------- /src/tests.integrations/integrated/src/integrated.app/Areas/Identity/Pages/Account/LogOut.cshtml: -------------------------------------------------------------------------------- 1 | @page 2 | @using Microsoft.AspNetCore.Identity 3 | @attribute [IgnoreAntiforgeryToken] 4 | @inject SignInManager SignInManager 5 | @functions { 6 | public async Task OnPost() 7 | { 8 | if (SignInManager.IsSignedIn(User)) 9 | { 10 | await SignInManager.SignOutAsync(); 11 | } 12 | 13 | return Redirect("~/"); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/src/type_named_values.st: -------------------------------------------------------------------------------- 1 | NAMESPACE NamedValuesNamespace 2 | TYPE 3 | LightColors : INT ( 4 | LRED := 12, 5 | LGREEN := 14, 6 | LBLUE := 23 7 | ); 8 | END_TYPE 9 | 10 | {S7.extern=ReadWrite} 11 | CLASS PUBLIC using_type_named_values 12 | VAR PUBLIC 13 | LColors : LightColors; 14 | END_VAR 15 | END_CLASS 16 | END_NAMESPACE 17 | -------------------------------------------------------------------------------- /src/sanbox/probes/ax-blazor-1/ix/ax-blazor-1.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | enable 5 | enable 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /src/AXSharp.blazor/tests/sandbox/IxBlazor.App/Pages/UniformGridWithRenderIgnore.razor: -------------------------------------------------------------------------------- 1 | @page "/uniform" 2 |

UniformGridWithRenderIgnore

3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 |

Main

13 | 15 | 16 | -------------------------------------------------------------------------------- /src/scripts/hw_compile.sh: -------------------------------------------------------------------------------- 1 | export GREEN='\033[0;32m' 2 | export RED='\033[0;31m' 3 | export YELLOW='\033[0;33m' 4 | export NC='\033[0m\r\n' # No Color+CRLF 5 | hwcc=$(apax hwc compile -i ".\hwc" -o bin/hwc/) 6 | if [[ $? -eq 0 ]]; then 7 | printf "${GREEN}Hardware configuration compiled succesfully.${NC}" 8 | exit 0 9 | else 10 | printf "${RED}The compilation of the hardware configuration has finished with an error!${NC}\n" 11 | printf "${RED}Please check the details above.${NC}\n" 12 | exit 1 13 | fi 14 | -------------------------------------------------------------------------------- /templates/working/templates/axsharpblazor/axsharpblazor.app/Areas/Identity/Pages/Account/LogOut.cshtml: -------------------------------------------------------------------------------- 1 | @page 2 | @using Microsoft.AspNetCore.Identity 3 | @attribute [IgnoreAntiforgeryToken] 4 | @inject SignInManager SignInManager 5 | @functions { 6 | public async Task OnPost() 7 | { 8 | if (SignInManager.IsSignedIn(User)) 9 | { 10 | await SignInManager.SignOutAsync(); 11 | } 12 | 13 | return Redirect("~/"); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/AXSharp.compiler/src/AXSharp.Cs.Compiler/Cs/csproj-template.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | enable 5 | enable 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /src/sanbox/integration/ix-integration-blazor/Components/MeasurementServiceView.razor: -------------------------------------------------------------------------------- 1 | @namespace MeasurementExample 2 | @inherits RenderableComplexComponentBase 3 | 4 |

IxComponentServiceView

5 | 6 |

IxBool serviceView: @Component.Min.Cyclic

7 |

IxInt serviceView: @Component.Acquired.Cyclic

8 |

IxString serviceView: @Component.Max.Cyclic

9 | 10 | @code 11 | { 12 | public override void ConfigurePolling() 13 | { 14 | StartPolling(Component); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/tests.integrations/integrated/src/ax/ix/integrated.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | enable 5 | enable 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | --------------------------------------------------------------------------------