diff --git a/src/AasCore.Aas3_0/AasCore.Aas3_0.csproj b/src/AasCore.Aas3_0/AasCore.Aas3_0.csproj
deleted file mode 100644
index 96a86a8a9..000000000
--- a/src/AasCore.Aas3_0/AasCore.Aas3_0.csproj
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
- net6.0
- enable
- Debug;Release;DebugSlow
- AnyCPU
- 8
-
- AasCore.Aas3_0
- 1.0.0-rc1
- Marko Ristin
-
- An SDK for manipulating, verifying and de/serializing Asset Administration Shells.
-
- https://github.com/aas-core-works/aas-core3.0-csharp.git
- git
- Copyright (c) 2023 Marko Ristin
- https://raw.githubusercontent.com/aas-core-works/aas-core3.0-csharp/main/LICENSE
- https://github.com/aas-core-works/aas-core3.0-csharp
- aas;asset administration shell;iiot;industry internet of things;industrie 4.0;i4.0
-
-
-
-
-
diff --git a/src/AasCore.Aas3_0/Attributes/CountForHash.cs b/src/AasCore.Aas3_0/Attributes/CountForHash.cs
deleted file mode 100644
index cdc1d070e..000000000
--- a/src/AasCore.Aas3_0/Attributes/CountForHash.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-using System;
-
-namespace AasCore.Aas3_0.Attributes
-{
- ///
- /// This attribute indicates, that it should e.g. serialized in JSON.
- ///
- [AttributeUsage(AttributeTargets.Field, AllowMultiple = true)]
- public class CountForHash : Attribute
- {
- }
-}
diff --git a/src/AasCore.Aas3_0/Attributes/MetaModelName.cs b/src/AasCore.Aas3_0/Attributes/MetaModelName.cs
deleted file mode 100644
index fd2cdf3f0..000000000
--- a/src/AasCore.Aas3_0/Attributes/MetaModelName.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-namespace AasCore.Aas3_0.Attributes
-{
- ///
- /// This attribute indicates, that the field / property is searchable
- ///
- [System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple = true)]
- public class MetaModelName : System.Attribute
- {
- public string name;
- public MetaModelName(string name)
- {
- this.name = name;
- }
- }
-}
diff --git a/src/AasCore.Aas3_0/Attributes/SkipForReflection.cs b/src/AasCore.Aas3_0/Attributes/SkipForReflection.cs
deleted file mode 100644
index 3a4da8c51..000000000
--- a/src/AasCore.Aas3_0/Attributes/SkipForReflection.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-namespace AasCore.Aas3_0.Attributes
-{
- ///
- /// This attribute indicates, that the field / property shall be skipped for reflection
- /// in order to avoid cycles
- ///
- [System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple = true)]
- public class SkipForReflection : System.Attribute
- {
- }
-}
diff --git a/src/AasCore.Aas3_0/Attributes/SkipForSearch.cs b/src/AasCore.Aas3_0/Attributes/SkipForSearch.cs
deleted file mode 100644
index 55c7087a8..000000000
--- a/src/AasCore.Aas3_0/Attributes/SkipForSearch.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-namespace AasCore.Aas3_0.Attributes
-{
- ///
- /// This attribute indicates, that the field / property shall be skipped for searching, because it is not
- /// directly displayed in Package Explorer
- ///
- [System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple = true)]
- public class SkipForSearch : System.Attribute
- {
- }
-}
diff --git a/src/AasCore.Aas3_0/Attributes/TextSearchable.cs b/src/AasCore.Aas3_0/Attributes/TextSearchable.cs
deleted file mode 100644
index b869a6be8..000000000
--- a/src/AasCore.Aas3_0/Attributes/TextSearchable.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-namespace AasCore.Aas3_0.Attributes
-{
- ///
- /// This attribute indicates, that the field / property is searchable
- ///
- [System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple = true)]
- public class TextSearchable : System.Attribute
- {
- }
-}
diff --git a/src/AasCore.Aas3_0/DiaryData/DiaryDataDef.cs b/src/AasCore.Aas3_0/DiaryData/DiaryDataDef.cs
deleted file mode 100644
index 75671ff81..000000000
--- a/src/AasCore.Aas3_0/DiaryData/DiaryDataDef.cs
+++ /dev/null
@@ -1,58 +0,0 @@
-using AasCore.Aas3_0;
-using System;
-using System.Collections.Generic;
-using System.Text.Json.Serialization;
-using System.Xml.Serialization;
-
-namespace AdminShellNS.DiaryData
-{
- public class DiaryDataDef
- {
- public enum TimeStampKind { Create, Update }
-
- [XmlIgnore]
- [JsonIgnore]
- private DateTime[] _timeStamp = new DateTime[2];
-
- [XmlIgnore]
- [JsonIgnore]
- public DateTime[] TimeStamp { get { return _timeStamp; } }
-
- ///
- /// List of entries, timewise one after each other (entries are timestamped).
- /// Note: Default is Entries = null, as handling of many many AAS elements does not
- /// create additional overhead of creating empty lists. An empty list shall be avoided.
- ///
- public List Entries = null;
-
- public static void AddAndSetTimestamps(IReferable element, IAasDiaryEntry de, bool isCreate = false)
- {
- // trivial
- if (element == null || de == null || element.DiaryData == null)
- return;
-
- // add entry
- if (element.DiaryData.Entries == null)
- element.DiaryData.Entries = new List();
- element.DiaryData.Entries.Add(de);
-
- // figure out which timestamp
- var tsk = TimeStampKind.Update;
- if (isCreate)
- {
- tsk = TimeStampKind.Create;
- }
-
- // set this timestamp (and for the parents, as well)
- IDiaryData el = element;
- while (el?.DiaryData != null)
- {
- // itself
- el.DiaryData.TimeStamp[(int)tsk] = DateTime.UtcNow;
-
- // go up
- el = (el as IReferable)?.Parent as IDiaryData;
- }
- }
- }
-}
diff --git a/src/AasCore.Aas3_0/DiaryData/IAasDiaryEntry.cs b/src/AasCore.Aas3_0/DiaryData/IAasDiaryEntry.cs
deleted file mode 100644
index 52e21a920..000000000
--- a/src/AasCore.Aas3_0/DiaryData/IAasDiaryEntry.cs
+++ /dev/null
@@ -1,6 +0,0 @@
-namespace AdminShellNS.DiaryData
-{
- public interface IAasDiaryEntry
- {
- }
-}
diff --git a/src/AasCore.Aas3_0/DiaryData/IDiaryData.cs b/src/AasCore.Aas3_0/DiaryData/IDiaryData.cs
deleted file mode 100644
index 4c9c0f896..000000000
--- a/src/AasCore.Aas3_0/DiaryData/IDiaryData.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace AdminShellNS.DiaryData
-{
- public interface IDiaryData
- {
- DiaryDataDef DiaryData { get; }
- }
-}
diff --git a/src/AasCore.Aas3_0/LICENSE.txt b/src/AasCore.Aas3_0/LICENSE.txt
deleted file mode 100644
index 01f9cb5eb..000000000
--- a/src/AasCore.Aas3_0/LICENSE.txt
+++ /dev/null
@@ -1,1475 +0,0 @@
-Copyright (c) 2018-2023 Festo SE & Co. KG
-,
-author: Michael Hoffmeister
-
-Copyright (c) 2019-2021 PHOENIX CONTACT GmbH & Co. KG
-,
-author: Andreas Orzelski
-
-Copyright (c) 2019-2020 Fraunhofer IOSB-INA Lemgo,
- eine rechtlich nicht selbstaendige Einrichtung der Fraunhofer-Gesellschaft
- zur Foerderung der angewandten Forschung e.V.
-
-Copyright (c) 2020 Schneider Electric Automation GmbH
-,
-author: Marco Mendes
-
-Copyright (c) 2020 SICK AG
-
-Copyright (c) 2021 KEB Automation KG
-
-Copyright (c) 2021 Lenze SE
-author: Jonas Grote, Denis Göllner, Sebastian Bischof
-
-The AASX Package Explorer is licensed under the Apache License 2.0
-(Apache-2.0, see below).
-
-The AASX Package Explorer is a sample application for demonstration of the
-features of the Asset Administration Shell.
-The implementation uses the concepts of the document "Details of the Asset
-Administration Shell" published on www.plattform-i40.de which is licensed
-under Creative Commons CC BY-ND 3.0 DE.
-
-When using eCl@ss or IEC CDD data, please check the corresponding license
-conditions.
-
--------------------------------------------------------------------------------
-
-The components below are used in AASX Package Explorer.
-The related licenses are listed for information purposes only.
-Some licenses may only apply to their related plugins.
-
-The browser functionality is licensed under the cefSharp license (see below).
-
-The Newtonsoft.JSON serialization is licensed under the MIT License
-(MIT, see below).
-
-The QR code generation is licensed under the MIT license (MIT, see below).
-
-The Zxing.Net Dot Matrix Code (DMC) generation is licensed under
-the Apache License 2.0 (Apache-2.0, see below).
-
-The Grapevine REST server framework is licensed under Apache License 2.0
-(Apache-2.0, see below).
-
-The AutomationML.Engine is licensed under the MIT license (MIT, see below).
-
-The MQTT server and client is licensed under the MIT license (MIT, see below).
-
-The ClosedXML Excel reader/writer is licensed under the MIT license (MIT,
-see below).
-
-The CountryFlag WPF control is licensed under the Code Project Open License
-(CPOL, see below).
-
-The DocumentFormat.OpenXml SDK is licensed under the MIT license (MIT,
-see below).
-
-The ExcelNumberFormat number parser is licensed under the MIT license (MIT,
-see below).
-
-The FastMember reflection access is licensed under Apache License 2.0
-(Apache-2.0, see below).
-
-The IdentityModel OpenID client is licensed under Apache License 2.0
-(Apache-2.0, see below).
-
-The jose-jwt object signing and encryption is licensed under the
-MIT license (MIT, see below).
-
-The ExcelDataReader is licensed under the MIT license (MIT, see below).
-
-Portions copyright (c) by OPC Foundation, Inc. and licensed under the
-Reciprocal Community License (RCL, see below)
-
-The OPC UA Example Code of OPC UA Standard is licensed under the MIT license
-(MIT, see below).
-
-The MSAGL (Microsoft Automatic Graph Layout) is licensed under the MIT license
-(MIT, see below)
-
-Glob (https://www.nuget.org/packages/Glob/) is licensed under the MIT license
-(MIT, see below).
-
-The Magick.NET library is licensed under Apache License 2.0
-(Apache-2.0, see below).
-
-The SSharp.NET library (https://github.com/PetroProtsyk/SSharp) is licensed
-under Apache License 2.0 (Apache-2.0, see below).
-
--------------------------------------------------------------------------------
-
-
-With respect to AASX Package Explorer
-=====================================
-
-(http://www.apache.org/licenses/LICENSE-2.0)
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
-
-With respect to cefSharp
-========================
-
-(https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE)
-
-Copyright © The CefSharp Authors. All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are
-met:
-
- * Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- * Redistributions in binary form must reproduce the above
- copyright notice, this list of conditions and the following disclaimer
- in the documentation and/or other materials provided with the
- distribution.
-
- * Neither the name of Google Inc. nor the name Chromium Embedded
- Framework nor the name CefSharp nor the names of its contributors
- may be used to endorse or promote products derived from this software
- without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-With respect to Newtonsoft.Json
-===============================
-
-(https://github.com/JamesNK/Newtonsoft.Json/blob/master/LICENSE.md)
-
-The MIT License (MIT)
-
-Copyright (c) 2007 James Newton-King
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-With respect to QRcoder
-=======================
-
-(https://github.com/codebude/QRCoder/blob/master/LICENSE.txt)
-
-The MIT License (MIT)
-
-Copyright (c) 2013-2018 Raffael Herrmann
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-With respect to ZXing.Net
-=========================
-With respect to Grapevine
-=========================
-With respect to FastMember
-==========================
-With respect to IdentityModel
-=============================
-
-(http://www.apache.org/licenses/LICENSE-2.0)
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
-
-With respect to AutomationML.Engine
-===================================
-
-(https://raw.githubusercontent.com/AutomationML/AMLEngine2.1/master/license.txt)
-
-The MIT License (MIT)
-
-Copyright 2017 AutomationML e.V.
-
-Permission is hereby granted, free of charge, to any person obtaining a
-copy of this software and associated documentation files (the "Software"),
-to deal in the Software without restriction, including without limitation
-the rights to use, copy, modify, merge, publish, distribute, sublicense,
-and/or sell copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-DEALINGS IN THE SOFTWARE.
-
-
-With respect to MQTTnet
-=======================
-
-(https://github.com/chkr1011/MQTTnet/blob/master/LICENSE)
-
-MIT License
-
-MQTTnet Copyright (c) 2016-2019 Christian Kratky
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-
-
-With resepct to ClosedXML
-=========================
-
-(https://github.com/ClosedXML/ClosedXML/blob/develop/LICENSE)
-
-MIT License
-
-Copyright (c) 2016 ClosedXML
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-
-
-With resepct to CountryFlag
-===========================
-
-(https://www.codeproject.com/Articles/190722/WPF-CountryFlag-Control)
-
-The Code Project Open License (CPOL) 1.02
-
-Copyright © 2017 Meshack Musundi
-
-Preamble
-
-This License governs Your use of the Work. This License is intended to allow
-developers to use the Source Code and Executable Files provided as part of
-the Work in any application in any form.
-
-The main points subject to the terms of the License are:
-
- Source Code and Executable Files can be used in commercial applications;
- Source Code and Executable Files can be redistributed; and
- Source Code can be modified to create derivative works.
- No claim of suitability, guarantee, or any warranty whatsoever is provided.
- The software is provided "as-is".
- The Article(s) accompanying the Work may not be distributed or republished
- without the Author's consent
-
-This License is entered between You, the individual or other entity reading or
-otherwise making use of the Work licensed pursuant to this License and the
-individual or other entity which offers the Work under the terms of this
-License ("Author").
-
-License
-
-THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS
-CODE PROJECT OPEN LICENSE ("LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT
-AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED
-UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
-
-BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HEREIN, YOU ACCEPT AND AGREE
-TO BE BOUND BY THE TERMS OF THIS LICENSE. THE AUTHOR GRANTS YOU THE RIGHTS
-CONTAINED HEREIN IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
-CONDITIONS. IF YOU DO NOT AGREE TO ACCEPT AND BE BOUND BY THE TERMS OF THIS
-LICENSE, YOU CANNOT MAKE ANY USE OF THE WORK.
-
-Definitions.
- "Articles" means, collectively, all articles written by Author which
-describes how the Source Code and Executable Files for the Work may
-be used by a user.
- "Author" means the individual or entity that offers the Work under
-the terms of this License.
- "Derivative Work" means a work based upon the Work or upon the Work
-and other pre-existing works.
- "Executable Files" refer to the executables, binary files,
-configuration and any required data files included in the Work.
- "Publisher" means the provider of the website, magazine, CD-ROM,
-DVD or other medium from or by which the Work is obtained by You.
- "Source Code" refers to the collection of source code and
-configuration files used to create the Executable Files.
- "Standard Version" refers to such a Work if it has not been modified,
-or has been modified in accordance with the consent of the Author,
-such consent being in the full discretion of the Author.
- "Work" refers to the collection of files distributed by the Publisher,
-including the Source Code, Executable Files, binaries, data files,
-documentation, whitepapers and the Articles.
- "You" is you, an individual or entity wishing to use the Work and
-exercise your rights under this License.
-
-Fair Use/Fair Use Rights. Nothing in this License is intended to reduce,
-limit, or restrict any rights arising from fair use, fair dealing,
-first sale or other limitations on the exclusive rights of the
-copyright owner under copyright law or other applicable laws.
-
-License Grant. Subject to the terms and conditions of this License, the
-Author hereby grants You a worldwide, royalty-free, non-exclusive,
-perpetual (for the duration of the applicable copyright) license
-to exercise the rights in the Work as stated below:
- You may use the standard version of the Source Code or Executable
-Files in Your own applications.
- You may apply bug fixes, portability fixes and other modifications
-obtained from the Public Domain or from the Author. A Work modified
-in such a way shall still be considered the standard version and will
-be subject to this License.
- You may otherwise modify Your copy of this Work (excluding the Articles)
-in any way to create a Derivative Work, provided that You insert a prominent
-notice in each changed file stating how, when and where You changed that file.
- You may distribute the standard version of the Executable Files and Source
-Code or Derivative Work in aggregate with other (possibly commercial)
-programs as part of a larger (possibly commercial) software distribution.
- The Articles discussing the Work published in any form by the author may
-not be distributed or republished without the Author's consent. The author
-retains copyright to any such Articles. You may use the Executable Files and
-Source Code pursuant to this License but you may not repost or republish or
-otherwise distribute or make available the Articles, without the prior written
-consent of the Author.
-
-Any subroutines or modules supplied by You and linked into the Source Code
-or Executable Files of this Work shall not be considered part of this Work
-and will not be subject to the terms of this License.
-
-Patent License. Subject to the terms and conditions of this License, each
-Author hereby grants to You a perpetual, worldwide, non-exclusive, no-charge,
-royalty-free, irrevocable (except as stated in this section) patent license
-to make, have made, use, import, and otherwise transfer the Work.
-
-Restrictions. The license granted in Section 3 above is expressly made subject
-to and limited by the following restrictions:
- You agree not to remove any of the original copyright, patent, trademark,
-and attribution notices and associated disclaimers that may appear in the
-Source Code or Executable Files.
- You agree not to advertise or in any way imply that this Work is a product
-of Your own.
- The name of the Author may not be used to endorse or promote products
-derived from the Work without the prior written consent of the Author.
- You agree not to sell, lease, or rent any part of the Work. This does
-not restrict you from including the Work or any part of the Work inside
-a larger software distribution that itself is being sold. The Work by itself,
-though, cannot be sold, leased or rented.
- You may distribute the Executable Files and Source Code only under the terms
-of this License, and You must include a copy of, or the Uniform Resource
-Identifier for, this License with every copy of the Executable Files or
-Source Code You distribute and ensure that anyone receiving such Executable
-Files and Source Code agrees that the terms of this License apply to such
-Executable Files and/or Source Code. You may not offer or impose any terms
-on the Work that alter or restrict the terms of this License or the
-recipients' exercise of the rights granted hereunder. You may not sublicense
-the Work. You must keep intact all notices that refer to this License and to
-the disclaimer of warranties. You may not distribute the Executable Files or
-Source Code with any technological measures that control access or use of the
-Work in a manner inconsistent with the terms of this License.
- You agree not to use the Work for illegal, immoral or improper
-purposes, or on pages containing illegal, immoral or improper material.
-The Work is subject to applicable export laws. You agree to comply with all
-such laws and regulations that may apply to the Work after Your receipt of
-the Work.
-
-Representations, Warranties and Disclaimer. THIS WORK IS PROVIDED "AS IS",
-"WHERE IS" AND "AS AVAILABLE", WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES OR
-CONDITIONS OR GUARANTEES. YOU, THE USER, ASSUME ALL RISK IN ITS USE,
-INCLUDING COPYRIGHT INFRINGEMENT, PATENT INFRINGEMENT, SUITABILITY, ETC.
-AUTHOR EXPRESSLY DISCLAIMS ALL EXPRESS, IMPLIED OR STATUTORY WARRANTIES
-OR CONDITIONS, INCLUDING WITHOUT LIMITATION, WARRANTIES OR CONDITIONS
-OF MERCHANTABILITY, MERCHANTABLE QUALITY OR FITNESS FOR A PARTICULAR
-PURPOSE, OR ANY WARRANTY OF TITLE OR NON-INFRINGEMENT, OR THAT THE WORK
-(OR ANY PORTION THEREOF) IS CORRECT, USEFUL, BUG-FREE OR FREE OF VIRUSES.
-YOU MUST PASS THIS DISCLAIMER ON WHENEVER YOU DISTRIBUTE THE WORK OR DERIVATIVE
-WORKS.
-
-Indemnity. You agree to defend, indemnify and hold harmless the Author and the
-Publisher from and against any claims, suits, losses, damages, liabilities,
-costs, and expenses (including reasonable legal or attorneys’ fees)
-resulting from or relating to any use of the Work by You.
-
-Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW,
-IN NO EVENT WILL THE AUTHOR OR THE PUBLISHER BE LIABLE TO YOU ON ANY LEGAL
-THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY
-DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK OR OTHERWISE,
-EVEN IF THE AUTHOR OR THE PUBLISHER HAS BEEN ADVISED OF THE POSSIBILITY
-OF SUCH DAMAGES.
-
-Termination.
- This License and the rights granted hereunder will terminate
-automatically upon any breach by You of any term of this License.
-Individuals or entities who have received Derivative Works from You under
-this License, however, will not have their licenses terminated provided such
-individuals or entities remain in full compliance with those licenses.
-Sections 1, 2, 6, 7, 8, 9, 10 and 11 will survive any termination of
-this License.
- If You bring a copyright, trademark, patent or any other infringement
-claim against any contributor over infringements You claim are made by the
-Work, your License from such contributor to the Work ends automatically.
- Subject to the above terms and conditions, this License is perpetual
-(for the duration of the applicable copyright in the Work).
-Notwithstanding the above, the Author reserves the right to release the Work
-under different license terms or to stop distributing the Work at any time;
-provided, however that any such election will not serve to withdraw this
-License (or any other license that has been, or is required to be,
-granted under the terms of this License), and this License will continue
-in full force and effect unless terminated as stated above.
-
-Publisher. The parties hereby confirm that the Publisher shall not, under
-any circumstances, be responsible for and shall not have any liability
-in respect of the subject matter of this License. The Publisher makes no
-warranty whatsoever in connection with the Work and shall not be liable
-to You or any party on any legal theory for any damages whatsoever, including
-without limitation any general, special, incidental or consequential damages
-arising in connection to this license. The Publisher reserves the right to
-cease making the Work available to You at any time without notice
-
-Miscellaneous
- This License shall be governed by the laws of the location of the head
-office of the Author or if the Author is an individual, the laws of
-location of the principal place of residence of the Author.
- If any provision of this License is invalid or unenforceable under
-applicable law, it shall not affect the validity or enforceability of the
-remainder of the terms of this License, and without further action by the
-parties to this License, such provision shall be reformed to the minimum
-extent necessary to make such provision valid and enforceable.
- No term or provision of this License shall be deemed waived and no
-breach consented to unless such waiver or consent shall be in writing
-and signed by the party to be charged with such waiver or consent.
- This License constitutes the entire agreement between the parties
-with respect to the Work licensed herein. There are no understandings,
-agreements or representations with respect to the Work not specified herein.
-The Author shall not be bound by any additional provisions that may appear
-in any communication from You. This License may not be modified without
-the mutual written agreement of the Author and You.
-
-
-With respect to DocumentFormat.OpenXml
-======================================
-
-(https://github.com/OfficeDev/Open-XML-SDK/blob/master/LICENSE)
-
-The MIT License (MIT)
-
-Copyright (c) Microsoft Corporation
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-
-
-With respect to ExcelNumberFormat
-=================================
-
-(https://github.com/andersnm/ExcelNumberFormat/blob/master/LICENSE)
-
-The MIT License (MIT)
-
-Copyright (c) 2017 andersnm
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-
-
-With respect to jose-jwt
-========================
-
-(https://github.com/dvsekhvalnov/jose-jwt/blob/master/LICENSE)
-
-The MIT License (MIT)
-
-Copyright (c) 2014-2019 dvsekhvalnov
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-With resepect to ExcelDataReader
-================================
-
-(https://github.com/ExcelDataReader/ExcelDataReader/blob/develop/LICENSE)
-
-The MIT License (MIT)
-
-Copyright (c) 2014 ExcelDataReader
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-
-
-With resepect to OPC UA Example Code
-====================================
-
- * Copyright (c) 2005-2019 The OPC Foundation, Inc. All rights reserved.
- *
- * OPC Foundation MIT License 1.00
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use,
- * copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following
- * conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- *
- * The complete license agreement can be found here:
- * http://opcfoundation.org/License/MIT/1.00/
-
-
-With respect to OPC Foundation
-==============================
-
-RCL License
-Reciprocal Community License 1.00 (RCL1.00)
-Version 1.00, June 24, 2009
-Copyright (C) 2008,2009 OPC Foundation, Inc., All Rights Reserved.
-
-https://opcfoundation.org/license/rcl.html
-
-Remark: PHOENIX CONTACT GmbH & Co. KG and Festo SE & Co. KG are members
-of OPC foundation.
-
-With respect to MSAGL (Microsoft Automatic Graph Layout)
-========================================================
-(see: https://github.com/microsoft/automatic-graph-layout/blob/master/LICENSE)
-
-Microsoft Automatic Graph Layout, MSAGL
-
-Copyright (c) Microsoft Corporation
-
-All rights reserved.
-
-MIT License
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-""Software""), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-With respect to Glob (https://www.nuget.org/packages/Glob/)
-===========================================================
-(see: https://raw.githubusercontent.com/kthompson/glob/master/LICENSE)
-
-The MIT License (MIT)
-
-Copyright (c) 2013-2019 Kevin Thompson
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-With respect to Magick.NET
-==========================
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
-With respect to SSharp.NET library
-==================================
-
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
diff --git a/src/AasCore.Aas3_0/constants.cs b/src/AasCore.Aas3_0/constants.cs
deleted file mode 100644
index 92a9f8c49..000000000
--- a/src/AasCore.Aas3_0/constants.cs
+++ /dev/null
@@ -1,198 +0,0 @@
-/*
- * This code has been automatically generated by aas-core-codegen.
- * Do NOT edit or append.
- */
-
-using System.Collections.Generic; // can't alias
-
-namespace AasCore.Aas3_0
-{
- ///
- /// Provide constant values of the meta-model.
- ///
- public static class Constants
- {
- public static readonly HashSet ValidCategoriesForDataElement = (
- new HashSet()
- {
- "CONSTANT",
- "PARAMETER",
- "VARIABLE"
- });
-
- public static readonly HashSet GenericFragmentKeys = (
- new HashSet()
- {
- KeyTypes.FragmentReference
- });
-
- public static readonly HashSet GenericGloballyIdentifiables = (
- new HashSet()
- {
- KeyTypes.GlobalReference
- });
-
- public static readonly HashSet AasIdentifiables = (
- new HashSet()
- {
- KeyTypes.AssetAdministrationShell,
- KeyTypes.ConceptDescription,
- KeyTypes.Identifiable,
- KeyTypes.Submodel
- });
-
- public static readonly HashSet AasSubmodelElementsAsKeys = (
- new HashSet()
- {
- KeyTypes.AnnotatedRelationshipElement,
- KeyTypes.BasicEventElement,
- KeyTypes.Blob,
- KeyTypes.Capability,
- KeyTypes.DataElement,
- KeyTypes.Entity,
- KeyTypes.EventElement,
- KeyTypes.File,
- KeyTypes.MultiLanguageProperty,
- KeyTypes.Operation,
- KeyTypes.Property,
- KeyTypes.Range,
- KeyTypes.ReferenceElement,
- KeyTypes.RelationshipElement,
- KeyTypes.SubmodelElement,
- KeyTypes.SubmodelElementCollection,
- KeyTypes.SubmodelElementList
- });
-
- public static readonly HashSet AasReferableNonIdentifiables = (
- new HashSet()
- {
- KeyTypes.AnnotatedRelationshipElement,
- KeyTypes.BasicEventElement,
- KeyTypes.Blob,
- KeyTypes.Capability,
- KeyTypes.DataElement,
- KeyTypes.Entity,
- KeyTypes.EventElement,
- KeyTypes.File,
- KeyTypes.MultiLanguageProperty,
- KeyTypes.Operation,
- KeyTypes.Property,
- KeyTypes.Range,
- KeyTypes.ReferenceElement,
- KeyTypes.RelationshipElement,
- KeyTypes.SubmodelElement,
- KeyTypes.SubmodelElementCollection,
- KeyTypes.SubmodelElementList
- });
-
- public static readonly HashSet AasReferables = (
- new HashSet()
- {
- KeyTypes.AssetAdministrationShell,
- KeyTypes.ConceptDescription,
- KeyTypes.Identifiable,
- KeyTypes.Submodel,
- KeyTypes.AnnotatedRelationshipElement,
- KeyTypes.BasicEventElement,
- KeyTypes.Blob,
- KeyTypes.Capability,
- KeyTypes.DataElement,
- KeyTypes.Entity,
- KeyTypes.EventElement,
- KeyTypes.File,
- KeyTypes.MultiLanguageProperty,
- KeyTypes.Operation,
- KeyTypes.Property,
- KeyTypes.Range,
- KeyTypes.ReferenceElement,
- KeyTypes.Referable,
- KeyTypes.RelationshipElement,
- KeyTypes.SubmodelElement,
- KeyTypes.SubmodelElementCollection,
- KeyTypes.SubmodelElementList
- });
-
- public static readonly HashSet GloballyIdentifiables = (
- new HashSet()
- {
- KeyTypes.GlobalReference,
- KeyTypes.AssetAdministrationShell,
- KeyTypes.ConceptDescription,
- KeyTypes.Identifiable,
- KeyTypes.Submodel
- });
-
- public static readonly HashSet FragmentKeys = (
- new HashSet()
- {
- KeyTypes.AnnotatedRelationshipElement,
- KeyTypes.BasicEventElement,
- KeyTypes.Blob,
- KeyTypes.Capability,
- KeyTypes.DataElement,
- KeyTypes.Entity,
- KeyTypes.EventElement,
- KeyTypes.File,
- KeyTypes.FragmentReference,
- KeyTypes.MultiLanguageProperty,
- KeyTypes.Operation,
- KeyTypes.Property,
- KeyTypes.Range,
- KeyTypes.ReferenceElement,
- KeyTypes.RelationshipElement,
- KeyTypes.SubmodelElement,
- KeyTypes.SubmodelElementCollection,
- KeyTypes.SubmodelElementList
- });
-
- public static readonly HashSet DataTypeIec61360ForPropertyOrValue = (
- new HashSet()
- {
- DataTypeIec61360.Date,
- DataTypeIec61360.String,
- DataTypeIec61360.StringTranslatable,
- DataTypeIec61360.IntegerMeasure,
- DataTypeIec61360.IntegerCount,
- DataTypeIec61360.IntegerCurrency,
- DataTypeIec61360.RealMeasure,
- DataTypeIec61360.RealCount,
- DataTypeIec61360.RealCurrency,
- DataTypeIec61360.Boolean,
- DataTypeIec61360.Rational,
- DataTypeIec61360.RationalMeasure,
- DataTypeIec61360.Time,
- DataTypeIec61360.Timestamp
- });
-
- public static readonly HashSet DataTypeIec61360ForReference = (
- new HashSet()
- {
- DataTypeIec61360.String,
- DataTypeIec61360.Iri,
- DataTypeIec61360.Irdi
- });
-
- public static readonly HashSet DataTypeIec61360ForDocument = (
- new HashSet()
- {
- DataTypeIec61360.File,
- DataTypeIec61360.Blob,
- DataTypeIec61360.Html
- });
-
- public static readonly HashSet Iec61360DataTypesWithUnit = (
- new HashSet()
- {
- DataTypeIec61360.IntegerMeasure,
- DataTypeIec61360.RealMeasure,
- DataTypeIec61360.RationalMeasure,
- DataTypeIec61360.IntegerCurrency,
- DataTypeIec61360.RealCurrency
- });
- } // public static class Constants
-} // namespace AasCore.Aas3_0
-
-/*
- * This code has been automatically generated by aas-core-codegen.
- * Do NOT edit or append.
- */
diff --git a/src/AasCore.Aas3_0/copying.cs b/src/AasCore.Aas3_0/copying.cs
deleted file mode 100644
index 5b06e3a47..000000000
--- a/src/AasCore.Aas3_0/copying.cs
+++ /dev/null
@@ -1,2594 +0,0 @@
-/*
- * This code has been automatically generated by aas-core-codegen.
- * Do NOT edit or append.
- */
-
-using Aas = AasCore.Aas3_0; // renamed
-using System.Collections.Generic; // can't alias
-
-namespace AasCore.Aas3_0
-{
- ///
- /// Allow for making shallow and deep copies of AAS model instances.
- ///
- public static class Copying
- {
- private static readonly ShallowCopier ShallowCopierInstance = (
- new ShallowCopier());
-
- private static readonly DeepCopier DeepCopierInstance = (
- new DeepCopier());
-
- ///
- /// Make a shallow copy of .
- ///
- ///
- /// All the properties are copied by reference. This includes also the lists.
- /// Hence, a list property is copied by reference, and not, as sometimes might be
- /// expected, as a new list of underlying references.
- /// .
- /// to be copied in a shallow manner
- /// type to cast the result to
- public static T Shallow(T that) where T : Aas.IClass
- {
- return (T)ShallowCopierInstance.Transform(that);
- }
-
- ///
- /// Make a recursively a deep copy of .
- ///
- /// to be deeply copied in a recursive manner
- /// type to cast the result to
- public static T Deep(T that) where T : Aas.IClass
- {
- return (T)DeepCopierInstance.Transform(that);
- }
-
- /// Dispatch the making of shallow copies.
- internal class ShallowCopier : Visitation.AbstractTransformer
- {
- public override Aas.IClass TransformExtension(
- Aas.IExtension that
- )
- {
- return new Aas.Extension(
- that.Name,
- that.SemanticId,
- that.SupplementalSemanticIds,
- that.ValueType,
- that.Value,
- that.RefersTo);
- }
-
- public override Aas.IClass TransformAdministrativeInformation(
- Aas.IAdministrativeInformation that
- )
- {
- return new Aas.AdministrativeInformation(
- that.EmbeddedDataSpecifications,
- that.Version,
- that.Revision,
- that.Creator,
- that.TemplateId);
- }
-
- public override Aas.IClass TransformQualifier(
- Aas.IQualifier that
- )
- {
- return new Aas.Qualifier(
- that.Type,
- that.ValueType,
- that.SemanticId,
- that.SupplementalSemanticIds,
- that.Kind,
- that.Value,
- that.ValueId);
- }
-
- public override Aas.IClass TransformAssetAdministrationShell(
- Aas.IAssetAdministrationShell that
- )
- {
- return new Aas.AssetAdministrationShell(
- that.Id,
- that.AssetInformation,
- that.Extensions,
- that.Category,
- that.IdShort,
- that.DisplayName,
- that.Description,
- that.Administration,
- that.EmbeddedDataSpecifications,
- that.DerivedFrom,
- that.Submodels);
- }
-
- public override Aas.IClass TransformAssetInformation(
- Aas.IAssetInformation that
- )
- {
- return new Aas.AssetInformation(
- that.AssetKind,
- that.GlobalAssetId,
- that.SpecificAssetIds,
- that.AssetType,
- that.DefaultThumbnail);
- }
-
- public override Aas.IClass TransformResource(
- Aas.IResource that
- )
- {
- return new Aas.Resource(that.Path, that.ContentType);
- }
-
- public override Aas.IClass TransformSpecificAssetId(
- Aas.ISpecificAssetId that
- )
- {
- return new Aas.SpecificAssetId(
- that.Name,
- that.Value,
- that.SemanticId,
- that.SupplementalSemanticIds,
- that.ExternalSubjectId);
- }
-
- public override Aas.IClass TransformSubmodel(
- Aas.ISubmodel that
- )
- {
- return new Aas.Submodel(
- that.Id,
- that.Extensions,
- that.Category,
- that.IdShort,
- that.DisplayName,
- that.Description,
- that.Administration,
- that.Kind,
- that.SemanticId,
- that.SupplementalSemanticIds,
- that.Qualifiers,
- that.EmbeddedDataSpecifications,
- that.SubmodelElements);
- }
-
- public override Aas.IClass TransformRelationshipElement(
- Aas.IRelationshipElement that
- )
- {
- return new Aas.RelationshipElement(
- that.First,
- that.Second,
- that.Extensions,
- that.Category,
- that.IdShort,
- that.DisplayName,
- that.Description,
- that.SemanticId,
- that.SupplementalSemanticIds,
- that.Qualifiers,
- that.EmbeddedDataSpecifications);
- }
-
- public override Aas.IClass TransformSubmodelElementList(
- Aas.ISubmodelElementList that
- )
- {
- return new Aas.SubmodelElementList(
- that.TypeValueListElement,
- that.Extensions,
- that.Category,
- that.IdShort,
- that.DisplayName,
- that.Description,
- that.SemanticId,
- that.SupplementalSemanticIds,
- that.Qualifiers,
- that.EmbeddedDataSpecifications,
- that.OrderRelevant,
- that.SemanticIdListElement,
- that.ValueTypeListElement,
- that.Value);
- }
-
- public override Aas.IClass TransformSubmodelElementCollection(
- Aas.ISubmodelElementCollection that
- )
- {
- return new Aas.SubmodelElementCollection(
- that.Extensions,
- that.Category,
- that.IdShort,
- that.DisplayName,
- that.Description,
- that.SemanticId,
- that.SupplementalSemanticIds,
- that.Qualifiers,
- that.EmbeddedDataSpecifications,
- that.Value);
- }
-
- public override Aas.IClass TransformProperty(
- Aas.IProperty that
- )
- {
- return new Aas.Property(
- that.ValueType,
- that.Extensions,
- that.Category,
- that.IdShort,
- that.DisplayName,
- that.Description,
- that.SemanticId,
- that.SupplementalSemanticIds,
- that.Qualifiers,
- that.EmbeddedDataSpecifications,
- that.Value,
- that.ValueId);
- }
-
- public override Aas.IClass TransformMultiLanguageProperty(
- Aas.IMultiLanguageProperty that
- )
- {
- return new Aas.MultiLanguageProperty(
- that.Extensions,
- that.Category,
- that.IdShort,
- that.DisplayName,
- that.Description,
- that.SemanticId,
- that.SupplementalSemanticIds,
- that.Qualifiers,
- that.EmbeddedDataSpecifications,
- that.Value,
- that.ValueId);
- }
-
- public override Aas.IClass TransformRange(
- Aas.IRange that
- )
- {
- return new Aas.Range(
- that.ValueType,
- that.Extensions,
- that.Category,
- that.IdShort,
- that.DisplayName,
- that.Description,
- that.SemanticId,
- that.SupplementalSemanticIds,
- that.Qualifiers,
- that.EmbeddedDataSpecifications,
- that.Min,
- that.Max);
- }
-
- public override Aas.IClass TransformReferenceElement(
- Aas.IReferenceElement that
- )
- {
- return new Aas.ReferenceElement(
- that.Extensions,
- that.Category,
- that.IdShort,
- that.DisplayName,
- that.Description,
- that.SemanticId,
- that.SupplementalSemanticIds,
- that.Qualifiers,
- that.EmbeddedDataSpecifications,
- that.Value);
- }
-
- public override Aas.IClass TransformBlob(
- Aas.IBlob that
- )
- {
- return new Aas.Blob(
- that.ContentType,
- that.Extensions,
- that.Category,
- that.IdShort,
- that.DisplayName,
- that.Description,
- that.SemanticId,
- that.SupplementalSemanticIds,
- that.Qualifiers,
- that.EmbeddedDataSpecifications,
- that.Value);
- }
-
- public override Aas.IClass TransformFile(
- Aas.IFile that
- )
- {
- return new Aas.File(
- that.ContentType,
- that.Extensions,
- that.Category,
- that.IdShort,
- that.DisplayName,
- that.Description,
- that.SemanticId,
- that.SupplementalSemanticIds,
- that.Qualifiers,
- that.EmbeddedDataSpecifications,
- that.Value);
- }
-
- public override Aas.IClass TransformAnnotatedRelationshipElement(
- Aas.IAnnotatedRelationshipElement that
- )
- {
- return new Aas.AnnotatedRelationshipElement(
- that.First,
- that.Second,
- that.Extensions,
- that.Category,
- that.IdShort,
- that.DisplayName,
- that.Description,
- that.SemanticId,
- that.SupplementalSemanticIds,
- that.Qualifiers,
- that.EmbeddedDataSpecifications,
- that.Annotations);
- }
-
- public override Aas.IClass TransformEntity(
- Aas.IEntity that
- )
- {
- return new Aas.Entity(
- that.EntityType,
- that.Extensions,
- that.Category,
- that.IdShort,
- that.DisplayName,
- that.Description,
- that.SemanticId,
- that.SupplementalSemanticIds,
- that.Qualifiers,
- that.EmbeddedDataSpecifications,
- that.Statements,
- that.GlobalAssetId,
- that.SpecificAssetIds);
- }
-
- public override Aas.IClass TransformEventPayload(
- Aas.IEventPayload that
- )
- {
- return new Aas.EventPayload(
- that.Source,
- that.ObservableReference,
- that.TimeStamp,
- that.SourceSemanticId,
- that.ObservableSemanticId,
- that.Topic,
- that.SubjectId,
- that.Payload);
- }
-
- public override Aas.IClass TransformBasicEventElement(
- Aas.IBasicEventElement that
- )
- {
- return new Aas.BasicEventElement(
- that.Observed,
- that.Direction,
- that.State,
- that.Extensions,
- that.Category,
- that.IdShort,
- that.DisplayName,
- that.Description,
- that.SemanticId,
- that.SupplementalSemanticIds,
- that.Qualifiers,
- that.EmbeddedDataSpecifications,
- that.MessageTopic,
- that.MessageBroker,
- that.LastUpdate,
- that.MinInterval,
- that.MaxInterval);
- }
-
- public override Aas.IClass TransformOperation(
- Aas.IOperation that
- )
- {
- return new Aas.Operation(
- that.Extensions,
- that.Category,
- that.IdShort,
- that.DisplayName,
- that.Description,
- that.SemanticId,
- that.SupplementalSemanticIds,
- that.Qualifiers,
- that.EmbeddedDataSpecifications,
- that.InputVariables,
- that.OutputVariables,
- that.InoutputVariables);
- }
-
- public override Aas.IClass TransformOperationVariable(
- Aas.IOperationVariable that
- )
- {
- return new Aas.OperationVariable(that.Value);
- }
-
- public override Aas.IClass TransformCapability(
- Aas.ICapability that
- )
- {
- return new Aas.Capability(
- that.Extensions,
- that.Category,
- that.IdShort,
- that.DisplayName,
- that.Description,
- that.SemanticId,
- that.SupplementalSemanticIds,
- that.Qualifiers,
- that.EmbeddedDataSpecifications);
- }
-
- public override Aas.IClass TransformConceptDescription(
- Aas.IConceptDescription that
- )
- {
- return new Aas.ConceptDescription(
- that.Id,
- that.Extensions,
- that.Category,
- that.IdShort,
- that.DisplayName,
- that.Description,
- that.Administration,
- that.EmbeddedDataSpecifications,
- that.IsCaseOf);
- }
-
- public override Aas.IClass TransformReference(
- Aas.IReference that
- )
- {
- return new Aas.Reference(
- that.Type,
- that.Keys,
- that.ReferredSemanticId);
- }
-
- public override Aas.IClass TransformKey(
- Aas.IKey that
- )
- {
- return new Aas.Key(that.Type, that.Value);
- }
-
- public override Aas.IClass TransformLangStringNameType(
- Aas.ILangStringNameType that
- )
- {
- return new Aas.LangStringNameType(that.Language, that.Text);
- }
-
- public override Aas.IClass TransformLangStringTextType(
- Aas.ILangStringTextType that
- )
- {
- return new Aas.LangStringTextType(that.Language, that.Text);
- }
-
- public override Aas.IClass TransformEnvironment(
- Aas.IEnvironment that
- )
- {
- return new Aas.Environment(
- that.AssetAdministrationShells,
- that.Submodels,
- that.ConceptDescriptions);
- }
-
- public override Aas.IClass TransformEmbeddedDataSpecification(
- Aas.IEmbeddedDataSpecification that
- )
- {
- return new Aas.EmbeddedDataSpecification(
- that.DataSpecification,
- that.DataSpecificationContent);
- }
-
- public override Aas.IClass TransformLevelType(
- Aas.ILevelType that
- )
- {
- return new Aas.LevelType(that.Min, that.Nom, that.Typ, that.Max);
- }
-
- public override Aas.IClass TransformValueReferencePair(
- Aas.IValueReferencePair that
- )
- {
- return new Aas.ValueReferencePair(that.Value, that.ValueId);
- }
-
- public override Aas.IClass TransformValueList(
- Aas.IValueList that
- )
- {
- return new Aas.ValueList(that.ValueReferencePairs);
- }
-
- public override Aas.IClass TransformLangStringPreferredNameTypeIec61360(
- Aas.ILangStringPreferredNameTypeIec61360 that
- )
- {
- return new Aas.LangStringPreferredNameTypeIec61360(
- that.Language,
- that.Text);
- }
-
- public override Aas.IClass TransformLangStringShortNameTypeIec61360(
- Aas.ILangStringShortNameTypeIec61360 that
- )
- {
- return new Aas.LangStringShortNameTypeIec61360(
- that.Language,
- that.Text);
- }
-
- public override Aas.IClass TransformLangStringDefinitionTypeIec61360(
- Aas.ILangStringDefinitionTypeIec61360 that
- )
- {
- return new Aas.LangStringDefinitionTypeIec61360(
- that.Language,
- that.Text);
- }
-
- public override Aas.IClass TransformDataSpecificationIec61360(
- Aas.IDataSpecificationIec61360 that
- )
- {
- return new Aas.DataSpecificationIec61360(
- that.PreferredName,
- that.ShortName,
- that.Unit,
- that.UnitId,
- that.SourceOfDefinition,
- that.Symbol,
- that.DataType,
- that.Definition,
- that.ValueFormat,
- that.ValueList,
- that.Value,
- that.LevelType);
- }
- } // internal class ShallowCopier
-
- /// Dispatch the making of deep copies.
- internal class DeepCopier : Visitation.AbstractTransformer
- {
- public override Aas.IClass TransformExtension(
- Aas.IExtension that
- )
- {
- List? theSupplementalSemanticIds = null;
- if (that.SupplementalSemanticIds != null)
- {
- theSupplementalSemanticIds = new List(
- that.SupplementalSemanticIds.Count);
- foreach (var item in that.SupplementalSemanticIds)
- {
- theSupplementalSemanticIds.Add(Deep(item));
- }
- }
-
- List? theRefersTo = null;
- if (that.RefersTo != null)
- {
- theRefersTo = new List(
- that.RefersTo.Count);
- foreach (var item in that.RefersTo)
- {
- theRefersTo.Add(Deep(item));
- }
- }
-
- return new Aas.Extension(
- that.Name,
- (that.SemanticId != null)
- ? Deep(that.SemanticId)
- : null,
- theSupplementalSemanticIds,
- that.ValueType,
- that.Value,
- theRefersTo
- );
- }
-
- public override Aas.IClass TransformAdministrativeInformation(
- Aas.IAdministrativeInformation that
- )
- {
- List? theEmbeddedDataSpecifications = null;
- if (that.EmbeddedDataSpecifications != null)
- {
- theEmbeddedDataSpecifications = new List(
- that.EmbeddedDataSpecifications.Count);
- foreach (var item in that.EmbeddedDataSpecifications)
- {
- theEmbeddedDataSpecifications.Add(Deep(item));
- }
- }
-
- return new Aas.AdministrativeInformation(
- theEmbeddedDataSpecifications,
- that.Version,
- that.Revision,
- (that.Creator != null)
- ? Deep(that.Creator)
- : null,
- that.TemplateId
- );
- }
-
- public override Aas.IClass TransformQualifier(
- Aas.IQualifier that
- )
- {
- List? theSupplementalSemanticIds = null;
- if (that.SupplementalSemanticIds != null)
- {
- theSupplementalSemanticIds = new List(
- that.SupplementalSemanticIds.Count);
- foreach (var item in that.SupplementalSemanticIds)
- {
- theSupplementalSemanticIds.Add(Deep(item));
- }
- }
-
- return new Aas.Qualifier(
- that.Type,
- that.ValueType,
- (that.SemanticId != null)
- ? Deep(that.SemanticId)
- : null,
- theSupplementalSemanticIds,
- that.Kind,
- that.Value,
- (that.ValueId != null)
- ? Deep(that.ValueId)
- : null
- );
- }
-
- public override Aas.IClass TransformAssetAdministrationShell(
- Aas.IAssetAdministrationShell that
- )
- {
- List? theExtensions = null;
- if (that.Extensions != null)
- {
- theExtensions = new List(
- that.Extensions.Count);
- foreach (var item in that.Extensions)
- {
- theExtensions.Add(Deep(item));
- }
- }
-
- List? theDisplayName = null;
- if (that.DisplayName != null)
- {
- theDisplayName = new List(
- that.DisplayName.Count);
- foreach (var item in that.DisplayName)
- {
- theDisplayName.Add(Deep(item));
- }
- }
-
- List? theDescription = null;
- if (that.Description != null)
- {
- theDescription = new List(
- that.Description.Count);
- foreach (var item in that.Description)
- {
- theDescription.Add(Deep(item));
- }
- }
-
- List? theEmbeddedDataSpecifications = null;
- if (that.EmbeddedDataSpecifications != null)
- {
- theEmbeddedDataSpecifications = new List(
- that.EmbeddedDataSpecifications.Count);
- foreach (var item in that.EmbeddedDataSpecifications)
- {
- theEmbeddedDataSpecifications.Add(Deep(item));
- }
- }
-
- List? theSubmodels = null;
- if (that.Submodels != null)
- {
- theSubmodels = new List(
- that.Submodels.Count);
- foreach (var item in that.Submodels)
- {
- theSubmodels.Add(Deep(item));
- }
- }
-
- return new Aas.AssetAdministrationShell(
- that.Id,
- Deep(that.AssetInformation),
- theExtensions,
- that.Category,
- that.IdShort,
- theDisplayName,
- theDescription,
- (that.Administration != null)
- ? Deep(that.Administration)
- : null,
- theEmbeddedDataSpecifications,
- (that.DerivedFrom != null)
- ? Deep(that.DerivedFrom)
- : null,
- theSubmodels
- );
- }
-
- public override Aas.IClass TransformAssetInformation(
- Aas.IAssetInformation that
- )
- {
- List? theSpecificAssetIds = null;
- if (that.SpecificAssetIds != null)
- {
- theSpecificAssetIds = new List(
- that.SpecificAssetIds.Count);
- foreach (var item in that.SpecificAssetIds)
- {
- theSpecificAssetIds.Add(Deep(item));
- }
- }
-
- return new Aas.AssetInformation(
- that.AssetKind,
- that.GlobalAssetId,
- theSpecificAssetIds,
- that.AssetType,
- (that.DefaultThumbnail != null)
- ? Deep(that.DefaultThumbnail)
- : null
- );
- }
-
- public override Aas.IClass TransformResource(
- Aas.IResource that
- )
- {
- return new Aas.Resource(
- that.Path,
- that.ContentType
- );
- }
-
- public override Aas.IClass TransformSpecificAssetId(
- Aas.ISpecificAssetId that
- )
- {
- List? theSupplementalSemanticIds = null;
- if (that.SupplementalSemanticIds != null)
- {
- theSupplementalSemanticIds = new List(
- that.SupplementalSemanticIds.Count);
- foreach (var item in that.SupplementalSemanticIds)
- {
- theSupplementalSemanticIds.Add(Deep(item));
- }
- }
-
- return new Aas.SpecificAssetId(
- that.Name,
- that.Value,
- (that.SemanticId != null)
- ? Deep(that.SemanticId)
- : null,
- theSupplementalSemanticIds,
- (that.ExternalSubjectId != null)
- ? Deep(that.ExternalSubjectId)
- : null
- );
- }
-
- public override Aas.IClass TransformSubmodel(
- Aas.ISubmodel that
- )
- {
- List? theExtensions = null;
- if (that.Extensions != null)
- {
- theExtensions = new List(
- that.Extensions.Count);
- foreach (var item in that.Extensions)
- {
- theExtensions.Add(Deep(item));
- }
- }
-
- List? theDisplayName = null;
- if (that.DisplayName != null)
- {
- theDisplayName = new List(
- that.DisplayName.Count);
- foreach (var item in that.DisplayName)
- {
- theDisplayName.Add(Deep(item));
- }
- }
-
- List? theDescription = null;
- if (that.Description != null)
- {
- theDescription = new List(
- that.Description.Count);
- foreach (var item in that.Description)
- {
- theDescription.Add(Deep(item));
- }
- }
-
- List? theSupplementalSemanticIds = null;
- if (that.SupplementalSemanticIds != null)
- {
- theSupplementalSemanticIds = new List(
- that.SupplementalSemanticIds.Count);
- foreach (var item in that.SupplementalSemanticIds)
- {
- theSupplementalSemanticIds.Add(Deep(item));
- }
- }
-
- List? theQualifiers = null;
- if (that.Qualifiers != null)
- {
- theQualifiers = new List(
- that.Qualifiers.Count);
- foreach (var item in that.Qualifiers)
- {
- theQualifiers.Add(Deep(item));
- }
- }
-
- List? theEmbeddedDataSpecifications = null;
- if (that.EmbeddedDataSpecifications != null)
- {
- theEmbeddedDataSpecifications = new List(
- that.EmbeddedDataSpecifications.Count);
- foreach (var item in that.EmbeddedDataSpecifications)
- {
- theEmbeddedDataSpecifications.Add(Deep(item));
- }
- }
-
- List? theSubmodelElements = null;
- if (that.SubmodelElements != null)
- {
- theSubmodelElements = new List(
- that.SubmodelElements.Count);
- foreach (var item in that.SubmodelElements)
- {
- theSubmodelElements.Add(Deep(item));
- }
- }
-
- return new Aas.Submodel(
- that.Id,
- theExtensions,
- that.Category,
- that.IdShort,
- theDisplayName,
- theDescription,
- (that.Administration != null)
- ? Deep(that.Administration)
- : null,
- that.Kind,
- (that.SemanticId != null)
- ? Deep(that.SemanticId)
- : null,
- theSupplementalSemanticIds,
- theQualifiers,
- theEmbeddedDataSpecifications,
- theSubmodelElements
- );
- }
-
- public override Aas.IClass TransformRelationshipElement(
- Aas.IRelationshipElement that
- )
- {
- List? theExtensions = null;
- if (that.Extensions != null)
- {
- theExtensions = new List(
- that.Extensions.Count);
- foreach (var item in that.Extensions)
- {
- theExtensions.Add(Deep(item));
- }
- }
-
- List? theDisplayName = null;
- if (that.DisplayName != null)
- {
- theDisplayName = new List(
- that.DisplayName.Count);
- foreach (var item in that.DisplayName)
- {
- theDisplayName.Add(Deep(item));
- }
- }
-
- List? theDescription = null;
- if (that.Description != null)
- {
- theDescription = new List(
- that.Description.Count);
- foreach (var item in that.Description)
- {
- theDescription.Add(Deep(item));
- }
- }
-
- List? theSupplementalSemanticIds = null;
- if (that.SupplementalSemanticIds != null)
- {
- theSupplementalSemanticIds = new List(
- that.SupplementalSemanticIds.Count);
- foreach (var item in that.SupplementalSemanticIds)
- {
- theSupplementalSemanticIds.Add(Deep(item));
- }
- }
-
- List? theQualifiers = null;
- if (that.Qualifiers != null)
- {
- theQualifiers = new List(
- that.Qualifiers.Count);
- foreach (var item in that.Qualifiers)
- {
- theQualifiers.Add(Deep(item));
- }
- }
-
- List? theEmbeddedDataSpecifications = null;
- if (that.EmbeddedDataSpecifications != null)
- {
- theEmbeddedDataSpecifications = new List(
- that.EmbeddedDataSpecifications.Count);
- foreach (var item in that.EmbeddedDataSpecifications)
- {
- theEmbeddedDataSpecifications.Add(Deep(item));
- }
- }
-
- return new Aas.RelationshipElement(
- Deep(that.First),
- Deep(that.Second),
- theExtensions,
- that.Category,
- that.IdShort,
- theDisplayName,
- theDescription,
- (that.SemanticId != null)
- ? Deep(that.SemanticId)
- : null,
- theSupplementalSemanticIds,
- theQualifiers,
- theEmbeddedDataSpecifications
- );
- }
-
- public override Aas.IClass TransformSubmodelElementList(
- Aas.ISubmodelElementList that
- )
- {
- List? theExtensions = null;
- if (that.Extensions != null)
- {
- theExtensions = new List(
- that.Extensions.Count);
- foreach (var item in that.Extensions)
- {
- theExtensions.Add(Deep(item));
- }
- }
-
- List? theDisplayName = null;
- if (that.DisplayName != null)
- {
- theDisplayName = new List(
- that.DisplayName.Count);
- foreach (var item in that.DisplayName)
- {
- theDisplayName.Add(Deep(item));
- }
- }
-
- List? theDescription = null;
- if (that.Description != null)
- {
- theDescription = new List(
- that.Description.Count);
- foreach (var item in that.Description)
- {
- theDescription.Add(Deep(item));
- }
- }
-
- List? theSupplementalSemanticIds = null;
- if (that.SupplementalSemanticIds != null)
- {
- theSupplementalSemanticIds = new List(
- that.SupplementalSemanticIds.Count);
- foreach (var item in that.SupplementalSemanticIds)
- {
- theSupplementalSemanticIds.Add(Deep(item));
- }
- }
-
- List? theQualifiers = null;
- if (that.Qualifiers != null)
- {
- theQualifiers = new List(
- that.Qualifiers.Count);
- foreach (var item in that.Qualifiers)
- {
- theQualifiers.Add(Deep(item));
- }
- }
-
- List? theEmbeddedDataSpecifications = null;
- if (that.EmbeddedDataSpecifications != null)
- {
- theEmbeddedDataSpecifications = new List(
- that.EmbeddedDataSpecifications.Count);
- foreach (var item in that.EmbeddedDataSpecifications)
- {
- theEmbeddedDataSpecifications.Add(Deep(item));
- }
- }
-
- List? theValue = null;
- if (that.Value != null)
- {
- theValue = new List(
- that.Value.Count);
- foreach (var item in that.Value)
- {
- theValue.Add(Deep(item));
- }
- }
-
- return new Aas.SubmodelElementList(
- that.TypeValueListElement,
- theExtensions,
- that.Category,
- that.IdShort,
- theDisplayName,
- theDescription,
- (that.SemanticId != null)
- ? Deep(that.SemanticId)
- : null,
- theSupplementalSemanticIds,
- theQualifiers,
- theEmbeddedDataSpecifications,
- that.OrderRelevant,
- (that.SemanticIdListElement != null)
- ? Deep(that.SemanticIdListElement)
- : null,
- that.ValueTypeListElement,
- theValue
- );
- }
-
- public override Aas.IClass TransformSubmodelElementCollection(
- Aas.ISubmodelElementCollection that
- )
- {
- List? theExtensions = null;
- if (that.Extensions != null)
- {
- theExtensions = new List(
- that.Extensions.Count);
- foreach (var item in that.Extensions)
- {
- theExtensions.Add(Deep(item));
- }
- }
-
- List? theDisplayName = null;
- if (that.DisplayName != null)
- {
- theDisplayName = new List(
- that.DisplayName.Count);
- foreach (var item in that.DisplayName)
- {
- theDisplayName.Add(Deep(item));
- }
- }
-
- List? theDescription = null;
- if (that.Description != null)
- {
- theDescription = new List(
- that.Description.Count);
- foreach (var item in that.Description)
- {
- theDescription.Add(Deep(item));
- }
- }
-
- List? theSupplementalSemanticIds = null;
- if (that.SupplementalSemanticIds != null)
- {
- theSupplementalSemanticIds = new List(
- that.SupplementalSemanticIds.Count);
- foreach (var item in that.SupplementalSemanticIds)
- {
- theSupplementalSemanticIds.Add(Deep(item));
- }
- }
-
- List? theQualifiers = null;
- if (that.Qualifiers != null)
- {
- theQualifiers = new List(
- that.Qualifiers.Count);
- foreach (var item in that.Qualifiers)
- {
- theQualifiers.Add(Deep(item));
- }
- }
-
- List? theEmbeddedDataSpecifications = null;
- if (that.EmbeddedDataSpecifications != null)
- {
- theEmbeddedDataSpecifications = new List(
- that.EmbeddedDataSpecifications.Count);
- foreach (var item in that.EmbeddedDataSpecifications)
- {
- theEmbeddedDataSpecifications.Add(Deep(item));
- }
- }
-
- List? theValue = null;
- if (that.Value != null)
- {
- theValue = new List(
- that.Value.Count);
- foreach (var item in that.Value)
- {
- theValue.Add(Deep(item));
- }
- }
-
- return new Aas.SubmodelElementCollection(
- theExtensions,
- that.Category,
- that.IdShort,
- theDisplayName,
- theDescription,
- (that.SemanticId != null)
- ? Deep(that.SemanticId)
- : null,
- theSupplementalSemanticIds,
- theQualifiers,
- theEmbeddedDataSpecifications,
- theValue
- );
- }
-
- public override Aas.IClass TransformProperty(
- Aas.IProperty that
- )
- {
- List? theExtensions = null;
- if (that.Extensions != null)
- {
- theExtensions = new List(
- that.Extensions.Count);
- foreach (var item in that.Extensions)
- {
- theExtensions.Add(Deep(item));
- }
- }
-
- List? theDisplayName = null;
- if (that.DisplayName != null)
- {
- theDisplayName = new List(
- that.DisplayName.Count);
- foreach (var item in that.DisplayName)
- {
- theDisplayName.Add(Deep(item));
- }
- }
-
- List? theDescription = null;
- if (that.Description != null)
- {
- theDescription = new List(
- that.Description.Count);
- foreach (var item in that.Description)
- {
- theDescription.Add(Deep(item));
- }
- }
-
- List? theSupplementalSemanticIds = null;
- if (that.SupplementalSemanticIds != null)
- {
- theSupplementalSemanticIds = new List(
- that.SupplementalSemanticIds.Count);
- foreach (var item in that.SupplementalSemanticIds)
- {
- theSupplementalSemanticIds.Add(Deep(item));
- }
- }
-
- List? theQualifiers = null;
- if (that.Qualifiers != null)
- {
- theQualifiers = new List(
- that.Qualifiers.Count);
- foreach (var item in that.Qualifiers)
- {
- theQualifiers.Add(Deep(item));
- }
- }
-
- List? theEmbeddedDataSpecifications = null;
- if (that.EmbeddedDataSpecifications != null)
- {
- theEmbeddedDataSpecifications = new List(
- that.EmbeddedDataSpecifications.Count);
- foreach (var item in that.EmbeddedDataSpecifications)
- {
- theEmbeddedDataSpecifications.Add(Deep(item));
- }
- }
-
- return new Aas.Property(
- that.ValueType,
- theExtensions,
- that.Category,
- that.IdShort,
- theDisplayName,
- theDescription,
- (that.SemanticId != null)
- ? Deep(that.SemanticId)
- : null,
- theSupplementalSemanticIds,
- theQualifiers,
- theEmbeddedDataSpecifications,
- that.Value,
- (that.ValueId != null)
- ? Deep(that.ValueId)
- : null
- );
- }
-
- public override Aas.IClass TransformMultiLanguageProperty(
- Aas.IMultiLanguageProperty that
- )
- {
- List? theExtensions = null;
- if (that.Extensions != null)
- {
- theExtensions = new List(
- that.Extensions.Count);
- foreach (var item in that.Extensions)
- {
- theExtensions.Add(Deep(item));
- }
- }
-
- List? theDisplayName = null;
- if (that.DisplayName != null)
- {
- theDisplayName = new List(
- that.DisplayName.Count);
- foreach (var item in that.DisplayName)
- {
- theDisplayName.Add(Deep(item));
- }
- }
-
- List? theDescription = null;
- if (that.Description != null)
- {
- theDescription = new List(
- that.Description.Count);
- foreach (var item in that.Description)
- {
- theDescription.Add(Deep(item));
- }
- }
-
- List? theSupplementalSemanticIds = null;
- if (that.SupplementalSemanticIds != null)
- {
- theSupplementalSemanticIds = new List(
- that.SupplementalSemanticIds.Count);
- foreach (var item in that.SupplementalSemanticIds)
- {
- theSupplementalSemanticIds.Add(Deep(item));
- }
- }
-
- List? theQualifiers = null;
- if (that.Qualifiers != null)
- {
- theQualifiers = new List(
- that.Qualifiers.Count);
- foreach (var item in that.Qualifiers)
- {
- theQualifiers.Add(Deep(item));
- }
- }
-
- List? theEmbeddedDataSpecifications = null;
- if (that.EmbeddedDataSpecifications != null)
- {
- theEmbeddedDataSpecifications = new List(
- that.EmbeddedDataSpecifications.Count);
- foreach (var item in that.EmbeddedDataSpecifications)
- {
- theEmbeddedDataSpecifications.Add(Deep(item));
- }
- }
-
- List? theValue = null;
- if (that.Value != null)
- {
- theValue = new List(
- that.Value.Count);
- foreach (var item in that.Value)
- {
- theValue.Add(Deep(item));
- }
- }
-
- return new Aas.MultiLanguageProperty(
- theExtensions,
- that.Category,
- that.IdShort,
- theDisplayName,
- theDescription,
- (that.SemanticId != null)
- ? Deep(that.SemanticId)
- : null,
- theSupplementalSemanticIds,
- theQualifiers,
- theEmbeddedDataSpecifications,
- theValue,
- (that.ValueId != null)
- ? Deep(that.ValueId)
- : null
- );
- }
-
- public override Aas.IClass TransformRange(
- Aas.IRange that
- )
- {
- List? theExtensions = null;
- if (that.Extensions != null)
- {
- theExtensions = new List(
- that.Extensions.Count);
- foreach (var item in that.Extensions)
- {
- theExtensions.Add(Deep(item));
- }
- }
-
- List? theDisplayName = null;
- if (that.DisplayName != null)
- {
- theDisplayName = new List(
- that.DisplayName.Count);
- foreach (var item in that.DisplayName)
- {
- theDisplayName.Add(Deep(item));
- }
- }
-
- List? theDescription = null;
- if (that.Description != null)
- {
- theDescription = new List(
- that.Description.Count);
- foreach (var item in that.Description)
- {
- theDescription.Add(Deep(item));
- }
- }
-
- List? theSupplementalSemanticIds = null;
- if (that.SupplementalSemanticIds != null)
- {
- theSupplementalSemanticIds = new List(
- that.SupplementalSemanticIds.Count);
- foreach (var item in that.SupplementalSemanticIds)
- {
- theSupplementalSemanticIds.Add(Deep(item));
- }
- }
-
- List? theQualifiers = null;
- if (that.Qualifiers != null)
- {
- theQualifiers = new List(
- that.Qualifiers.Count);
- foreach (var item in that.Qualifiers)
- {
- theQualifiers.Add(Deep(item));
- }
- }
-
- List? theEmbeddedDataSpecifications = null;
- if (that.EmbeddedDataSpecifications != null)
- {
- theEmbeddedDataSpecifications = new List(
- that.EmbeddedDataSpecifications.Count);
- foreach (var item in that.EmbeddedDataSpecifications)
- {
- theEmbeddedDataSpecifications.Add(Deep(item));
- }
- }
-
- return new Aas.Range(
- that.ValueType,
- theExtensions,
- that.Category,
- that.IdShort,
- theDisplayName,
- theDescription,
- (that.SemanticId != null)
- ? Deep(that.SemanticId)
- : null,
- theSupplementalSemanticIds,
- theQualifiers,
- theEmbeddedDataSpecifications,
- that.Min,
- that.Max
- );
- }
-
- public override Aas.IClass TransformReferenceElement(
- Aas.IReferenceElement that
- )
- {
- List? theExtensions = null;
- if (that.Extensions != null)
- {
- theExtensions = new List(
- that.Extensions.Count);
- foreach (var item in that.Extensions)
- {
- theExtensions.Add(Deep(item));
- }
- }
-
- List? theDisplayName = null;
- if (that.DisplayName != null)
- {
- theDisplayName = new List(
- that.DisplayName.Count);
- foreach (var item in that.DisplayName)
- {
- theDisplayName.Add(Deep(item));
- }
- }
-
- List? theDescription = null;
- if (that.Description != null)
- {
- theDescription = new List(
- that.Description.Count);
- foreach (var item in that.Description)
- {
- theDescription.Add(Deep(item));
- }
- }
-
- List? theSupplementalSemanticIds = null;
- if (that.SupplementalSemanticIds != null)
- {
- theSupplementalSemanticIds = new List(
- that.SupplementalSemanticIds.Count);
- foreach (var item in that.SupplementalSemanticIds)
- {
- theSupplementalSemanticIds.Add(Deep(item));
- }
- }
-
- List? theQualifiers = null;
- if (that.Qualifiers != null)
- {
- theQualifiers = new List(
- that.Qualifiers.Count);
- foreach (var item in that.Qualifiers)
- {
- theQualifiers.Add(Deep(item));
- }
- }
-
- List? theEmbeddedDataSpecifications = null;
- if (that.EmbeddedDataSpecifications != null)
- {
- theEmbeddedDataSpecifications = new List(
- that.EmbeddedDataSpecifications.Count);
- foreach (var item in that.EmbeddedDataSpecifications)
- {
- theEmbeddedDataSpecifications.Add(Deep(item));
- }
- }
-
- return new Aas.ReferenceElement(
- theExtensions,
- that.Category,
- that.IdShort,
- theDisplayName,
- theDescription,
- (that.SemanticId != null)
- ? Deep(that.SemanticId)
- : null,
- theSupplementalSemanticIds,
- theQualifiers,
- theEmbeddedDataSpecifications,
- (that.Value != null)
- ? Deep(that.Value)
- : null
- );
- }
-
- public override Aas.IClass TransformBlob(
- Aas.IBlob that
- )
- {
- List? theExtensions = null;
- if (that.Extensions != null)
- {
- theExtensions = new List(
- that.Extensions.Count);
- foreach (var item in that.Extensions)
- {
- theExtensions.Add(Deep(item));
- }
- }
-
- List? theDisplayName = null;
- if (that.DisplayName != null)
- {
- theDisplayName = new List(
- that.DisplayName.Count);
- foreach (var item in that.DisplayName)
- {
- theDisplayName.Add(Deep(item));
- }
- }
-
- List? theDescription = null;
- if (that.Description != null)
- {
- theDescription = new List(
- that.Description.Count);
- foreach (var item in that.Description)
- {
- theDescription.Add(Deep(item));
- }
- }
-
- List? theSupplementalSemanticIds = null;
- if (that.SupplementalSemanticIds != null)
- {
- theSupplementalSemanticIds = new List(
- that.SupplementalSemanticIds.Count);
- foreach (var item in that.SupplementalSemanticIds)
- {
- theSupplementalSemanticIds.Add(Deep(item));
- }
- }
-
- List? theQualifiers = null;
- if (that.Qualifiers != null)
- {
- theQualifiers = new List(
- that.Qualifiers.Count);
- foreach (var item in that.Qualifiers)
- {
- theQualifiers.Add(Deep(item));
- }
- }
-
- List? theEmbeddedDataSpecifications = null;
- if (that.EmbeddedDataSpecifications != null)
- {
- theEmbeddedDataSpecifications = new List(
- that.EmbeddedDataSpecifications.Count);
- foreach (var item in that.EmbeddedDataSpecifications)
- {
- theEmbeddedDataSpecifications.Add(Deep(item));
- }
- }
-
- return new Aas.Blob(
- that.ContentType,
- theExtensions,
- that.Category,
- that.IdShort,
- theDisplayName,
- theDescription,
- (that.SemanticId != null)
- ? Deep(that.SemanticId)
- : null,
- theSupplementalSemanticIds,
- theQualifiers,
- theEmbeddedDataSpecifications,
- that.Value
- );
- }
-
- public override Aas.IClass TransformFile(
- Aas.IFile that
- )
- {
- List? theExtensions = null;
- if (that.Extensions != null)
- {
- theExtensions = new List(
- that.Extensions.Count);
- foreach (var item in that.Extensions)
- {
- theExtensions.Add(Deep(item));
- }
- }
-
- List? theDisplayName = null;
- if (that.DisplayName != null)
- {
- theDisplayName = new List(
- that.DisplayName.Count);
- foreach (var item in that.DisplayName)
- {
- theDisplayName.Add(Deep(item));
- }
- }
-
- List? theDescription = null;
- if (that.Description != null)
- {
- theDescription = new List(
- that.Description.Count);
- foreach (var item in that.Description)
- {
- theDescription.Add(Deep(item));
- }
- }
-
- List? theSupplementalSemanticIds = null;
- if (that.SupplementalSemanticIds != null)
- {
- theSupplementalSemanticIds = new List(
- that.SupplementalSemanticIds.Count);
- foreach (var item in that.SupplementalSemanticIds)
- {
- theSupplementalSemanticIds.Add(Deep(item));
- }
- }
-
- List? theQualifiers = null;
- if (that.Qualifiers != null)
- {
- theQualifiers = new List(
- that.Qualifiers.Count);
- foreach (var item in that.Qualifiers)
- {
- theQualifiers.Add(Deep(item));
- }
- }
-
- List? theEmbeddedDataSpecifications = null;
- if (that.EmbeddedDataSpecifications != null)
- {
- theEmbeddedDataSpecifications = new List(
- that.EmbeddedDataSpecifications.Count);
- foreach (var item in that.EmbeddedDataSpecifications)
- {
- theEmbeddedDataSpecifications.Add(Deep(item));
- }
- }
-
- return new Aas.File(
- that.ContentType,
- theExtensions,
- that.Category,
- that.IdShort,
- theDisplayName,
- theDescription,
- (that.SemanticId != null)
- ? Deep(that.SemanticId)
- : null,
- theSupplementalSemanticIds,
- theQualifiers,
- theEmbeddedDataSpecifications,
- that.Value
- );
- }
-
- public override Aas.IClass TransformAnnotatedRelationshipElement(
- Aas.IAnnotatedRelationshipElement that
- )
- {
- List? theExtensions = null;
- if (that.Extensions != null)
- {
- theExtensions = new List(
- that.Extensions.Count);
- foreach (var item in that.Extensions)
- {
- theExtensions.Add(Deep(item));
- }
- }
-
- List? theDisplayName = null;
- if (that.DisplayName != null)
- {
- theDisplayName = new List(
- that.DisplayName.Count);
- foreach (var item in that.DisplayName)
- {
- theDisplayName.Add(Deep(item));
- }
- }
-
- List? theDescription = null;
- if (that.Description != null)
- {
- theDescription = new List(
- that.Description.Count);
- foreach (var item in that.Description)
- {
- theDescription.Add(Deep(item));
- }
- }
-
- List? theSupplementalSemanticIds = null;
- if (that.SupplementalSemanticIds != null)
- {
- theSupplementalSemanticIds = new List(
- that.SupplementalSemanticIds.Count);
- foreach (var item in that.SupplementalSemanticIds)
- {
- theSupplementalSemanticIds.Add(Deep(item));
- }
- }
-
- List? theQualifiers = null;
- if (that.Qualifiers != null)
- {
- theQualifiers = new List(
- that.Qualifiers.Count);
- foreach (var item in that.Qualifiers)
- {
- theQualifiers.Add(Deep(item));
- }
- }
-
- List? theEmbeddedDataSpecifications = null;
- if (that.EmbeddedDataSpecifications != null)
- {
- theEmbeddedDataSpecifications = new List(
- that.EmbeddedDataSpecifications.Count);
- foreach (var item in that.EmbeddedDataSpecifications)
- {
- theEmbeddedDataSpecifications.Add(Deep(item));
- }
- }
-
- List? theAnnotations = null;
- if (that.Annotations != null)
- {
- theAnnotations = new List(
- that.Annotations.Count);
- foreach (var item in that.Annotations)
- {
- theAnnotations.Add(Deep(item));
- }
- }
-
- return new Aas.AnnotatedRelationshipElement(
- Deep(that.First),
- Deep(that.Second),
- theExtensions,
- that.Category,
- that.IdShort,
- theDisplayName,
- theDescription,
- (that.SemanticId != null)
- ? Deep(that.SemanticId)
- : null,
- theSupplementalSemanticIds,
- theQualifiers,
- theEmbeddedDataSpecifications,
- theAnnotations
- );
- }
-
- public override Aas.IClass TransformEntity(
- Aas.IEntity that
- )
- {
- List? theExtensions = null;
- if (that.Extensions != null)
- {
- theExtensions = new List(
- that.Extensions.Count);
- foreach (var item in that.Extensions)
- {
- theExtensions.Add(Deep(item));
- }
- }
-
- List? theDisplayName = null;
- if (that.DisplayName != null)
- {
- theDisplayName = new List(
- that.DisplayName.Count);
- foreach (var item in that.DisplayName)
- {
- theDisplayName.Add(Deep(item));
- }
- }
-
- List? theDescription = null;
- if (that.Description != null)
- {
- theDescription = new List(
- that.Description.Count);
- foreach (var item in that.Description)
- {
- theDescription.Add(Deep(item));
- }
- }
-
- List? theSupplementalSemanticIds = null;
- if (that.SupplementalSemanticIds != null)
- {
- theSupplementalSemanticIds = new List(
- that.SupplementalSemanticIds.Count);
- foreach (var item in that.SupplementalSemanticIds)
- {
- theSupplementalSemanticIds.Add(Deep(item));
- }
- }
-
- List? theQualifiers = null;
- if (that.Qualifiers != null)
- {
- theQualifiers = new List(
- that.Qualifiers.Count);
- foreach (var item in that.Qualifiers)
- {
- theQualifiers.Add(Deep(item));
- }
- }
-
- List? theEmbeddedDataSpecifications = null;
- if (that.EmbeddedDataSpecifications != null)
- {
- theEmbeddedDataSpecifications = new List(
- that.EmbeddedDataSpecifications.Count);
- foreach (var item in that.EmbeddedDataSpecifications)
- {
- theEmbeddedDataSpecifications.Add(Deep(item));
- }
- }
-
- List? theStatements = null;
- if (that.Statements != null)
- {
- theStatements = new List(
- that.Statements.Count);
- foreach (var item in that.Statements)
- {
- theStatements.Add(Deep(item));
- }
- }
-
- List? theSpecificAssetIds = null;
- if (that.SpecificAssetIds != null)
- {
- theSpecificAssetIds = new List(
- that.SpecificAssetIds.Count);
- foreach (var item in that.SpecificAssetIds)
- {
- theSpecificAssetIds.Add(Deep(item));
- }
- }
-
- return new Aas.Entity(
- that.EntityType,
- theExtensions,
- that.Category,
- that.IdShort,
- theDisplayName,
- theDescription,
- (that.SemanticId != null)
- ? Deep(that.SemanticId)
- : null,
- theSupplementalSemanticIds,
- theQualifiers,
- theEmbeddedDataSpecifications,
- theStatements,
- that.GlobalAssetId,
- theSpecificAssetIds
- );
- }
-
- public override Aas.IClass TransformEventPayload(
- Aas.IEventPayload that
- )
- {
- return new Aas.EventPayload(
- Deep(that.Source),
- Deep(that.ObservableReference),
- that.TimeStamp,
- (that.SourceSemanticId != null)
- ? Deep(that.SourceSemanticId)
- : null,
- (that.ObservableSemanticId != null)
- ? Deep(that.ObservableSemanticId)
- : null,
- that.Topic,
- (that.SubjectId != null)
- ? Deep(that.SubjectId)
- : null,
- that.Payload
- );
- }
-
- public override Aas.IClass TransformBasicEventElement(
- Aas.IBasicEventElement that
- )
- {
- List? theExtensions = null;
- if (that.Extensions != null)
- {
- theExtensions = new List(
- that.Extensions.Count);
- foreach (var item in that.Extensions)
- {
- theExtensions.Add(Deep(item));
- }
- }
-
- List? theDisplayName = null;
- if (that.DisplayName != null)
- {
- theDisplayName = new List(
- that.DisplayName.Count);
- foreach (var item in that.DisplayName)
- {
- theDisplayName.Add(Deep(item));
- }
- }
-
- List? theDescription = null;
- if (that.Description != null)
- {
- theDescription = new List(
- that.Description.Count);
- foreach (var item in that.Description)
- {
- theDescription.Add(Deep(item));
- }
- }
-
- List? theSupplementalSemanticIds = null;
- if (that.SupplementalSemanticIds != null)
- {
- theSupplementalSemanticIds = new List(
- that.SupplementalSemanticIds.Count);
- foreach (var item in that.SupplementalSemanticIds)
- {
- theSupplementalSemanticIds.Add(Deep(item));
- }
- }
-
- List? theQualifiers = null;
- if (that.Qualifiers != null)
- {
- theQualifiers = new List(
- that.Qualifiers.Count);
- foreach (var item in that.Qualifiers)
- {
- theQualifiers.Add(Deep(item));
- }
- }
-
- List? theEmbeddedDataSpecifications = null;
- if (that.EmbeddedDataSpecifications != null)
- {
- theEmbeddedDataSpecifications = new List(
- that.EmbeddedDataSpecifications.Count);
- foreach (var item in that.EmbeddedDataSpecifications)
- {
- theEmbeddedDataSpecifications.Add(Deep(item));
- }
- }
-
- return new Aas.BasicEventElement(
- Deep(that.Observed),
- that.Direction,
- that.State,
- theExtensions,
- that.Category,
- that.IdShort,
- theDisplayName,
- theDescription,
- (that.SemanticId != null)
- ? Deep(that.SemanticId)
- : null,
- theSupplementalSemanticIds,
- theQualifiers,
- theEmbeddedDataSpecifications,
- that.MessageTopic,
- (that.MessageBroker != null)
- ? Deep(that.MessageBroker)
- : null,
- that.LastUpdate,
- that.MinInterval,
- that.MaxInterval
- );
- }
-
- public override Aas.IClass TransformOperation(
- Aas.IOperation that
- )
- {
- List? theExtensions = null;
- if (that.Extensions != null)
- {
- theExtensions = new List(
- that.Extensions.Count);
- foreach (var item in that.Extensions)
- {
- theExtensions.Add(Deep(item));
- }
- }
-
- List? theDisplayName = null;
- if (that.DisplayName != null)
- {
- theDisplayName = new List(
- that.DisplayName.Count);
- foreach (var item in that.DisplayName)
- {
- theDisplayName.Add(Deep(item));
- }
- }
-
- List? theDescription = null;
- if (that.Description != null)
- {
- theDescription = new List(
- that.Description.Count);
- foreach (var item in that.Description)
- {
- theDescription.Add(Deep(item));
- }
- }
-
- List? theSupplementalSemanticIds = null;
- if (that.SupplementalSemanticIds != null)
- {
- theSupplementalSemanticIds = new List(
- that.SupplementalSemanticIds.Count);
- foreach (var item in that.SupplementalSemanticIds)
- {
- theSupplementalSemanticIds.Add(Deep(item));
- }
- }
-
- List? theQualifiers = null;
- if (that.Qualifiers != null)
- {
- theQualifiers = new List(
- that.Qualifiers.Count);
- foreach (var item in that.Qualifiers)
- {
- theQualifiers.Add(Deep(item));
- }
- }
-
- List? theEmbeddedDataSpecifications = null;
- if (that.EmbeddedDataSpecifications != null)
- {
- theEmbeddedDataSpecifications = new List(
- that.EmbeddedDataSpecifications.Count);
- foreach (var item in that.EmbeddedDataSpecifications)
- {
- theEmbeddedDataSpecifications.Add(Deep(item));
- }
- }
-
- List? theInputVariables = null;
- if (that.InputVariables != null)
- {
- theInputVariables = new List(
- that.InputVariables.Count);
- foreach (var item in that.InputVariables)
- {
- theInputVariables.Add(Deep(item));
- }
- }
-
- List? theOutputVariables = null;
- if (that.OutputVariables != null)
- {
- theOutputVariables = new List(
- that.OutputVariables.Count);
- foreach (var item in that.OutputVariables)
- {
- theOutputVariables.Add(Deep(item));
- }
- }
-
- List? theInoutputVariables = null;
- if (that.InoutputVariables != null)
- {
- theInoutputVariables = new List(
- that.InoutputVariables.Count);
- foreach (var item in that.InoutputVariables)
- {
- theInoutputVariables.Add(Deep(item));
- }
- }
-
- return new Aas.Operation(
- theExtensions,
- that.Category,
- that.IdShort,
- theDisplayName,
- theDescription,
- (that.SemanticId != null)
- ? Deep(that.SemanticId)
- : null,
- theSupplementalSemanticIds,
- theQualifiers,
- theEmbeddedDataSpecifications,
- theInputVariables,
- theOutputVariables,
- theInoutputVariables
- );
- }
-
- public override Aas.IClass TransformOperationVariable(
- Aas.IOperationVariable that
- )
- {
- return new Aas.OperationVariable(
- Deep(that.Value)
- );
- }
-
- public override Aas.IClass TransformCapability(
- Aas.ICapability that
- )
- {
- List? theExtensions = null;
- if (that.Extensions != null)
- {
- theExtensions = new List(
- that.Extensions.Count);
- foreach (var item in that.Extensions)
- {
- theExtensions.Add(Deep(item));
- }
- }
-
- List? theDisplayName = null;
- if (that.DisplayName != null)
- {
- theDisplayName = new List(
- that.DisplayName.Count);
- foreach (var item in that.DisplayName)
- {
- theDisplayName.Add(Deep(item));
- }
- }
-
- List? theDescription = null;
- if (that.Description != null)
- {
- theDescription = new List(
- that.Description.Count);
- foreach (var item in that.Description)
- {
- theDescription.Add(Deep(item));
- }
- }
-
- List? theSupplementalSemanticIds = null;
- if (that.SupplementalSemanticIds != null)
- {
- theSupplementalSemanticIds = new List(
- that.SupplementalSemanticIds.Count);
- foreach (var item in that.SupplementalSemanticIds)
- {
- theSupplementalSemanticIds.Add(Deep(item));
- }
- }
-
- List