-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #346 from ix-ax/components
Components
- Loading branch information
Showing
202 changed files
with
13,226 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"dotnet.defaultSolution": "axopencomponentskukarobotics.sln" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
## Code | ||
|
||
- [ ] Do the changes follow recomendations from [conventions](../../docfx/articles/guidelines/Conventions.md) and [component convetions](../../docfx/articles/guidelines/components.md.md)? | ||
- [ ] Does your change introduces breaking changes? | ||
- [ ] Did you consult with the maintainers the nature of the breaking changes (version bump)? | ||
|
||
|
||
## Testing | ||
|
||
- [ ] Are all changes unit-tested? | ||
- [ ] Did you change any existing test? Please describe? | ||
|
||
Changed tests | ||
--- | ||
--- | ||
|
||
- [ ] How did you test the changes? | ||
|
||
## Build | ||
|
||
- [ ] Did you change directory structure that may affect the pipeline? | ||
|
||
## Documentation | ||
|
||
- [ ] Did you update the documentation where relevant? | ||
|
||
### Changelog file updates | ||
- [ ] Did you update the [CHANGELOG](docs/CHANGELOG.md)? | ||
- [ ] Did you update the [CHANGELOG](docs/CHANGELOG.md) version according to value set in [GitVersion.yml](../../GitVersion.yml)? | ||
- [ ] Did you describe breaking changes [CHANGELOG](docs/CHANGELOG.md)? | ||
- [ ] Did you describe new features [CHANGELOG](docs/CHANGELOG.md)? | ||
- [ ] Did you describe bug fixies [CHANGELOG](docs/CHANGELOG.md)? | ||
|
||
x` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
## Code | ||
|
||
- [ ] Does code follow recomendations from [conventions](../../docfx/articles/guidelines/Conventions.md) and [component convetions](../../docfx/articles/guidelines/components.md.md)? | ||
|
||
|
||
## Testing | ||
|
||
- [ ] Are all publicly exposed members unit-tested using axunit? | ||
- [ ] Is the axunit-test coverage at min level of 60%? | ||
- [ ] Are all extended twins tested and is the coverage at min level of 60% ? | ||
- [ ] Are all extended twins tested and is the coverage at min level of 60% ? | ||
|
||
## Build | ||
|
||
- [ ] Did you add this library to [build list](../../cake/BuildContext.cs#Libraries)? | ||
- [ ] Did you add place the library in the [list](../../cake/BuildContext.cs#Libraries) past its dependencies? | ||
- [ ] Did you add this library `src` folder to [build list](../../src/AXOpen-packable-only.proj)? | ||
- [ ] Did you remove all project from the `src` folder that should not be packed? | ||
- [ ] Does the build with test level L2 passes locally? | ||
|
||
## Documentation | ||
|
||
- The documentation should be CONCISE delivering nessary information about the usage of the library. | ||
- The documentation should not explain details about internals of the library limit yourself on explaing how to use, not how it is made. Should it be necessary to explain some aspects in detail write an article instead. | ||
- Do not explain HOW the parts of the library operate but WHAT they do. | ||
- Focus on creating usable examples | ||
- Examples should not be hard-written into to documents, but referenced from the [documentation project](app), the [ComponentTemplate](docs/ComponentTemplate.md) scaffolds the document with example references to documenation project | ||
|
||
## General | ||
- [ ] Does [README.md](./docs/README.md) contain general description of the library? | ||
- [ ] Is the link to this documentation added to the [toc.yaml](../../docfx/components/toc.yml)? | ||
|
||
### CTRL README.md | ||
- [ ] Does [README.md](./ctrl/README.md) for controller contain information about apax package installation instructions? | ||
- [ ] Does [README.md](./ctrl/README.md) for controller contain link to API documentation? | ||
- [ ] Are there any additional requirement regarding usage of this package listed in this [README.md](./ctrl/README.md)? | ||
|
||
### .NET TWIN README.md | ||
- [ ] Does [README.md](./src/AXOpen.Components.Kuka.Robotics/README.md) for .NET TWIN contain information with installation instructions? | ||
- [ ] Does [README.md](./src/AXOpen.Components.Kuka.Robotics/README.md) for .NET TWIN contain link to API documentation? | ||
- [ ] Are there any additional requirement regarding usage of this nuget package listed in this [README.md](./src/AXOpen.Components.Kuka.Robotics/README.md)? | ||
|
||
### BLAZOR README.md | ||
- [ ] Does [README.md](./src/AXOpen.Components.Kuka.Robotics.blazor/README.md) contain information with installation instructions? | ||
- [ ] Does [README.md](./src/AXOpen.Components.Kuka.Robotics.blazor/README.md) contain link to API documentation? | ||
- [ ] Are there any additional requirement regarding usage of this nuget package listed in this [README.md](./src/AXOpen.Components.Kuka.Robotics/README.md)? | ||
|
||
|
||
### Components | ||
|
||
- [ ] Does [toc.yml](./docs/toc.yml) contain references to documenation to all components in this library? | ||
- [ ] Does each component in this library has single md file with examples references from the code and structured according to [ComponentTemplate.md](./docs/ComponentTemplate.md)? | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.apax | ||
.env | ||
bin | ||
|
||
obj | ||
testresult |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"OutputProjectFolder":"ix","UseBase":false,"NoDependencyUpdate":false,"IgnoreS7Pragmas":false,"ProjectFile":"app_axopen_components_kuka_robotics.csproj"} |
12 changes: 12 additions & 0 deletions
12
src/components.kuka.robotics/app/JSONREPOS/Groups/AdminGroup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"Changes": [], | ||
"RecordId": null, | ||
"DataEntityId": "AdminGroup", | ||
"Name": "AdminGroup", | ||
"Roles": [ | ||
"Administrator" | ||
], | ||
"RolesHash": "AQAAAAIAAYagAAAAEFMQB6OKJ9h2absnop3/241eQ1r0ZKSeKhZ+bKAj028Jt2GjYGXLJF/j94ExpkZt1Q==", | ||
"Created": "2023-10-03T11:15:37.5601334+02:00", | ||
"Modified": "2023-10-03T11:15:37.7766974+02:00" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
name: "app_axopen.components.kuka.robotics" | ||
version: '0.0.0-dev.0' | ||
type: app | ||
targets: | ||
- plcsim | ||
- llvm | ||
- "1500" | ||
variables: | ||
APAX_BUILD_ARGS: | ||
- "--debug" # Generate debug information for target "1500" | ||
devDependencies: | ||
"@ix-ax/ax-sdk": '0.0.0-dev.0' | ||
"@ax/sld": 2.0.5 | ||
dependencies: | ||
"@ix-ax/axopen.core": '0.0.0-dev.0' | ||
"@ix-ax/axopen.timers": '0.0.0-dev.0' | ||
"@ix-ax/axopen.abstractions": '0.0.0-dev.0' | ||
"@ix-ax/axopen.components.kuka.robotics": '0.0.0-dev.0' | ||
"@ix-ax/axopen.simatic1500": '0.0.0-dev.0' | ||
"@ax/simatic-1500-clocks": ^6.0.37 | ||
scripts: | ||
delta: | ||
- START=$(date +%s) | ||
- apax build --ignore-scripts | ||
- apax sld load --accept-security-disclaimer -t $AXTARGET -i | ||
$AXTARGETPLATFORMINPUT --mode delta | ||
- echo $(date +%D)"-"$(date +%H)":"$(date +%M)":"$(date +%S) " - Finished in | ||
:" $(expr $(date +%s) - $START) "s" | ||
download: | ||
- START=$(date +%s) | ||
- apax build --ignore-scripts | ||
- dotnet ixc | ||
- apax download_only | ||
- echo $(date +%D)"-"$(date +%H)":"$(date +%M)":"$(date +%S) " - Finished in | ||
:" $(expr $(date +%s) - $START) "s" | ||
ixc: | ||
- START=$(date +%s) | ||
- dotnet tool restore | ||
- dotnet ixc | ||
- echo "Built by ixc in :" $(expr $(date +%s) - $START) "s" | ||
download_only: | ||
- apax sld load --accept-security-disclaimer -t $AXTARGET -i | ||
$AXTARGETPLATFORMINPUT -r | ||
check+download: | | ||
if [ $AXTARGET ]; then | ||
if [ $AXTARGETPLATFORMINPUT ]; then | ||
if ping -n 1 $AXTARGET &> /dev/null; then | ||
echo "Downloading from:" $AXTARGETPLATFORMINPUT "=>" $AXTARGET | ||
apax download_only | ||
else | ||
echo "Target with IP address:" $AXTARGET "is not accessible. No download is going to be performed!!!" | ||
fi | ||
else | ||
echo "Environment variable AXTARGETPLATFORMINPUT not defined!!!" | ||
fi | ||
else | ||
echo "Environment variable AXTARGET not defined!!!" | ||
fi | ||
postbuild: | ||
- apax ixc | ||
watch: | ||
- dotnet watch --project | ||
..\\app\\ix-blazor\\AXOpen.Components.Kuka.Robotics.blazorapp.csproj | ||
fr: | ||
- ..\\..\\integrations\\scripts\\StartPlcSimAdvCli.exe | ||
- apax rr | ||
frw: | ||
- apax fr | ||
- apax watch | ||
rr: | ||
- START=$(date +%s) | ||
- apax install | ||
- apax download | ||
- echo $(date +%D)"-"$(date +%H)":"$(date +%M)":"$(date +%S) " - Finished in | ||
:" $(expr $(date +%s) - $START) "s" | ||
rrw: | ||
- apax rr | ||
- apax watch | ||
r: | ||
- apax plc-mode set stop -t $AXTARGET -y | ||
- apax plc-mode set run -t $AXTARGET -y | ||
d: | ||
- apax download | ||
do: | ||
- apax download_only | ||
dd: | ||
- apax delta | ||
installStrategy: strict | ||
apaxVersion: 3.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"Id":"app_axopen_components_kuka_robotics","Version":"0.0.0-dev.0"} |
19 changes: 19 additions & 0 deletions
19
src/components.kuka.robotics/app/ix-blazor/AXOpen.Components.Kuka.Robotics.blazorapp.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<Project Sdk="Microsoft.NET.Sdk.Web"> | ||
|
||
<PropertyGroup> | ||
|
||
<Nullable>enable</Nullable> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Packable>false</Packable> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\..\..\base\src\AXOpen.Logging\AXOpen.Logging.Serilog.csproj" /> | ||
<ProjectReference Include="..\..\..\core\src\AXOpen.Core.Blazor\axopen_core_blazor.csproj" /> | ||
<ProjectReference Include="..\..\..\data\src\repositories\Json\AXOpen.Data.Json.csproj" /> | ||
<ProjectReference Include="..\..\..\security\src\AXOpen.Security.Blazor\AXOpen.Security.Blazor.csproj" /> | ||
<ProjectReference Include="..\..\src\AXOpen.Components.Kuka.Robotics.blazor\AXOpen.Components.Kuka.Robotics.blazor.csproj" /> | ||
<ProjectReference Include="..\ix\app_axopen_components_kuka_robotics.csproj" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
@using AxOpen.Security.Service; | ||
<CascadingAuthenticationState> | ||
<Router AppAssembly="@typeof(App).Assembly" AdditionalAssemblies="new[] { typeof(BlazorSecurity).Assembly}"> | ||
<Found Context="routeData"> | ||
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" /> | ||
<FocusOnNavigate RouteData="@routeData" Selector="h1" /> | ||
</Found> | ||
<NotFound> | ||
<PageTitle>Not found</PageTitle> | ||
<LayoutView Layout="@typeof(MainLayout)"> | ||
<p role="alert">Sorry, there's nothing at this address.</p> | ||
</LayoutView> | ||
</NotFound> | ||
</Router> | ||
</CascadingAuthenticationState> |
Oops, something went wrong.