chore(core): flatten Historian sub-namespace to Core.Abstractions root
Four continuous-historization types (IHistorizationOutbox, HistorizationOutboxEntry, IHistorianValueWriter/HistorizationValue, HistorizationCommitMode) drifted into a ZB.MOM.WW.OtOpcUa.Core.Abstractions.Historian sub-namespace while the other six files in the same folder correctly use the root namespace. This violated decision #59's flat-public-surface rule and left InterfaceIndependenceTests.AllPublicTypes_LiveInRootNamespace red on master (pre-existing, predates round-2 remediation). Move all four to the root namespace and drop/retarget the now-redundant 'using ...Core.Abstractions.Historian;' in the ~11 consumers. No behavioral change. Verified: Core.Abstractions.Tests 129/129 (was 128/129), Runtime.Tests Historian+DI 72/72, Gateway driver unit 102/102, full solution build 0 errors.
This commit is contained in:
-1
@@ -3,7 +3,6 @@ using Shouldly;
|
||||
using Xunit;
|
||||
using ZB.MOM.WW.HistorianGateway.Contracts.Grpc;
|
||||
using ZB.MOM.WW.OtOpcUa.Core.Abstractions;
|
||||
using ZB.MOM.WW.OtOpcUa.Core.Abstractions.Historian;
|
||||
using ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian;
|
||||
using ZB.MOM.WW.OtOpcUa.Driver.Historian.Gateway.Recorder;
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
using System.Linq;
|
||||
using Xunit;
|
||||
using ZB.MOM.WW.OtOpcUa.Core.Abstractions.Historian;
|
||||
using ZB.MOM.WW.OtOpcUa.Core.Abstractions;
|
||||
using ZB.MOM.WW.OtOpcUa.Driver.Historian.Gateway.Recorder;
|
||||
|
||||
namespace ZB.MOM.WW.OtOpcUa.Driver.Historian.Gateway.Tests.Recorder;
|
||||
|
||||
Reference in New Issue
Block a user