Skip to content

Commit 03129b6

Browse files
Update DemoModel Project.
1 parent 5a836ea commit 03129b6

23 files changed

+1535
-981
lines changed

Tests/DemoModel/ConsoleTelemetry.cs

Lines changed: 0 additions & 101 deletions
This file was deleted.

Tests/DemoModel/DemoModel/DemoModel.Classes.cs

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/* ========================================================================
2-
* Copyright (c) 2005-2025 The OPC Foundation, Inc. All rights reserved.
2+
* Copyright (c) 2005-2024 The OPC Foundation, Inc. All rights reserved.
33
*
44
* OPC Foundation MIT License 1.00
5-
*
5+
*
66
* Permission is hereby granted, free of charge, to any person
77
* obtaining a copy of this software and associated documentation
88
* files (the "Software"), to deal in the Software without
@@ -11,7 +11,7 @@
1111
* copies of the Software, and to permit persons to whom the
1212
* Software is furnished to do so, subject to the following
1313
* conditions:
14-
*
14+
*
1515
* The above copyright notice and this permission notice shall be
1616
* included in all copies or substantial portions of the Software.
1717
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
@@ -37,7 +37,10 @@
3737
using System.Threading;
3838
using Opc.Ua;
3939

40-
#pragma warning disable 1591
40+
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
41+
#pragma warning disable CA1515 // Consider making public types internal
42+
#pragma warning disable CA1707 // Identifiers should not contain underscores
43+
#pragma warning disable CA1028 // Enum Storage should be Int32
4144

4245
namespace DemoModel
4346
{
@@ -1064,4 +1067,4 @@ protected override BaseInstanceState FindChild(
10641067
}
10651068
#endif
10661069
#endregion
1067-
}
1070+
}

Tests/DemoModel/DemoModel/DemoModel.Constants.cs

Lines changed: 32 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/* ========================================================================
2-
* Copyright (c) 2005-2025 The OPC Foundation, Inc. All rights reserved.
2+
* Copyright (c) 2005-2024 The OPC Foundation, Inc. All rights reserved.
33
*
44
* OPC Foundation MIT License 1.00
5-
*
5+
*
66
* Permission is hereby granted, free of charge, to any person
77
* obtaining a copy of this software and associated documentation
88
* files (the "Software"), to deal in the Software without
@@ -11,7 +11,7 @@
1111
* copies of the Software, and to permit persons to whom the
1212
* Software is furnished to do so, subject to the following
1313
* conditions:
14-
*
14+
*
1515
* The above copyright notice and this permission notice shall be
1616
* included in all copies or substantial portions of the Software.
1717
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
@@ -35,7 +35,8 @@
3535
using System.Runtime.Serialization;
3636
using Opc.Ua;
3737

38-
#pragma warning disable 1591
38+
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
39+
#pragma warning disable CA1707 // Identifiers should not contain underscores
3940

4041
namespace DemoModel
4142
{
@@ -57,6 +58,8 @@ public static partial class DataTypes
5758

5859
public const uint ExtendedWorkOrderType = 322;
5960

61+
public const uint PenultimateWorkOrderType = 354;
62+
6063
public const uint FinalWorkOrderType = 332;
6164

6265
public const uint SampleUnion = 41;
@@ -109,6 +112,8 @@ public static partial class Objects
109112

110113
public const uint ExtendedWorkOrderType_Encoding_DefaultBinary = 323;
111114

115+
public const uint PenultimateWorkOrderType_Encoding_DefaultBinary = 355;
116+
112117
public const uint FinalWorkOrderType_Encoding_DefaultBinary = 333;
113118

114119
public const uint SampleUnion_Encoding_DefaultBinary = 45;
@@ -131,6 +136,8 @@ public static partial class Objects
131136

132137
public const uint ExtendedWorkOrderType_Encoding_DefaultXml = 327;
133138

139+
public const uint PenultimateWorkOrderType_Encoding_DefaultXml = 359;
140+
134141
public const uint FinalWorkOrderType_Encoding_DefaultXml = 337;
135142

136143
public const uint SampleUnion_Encoding_DefaultXml = 62;
@@ -153,6 +160,8 @@ public static partial class Objects
153160

154161
public const uint ExtendedWorkOrderType_Encoding_DefaultJson = 331;
155162

163+
public const uint PenultimateWorkOrderType_Encoding_DefaultJson = 363;
164+
156165
public const uint FinalWorkOrderType_Encoding_DefaultJson = 341;
157166

158167
public const uint SampleUnion_Encoding_DefaultJson = 82;
@@ -273,6 +282,8 @@ public static partial class Variables
273282

274283
public const uint DemoModel_BinarySchema_ExtendedWorkOrderType = 324;
275284

285+
public const uint DemoModel_BinarySchema_PenultimateWorkOrderType = 356;
286+
276287
public const uint DemoModel_BinarySchema_FinalWorkOrderType = 334;
277288

278289
public const uint DemoModel_BinarySchema_SampleUnion = 50;
@@ -301,6 +312,8 @@ public static partial class Variables
301312

302313
public const uint DemoModel_XmlSchema_ExtendedWorkOrderType = 328;
303314

315+
public const uint DemoModel_XmlSchema_PenultimateWorkOrderType = 360;
316+
304317
public const uint DemoModel_XmlSchema_FinalWorkOrderType = 338;
305318

306319
public const uint DemoModel_XmlSchema_SampleUnion = 67;
@@ -347,6 +360,8 @@ public static partial class DataTypeIds
347360

348361
public static readonly ExpandedNodeId ExtendedWorkOrderType = new ExpandedNodeId(DemoModel.DataTypes.ExtendedWorkOrderType, DemoModel.Namespaces.DemoModel);
349362

363+
public static readonly ExpandedNodeId PenultimateWorkOrderType = new ExpandedNodeId(DemoModel.DataTypes.PenultimateWorkOrderType, DemoModel.Namespaces.DemoModel);
364+
350365
public static readonly ExpandedNodeId FinalWorkOrderType = new ExpandedNodeId(DemoModel.DataTypes.FinalWorkOrderType, DemoModel.Namespaces.DemoModel);
351366

352367
public static readonly ExpandedNodeId SampleUnion = new ExpandedNodeId(DemoModel.DataTypes.SampleUnion, DemoModel.Namespaces.DemoModel);
@@ -399,6 +414,8 @@ public static partial class ObjectIds
399414

400415
public static readonly ExpandedNodeId ExtendedWorkOrderType_Encoding_DefaultBinary = new ExpandedNodeId(DemoModel.Objects.ExtendedWorkOrderType_Encoding_DefaultBinary, DemoModel.Namespaces.DemoModel);
401416

417+
public static readonly ExpandedNodeId PenultimateWorkOrderType_Encoding_DefaultBinary = new ExpandedNodeId(DemoModel.Objects.PenultimateWorkOrderType_Encoding_DefaultBinary, DemoModel.Namespaces.DemoModel);
418+
402419
public static readonly ExpandedNodeId FinalWorkOrderType_Encoding_DefaultBinary = new ExpandedNodeId(DemoModel.Objects.FinalWorkOrderType_Encoding_DefaultBinary, DemoModel.Namespaces.DemoModel);
403420

404421
public static readonly ExpandedNodeId SampleUnion_Encoding_DefaultBinary = new ExpandedNodeId(DemoModel.Objects.SampleUnion_Encoding_DefaultBinary, DemoModel.Namespaces.DemoModel);
@@ -421,6 +438,8 @@ public static partial class ObjectIds
421438

422439
public static readonly ExpandedNodeId ExtendedWorkOrderType_Encoding_DefaultXml = new ExpandedNodeId(DemoModel.Objects.ExtendedWorkOrderType_Encoding_DefaultXml, DemoModel.Namespaces.DemoModel);
423440

441+
public static readonly ExpandedNodeId PenultimateWorkOrderType_Encoding_DefaultXml = new ExpandedNodeId(DemoModel.Objects.PenultimateWorkOrderType_Encoding_DefaultXml, DemoModel.Namespaces.DemoModel);
442+
424443
public static readonly ExpandedNodeId FinalWorkOrderType_Encoding_DefaultXml = new ExpandedNodeId(DemoModel.Objects.FinalWorkOrderType_Encoding_DefaultXml, DemoModel.Namespaces.DemoModel);
425444

426445
public static readonly ExpandedNodeId SampleUnion_Encoding_DefaultXml = new ExpandedNodeId(DemoModel.Objects.SampleUnion_Encoding_DefaultXml, DemoModel.Namespaces.DemoModel);
@@ -443,6 +462,8 @@ public static partial class ObjectIds
443462

444463
public static readonly ExpandedNodeId ExtendedWorkOrderType_Encoding_DefaultJson = new ExpandedNodeId(DemoModel.Objects.ExtendedWorkOrderType_Encoding_DefaultJson, DemoModel.Namespaces.DemoModel);
445464

465+
public static readonly ExpandedNodeId PenultimateWorkOrderType_Encoding_DefaultJson = new ExpandedNodeId(DemoModel.Objects.PenultimateWorkOrderType_Encoding_DefaultJson, DemoModel.Namespaces.DemoModel);
466+
446467
public static readonly ExpandedNodeId FinalWorkOrderType_Encoding_DefaultJson = new ExpandedNodeId(DemoModel.Objects.FinalWorkOrderType_Encoding_DefaultJson, DemoModel.Namespaces.DemoModel);
447468

448469
public static readonly ExpandedNodeId SampleUnion_Encoding_DefaultJson = new ExpandedNodeId(DemoModel.Objects.SampleUnion_Encoding_DefaultJson, DemoModel.Namespaces.DemoModel);
@@ -563,6 +584,8 @@ public static partial class VariableIds
563584

564585
public static readonly ExpandedNodeId DemoModel_BinarySchema_ExtendedWorkOrderType = new ExpandedNodeId(DemoModel.Variables.DemoModel_BinarySchema_ExtendedWorkOrderType, DemoModel.Namespaces.DemoModel);
565586

587+
public static readonly ExpandedNodeId DemoModel_BinarySchema_PenultimateWorkOrderType = new ExpandedNodeId(DemoModel.Variables.DemoModel_BinarySchema_PenultimateWorkOrderType, DemoModel.Namespaces.DemoModel);
588+
566589
public static readonly ExpandedNodeId DemoModel_BinarySchema_FinalWorkOrderType = new ExpandedNodeId(DemoModel.Variables.DemoModel_BinarySchema_FinalWorkOrderType, DemoModel.Namespaces.DemoModel);
567590

568591
public static readonly ExpandedNodeId DemoModel_BinarySchema_SampleUnion = new ExpandedNodeId(DemoModel.Variables.DemoModel_BinarySchema_SampleUnion, DemoModel.Namespaces.DemoModel);
@@ -591,6 +614,8 @@ public static partial class VariableIds
591614

592615
public static readonly ExpandedNodeId DemoModel_XmlSchema_ExtendedWorkOrderType = new ExpandedNodeId(DemoModel.Variables.DemoModel_XmlSchema_ExtendedWorkOrderType, DemoModel.Namespaces.DemoModel);
593616

617+
public static readonly ExpandedNodeId DemoModel_XmlSchema_PenultimateWorkOrderType = new ExpandedNodeId(DemoModel.Variables.DemoModel_XmlSchema_PenultimateWorkOrderType, DemoModel.Namespaces.DemoModel);
618+
594619
public static readonly ExpandedNodeId DemoModel_XmlSchema_FinalWorkOrderType = new ExpandedNodeId(DemoModel.Variables.DemoModel_XmlSchema_FinalWorkOrderType, DemoModel.Namespaces.DemoModel);
595620

596621
public static readonly ExpandedNodeId DemoModel_XmlSchema_SampleUnion = new ExpandedNodeId(DemoModel.Variables.DemoModel_XmlSchema_SampleUnion, DemoModel.Namespaces.DemoModel);
@@ -638,6 +663,8 @@ public static partial class BrowseNames
638663

639664
public const string HeaterStatus = "HeaterStatus";
640665

666+
public const string PenultimateWorkOrderType = "PenultimateWorkOrderType";
667+
641668
public const string Person = "Person";
642669

643670
public const string Picture = "Picture";
@@ -725,4 +752,4 @@ public static partial class Namespaces
725752
public const string DI = "http://opcfoundation.org/UA/DI/";
726753
}
727754
#endregion
728-
}
755+
}

0 commit comments

Comments
 (0)