-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IModelTableEntry must be updated during import. #523
- IModelTableEntry is read-only
- Loading branch information
Showing
8 changed files
with
39 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,50 @@ | ||
//___________________________________________________________________________________ | ||
// | ||
// Copyright (C) 2019, Mariusz Postol LODZ POLAND. | ||
// Copyright (C) 2021, Mariusz Postol LODZ POLAND. | ||
// | ||
// To be in touch join the community at GITTER: https://gitter.im/mpostol/OPC-UA-OOI | ||
//___________________________________________________________________________________ | ||
|
||
using System; | ||
using System.IO; | ||
using UAOOI.SemanticData.InformationModelFactory; | ||
using UAOOI.SemanticData.UANodeSetValidation.XML; | ||
|
||
namespace UAOOI.SemanticData.UANodeSetValidation | ||
{ | ||
|
||
/// <summary> | ||
/// Interface IAddressSpaceContext - represents a service used to buildup OPc UA Address Space | ||
/// </summary> | ||
public interface IAddressSpaceContext | ||
{ | ||
|
||
/// <summary> | ||
/// Imports a part of the OPC UA Address Space contained in the <see cref="UANodeSet" /> object model. | ||
/// </summary> | ||
/// <param name="model">The model to be imported.</param> | ||
void ImportUANodeSet(UANodeSet model); | ||
Uri ImportUANodeSet(UANodeSet model); | ||
|
||
/// <summary> | ||
/// Imports a part of the OPC UA Address Space contained in the file <paramref name="model"/> of type <see cref="FileInfo" /> compliant with the `UANodeSet` schema. | ||
/// </summary> | ||
/// <param name="model">The model to be imported.</param> | ||
void ImportUANodeSet(FileInfo model); | ||
Uri ImportUANodeSet(FileInfo model); | ||
|
||
/// <summary> | ||
/// Sets the information model factory, which can be used to export a part of the OPC UA Address Space. If not set or set null an internal stub implementation will be used. | ||
/// </summary> | ||
/// <remarks>It is defined to handle dependency injection.</remarks> | ||
/// <value>The information model factory.</value> | ||
IModelFactory InformationModelFactory { set; } | ||
|
||
/// <summary> | ||
/// Validates and exports the selected model for the default namespace at index 1 if defined or standard OPC UA. | ||
/// </summary> | ||
void ValidateAndExportModel(); | ||
|
||
/// <summary> | ||
/// Validates and exports the selected model. | ||
/// </summary> | ||
/// <param name="targetNamespace">The target namespace of the validated model.</param> | ||
void ValidateAndExportModel(string targetNamespace); | ||
|
||
} | ||
|
||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters