-
-
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.
Add a warning that the AS contains nodes orphaned and inaccessible fo…
…r browsing starting from the Root node #529 - added testing fixture - UT 👍
- Loading branch information
Showing
8 changed files
with
53 additions
and
36 deletions.
There are no files selected for viewing
27 changes: 16 additions & 11 deletions
27
SemanticData/BuildingErrorsHandling/BuildErrors.partial.cs
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,83 +1,88 @@ | ||
//___________________________________________________________________________________ | ||
// | ||
// 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 | ||
//___________________________________________________________________________________ | ||
|
||
namespace UAOOI.SemanticData.BuildingErrorsHandling | ||
{ | ||
|
||
/// <summary> | ||
/// Enum Focus | ||
/// </summary> | ||
public enum Focus | ||
{ | ||
|
||
/// <summary> | ||
/// The reference | ||
/// </summary> | ||
Reference, | ||
|
||
/// <summary> | ||
/// The diagnostic | ||
/// </summary> | ||
Diagnostic, | ||
|
||
/// <summary> | ||
/// The NodeClass | ||
/// </summary> | ||
NodeClass, | ||
|
||
/// <summary> | ||
/// The XML error | ||
/// The XML error | ||
/// </summary> | ||
XML, | ||
|
||
/// <summary> | ||
/// The non categorized error, e.g. exception during execution. | ||
/// </summary> | ||
NonCategorized, | ||
|
||
/// <summary> | ||
/// The data encoding errors - the syntax is validated against OPC UA XML encoding. | ||
/// </summary> | ||
DataEncoding, | ||
|
||
/// <summary> | ||
/// The data type definition error - eny error that relates to custom DataType definion. | ||
/// </summary> | ||
DataType, | ||
|
||
/// <summary> | ||
/// The naming | ||
/// </summary> | ||
Naming | ||
|
||
} | ||
|
||
/// <summary> | ||
/// Class BuildError - provides building descriptions of building errors. | ||
/// Class BuildError - provides building descriptions of building errors. | ||
/// </summary> | ||
public partial class BuildError | ||
{ | ||
|
||
/// <summary> | ||
/// Gets the focus. | ||
/// </summary> | ||
/// <value>The focus.</value> | ||
public Focus Focus { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the unique identifier of the error. | ||
/// </summary> | ||
/// <value>The identifier.</value> | ||
public string Identifier { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the descriptor of the error. | ||
/// </summary> | ||
/// <value>The descriptor.</value> | ||
public string Descriptor { get; set; } | ||
|
||
/// <summary> | ||
/// Returns a <see cref="System.String" /> that represents this instance. | ||
/// </summary> | ||
/// <returns>A <see cref="System.String" /> that represents this instance.</returns> | ||
public override string ToString() | ||
{ | ||
return string.Format("Focus:{0}, ErrorID: {1} Info: {2}", Focus, Identifier, Descriptor); | ||
return string.Format("Focus: {0}, Identifier: {1} Description: {2}", Focus, Identifier, Descriptor); | ||
} | ||
|
||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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