Skip to content

Commit

Permalink
Fix BuildDesign.bat in DataTypes Quickstart.
Browse files Browse the repository at this point in the history
  • Loading branch information
randy-armstrong committed Nov 23, 2024
1 parent 57a33b9 commit 63f1009
Show file tree
Hide file tree
Showing 9 changed files with 917 additions and 935 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
using System.Text;
using System.Xml;
using System.Runtime.Serialization;
using Quickstarts.DataTypes.Types;
using Opc.Ua;
using Opc.Ua;

Check warning on line 36 in Workshop/DataTypes/Server/Instances/Quickstarts.DataTypes.Instances.Classes.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp)

The using directive for 'Opc.Ua' appeared previously in this namespace

namespace Quickstarts.DataTypes.Instances
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
using System.Reflection;
using System.Xml;
using System.Runtime.Serialization;
using Quickstarts.DataTypes.Types;
using Opc.Ua;
using Opc.Ua;

Check warning on line 37 in Workshop/DataTypes/Server/Instances/Quickstarts.DataTypes.Instances.Constants.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp)

The using directive for 'Opc.Ua' appeared previously in this namespace

namespace Quickstarts.DataTypes.Instances
Expand Down Expand Up @@ -326,9 +326,9 @@ public static partial class Namespaces
public const string DataTypeInstances = "http://opcfoundation.org/UA/Quickstarts/DataTypes/Instances";

/// <summary>
/// The URI for the DataTypes namespace (.NET code namespace is 'Quickstarts.DataTypes.Types').
/// The URI for the OpcUa namespace (.NET code namespace is 'Opc.Ua').
/// </summary>
public const string DataTypes = "http://opcfoundation.org/UA/Quickstarts/DataTypes/Types";
public const string OpcUa = "http://opcfoundation.org/UA/Quickstarts/DataTypes/Types";

/// <summary>
/// The URI for the OpcUa namespace (.NET code namespace is 'Opc.Ua').
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
using System.Text;
using System.Xml;
using System.Runtime.Serialization;
using Quickstarts.DataTypes.Types;
using Opc.Ua;
using Opc.Ua;

Check warning on line 36 in Workshop/DataTypes/Server/Instances/Quickstarts.DataTypes.Instances.DataTypes.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp)

The using directive for 'Opc.Ua' appeared previously in this namespace

namespace Quickstarts.DataTypes.Instances
Expand Down Expand Up @@ -127,7 +127,7 @@ public object Clone()
/// <exclude />
[System.CodeDom.Compiler.GeneratedCodeAttribute("Opc.Ua.ModelCompiler", "1.0.0.0")]
[DataContract(Namespace = Quickstarts.DataTypes.Instances.Namespaces.DataTypeInstances)]
public partial class TwoWheelerType : Quickstarts.DataTypes.Types.VehicleType
public partial class TwoWheelerType : Opc.Ua.VehicleType

Check failure on line 130 in Workshop/DataTypes/Server/Instances/Quickstarts.DataTypes.Instances.DataTypes.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp)

The type or namespace name 'VehicleType' does not exist in the namespace 'Opc.Ua' (are you missing an assembly reference?)
{
#region Constructors
/// <remarks />
Expand Down Expand Up @@ -210,6 +210,7 @@ public override bool IsEqual(IEncodeable encodeable)
return false;
}

if (!base.IsEqual(encodeable)) return false;
if (!Utils.IsEqual(m_manufacturerName, value.m_manufacturerName)) return false;

return base.IsEqual(encodeable);
Expand Down Expand Up @@ -393,6 +394,7 @@ public override bool IsEqual(IEncodeable encodeable)
return false;
}

if (!base.IsEqual(encodeable)) return false;
if (!Utils.IsEqual(m_noOfGears, value.m_noOfGears)) return false;

return base.IsEqual(encodeable);
Expand Down Expand Up @@ -576,6 +578,7 @@ public override bool IsEqual(IEncodeable encodeable)
return false;
}

if (!base.IsEqual(encodeable)) return false;
if (!Utils.IsEqual(m_noOfSeats, value.m_noOfSeats)) return false;

return base.IsEqual(encodeable);
Expand Down
Loading

0 comments on commit 63f1009

Please sign in to comment.