Skip to content

Commit

Permalink
Update sources (#478)
Browse files Browse the repository at this point in the history
* created a patch from
   bci-oss:VAO1SI/BAMMRDFImporter
* fixed for CI

Co-authored-by: Michael Hoffmeister <[email protected]>
  • Loading branch information
MichaelHoffmeisterFesto and festo-i40 authored Apr 22, 2022
1 parent 7e4e310 commit ded32c0
Show file tree
Hide file tree
Showing 23 changed files with 1,962 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.xaml diff
Empty file added .gitattributes.bak
Empty file.
1 change: 1 addition & 0 deletions src/AasxAmlImExport/AasxAmlImExport.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Aml.Engine" Version="1.2.2" />
<PackageReference Include="dotNetRDF" Version="2.0.0" />
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="System.Data.DataSetExtensions" Version="4.5.0" />
</ItemGroup>
Expand Down
24 changes: 24 additions & 0 deletions src/AasxBammRdfImExport/AasxBammRdfImExport.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<OutputType>Library</OutputType>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\AasxCsharpLibrary\AasxCsharpLibrary.csproj" />
<ProjectReference Include="..\AasxIntegrationBase\AasxIntegrationBase.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="dotNetRDF" Version="2.0.0" />
<PackageReference Include="JetBrains.Annotations" Version="2020.1.0" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
</ItemGroup>
<ItemGroup>
<None Update="test\Battery.ttl">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="test\Movement.ttl">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>
33 changes: 33 additions & 0 deletions src/AasxBammRdfImExport/BammRDFEntitites/Aspect.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
Copyright (c) 2021 Robert Bosch Manufacturing Solutions GmbH
Author: Monisha Macharla Vasu
This source code is licensed under the Apache License 2.0 (see LICENSE.txt).
This source code may use other Open Source software components (see LICENSE.txt).
*/

using System;
using System.Collections.Generic;
using System.Text;

namespace AasxBammRdfImExport.RDFentities
{
internal class Aspect
{
private string name;
private string preferredName;
private string description;
private string language;
private List<Property> myList = new List<Property>();



public string Name { get => name; set => name = value; }
public string PreferredName { get => preferredName; set => preferredName = value; }
public string Description { get => description; set => description = value; }
public string Language { get => language; set => language = value; }
internal List<Property> MyList { get => myList; set => myList = value; }
}
}
25 changes: 25 additions & 0 deletions src/AasxBammRdfImExport/BammRDFEntitites/Characteristics.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
Copyright (c) 2021 Robert Bosch Manufacturing Solutions GmbH
Author: Monisha Macharla Vasu
This source code is licensed under the Apache License 2.0 (see LICENSE.txt).
This source code may use other Open Source software components (see LICENSE.txt).
*/

using System;
using System.Collections.Generic;
using System.Text;

namespace AasxBammRdfImExport.RDFentities
{
class Characteristics
{
private string chracterisname; // field
private string dataType;
// Properties
public string DataType { get => dataType; set => dataType = value; }
public string Chracterisname { get => chracterisname; set => chracterisname = value; }
}
}
35 changes: 35 additions & 0 deletions src/AasxBammRdfImExport/BammRDFEntitites/Property.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/*
Copyright (c) 2021 Robert Bosch Manufacturing Solutions GmbH
Author: Monisha Macharla Vasu
This source code is licensed under the Apache License 2.0 (see LICENSE.txt).
This source code may use other Open Source software components (see LICENSE.txt).
*/

// ReSharper disable ClassNeverInstantiated.Global

using System;
using System.Collections.Generic;
using System.Text;

namespace AasxBammRdfImExport.RDFentities
{
public class Property
{
private string name;
private string preferredName;
private string description;
private string Language;
private Characteristics characteristic = new Characteristics();
private string exampleValue;
public string Name { get => name; set => name = value; }
public string PreferredName { get => preferredName; set => preferredName = value; }

public string Description { get => description; set => description = value; }
public string ExampleValue { get => exampleValue; set => exampleValue = value; }
public string Language1 { get => Language; set => Language = value; }
internal Characteristics Characteristic { get => characteristic; set => characteristic = value; }
}
}
Loading

0 comments on commit ded32c0

Please sign in to comment.