docs(galaxy): neutralize remaining stale SystemPlatform/alias terminology in comments + a test name
Replace "SystemPlatform mirror tag", "Galaxy alias", and "SystemPlatform-kind" in doc-comments and
test names with neutral accurate wording ("FolderPath-scoped tag", "EquipmentId == null", etc.).
No code, logic, or test bodies changed — comments and one test method name only.
This commit is contained in:
+9
-9
@@ -42,7 +42,7 @@ public sealed class ScriptTagCatalogTests
|
||||
|
||||
/// <summary>
|
||||
/// Seeds an Area → Line → Equipment path with: one equipment driver tag (FullName "Motor.Speed"),
|
||||
/// one virtual tag, and one SystemPlatform tag (EquipmentId null, FolderPath set).
|
||||
/// one virtual tag, and one FolderPath-scoped tag (EquipmentId null, FolderPath set).
|
||||
/// </summary>
|
||||
private static void Seed(DbContextOptions<OtOpcUaConfigDbContext> opts)
|
||||
{
|
||||
@@ -71,7 +71,7 @@ public sealed class ScriptTagCatalogTests
|
||||
TagConfig = "{\"FullName\":\"Motor.Speed\"}",
|
||||
});
|
||||
|
||||
// SystemPlatform tag — EquipmentId null, FolderPath set; Galaxy subscribes by "FolderPath.Name".
|
||||
// FolderPath-scoped tag — EquipmentId null, FolderPath set; subscribes by "FolderPath.Name".
|
||||
db.Tags.Add(new Tag
|
||||
{
|
||||
TagId = "TAG-SP",
|
||||
@@ -97,7 +97,7 @@ public sealed class ScriptTagCatalogTests
|
||||
}
|
||||
|
||||
/// <summary>A null filter returns only the resolvable keys: the driver FullName for the equipment
|
||||
/// tag, the MXAccess dot-ref for the SystemPlatform tag, and the virtual tag's leaf Name — and
|
||||
/// tag, the MXAccess dot-ref for the FolderPath-scoped tag, and the virtual tag's leaf Name — and
|
||||
/// NONE of the UNS browse paths.</summary>
|
||||
[Fact]
|
||||
public async Task GetPaths_no_filter_returns_resolvable_keys_only()
|
||||
@@ -110,7 +110,7 @@ public sealed class ScriptTagCatalogTests
|
||||
// Equipment driver tag: the authoritative GetTag key (driver FullName).
|
||||
paths.ShouldContain("Motor.Speed");
|
||||
|
||||
// SystemPlatform tag: MXAccess dot-ref.
|
||||
// FolderPath-scoped tag: MXAccess dot-ref.
|
||||
paths.ShouldContain("DelmiaReceiver_001.DownloadPath");
|
||||
|
||||
// Virtual tag: leaf Name only.
|
||||
@@ -193,10 +193,10 @@ public sealed class ScriptTagCatalogTests
|
||||
paths.ShouldContain("Computed");
|
||||
}
|
||||
|
||||
/// <summary>A SystemPlatform tag with a null/empty <c>FolderPath</c> yields just its <c>Name</c>
|
||||
/// <summary>A FolderPath-scoped tag with a null/empty <c>FolderPath</c> yields just its <c>Name</c>
|
||||
/// (no leading dot).</summary>
|
||||
[Fact]
|
||||
public async Task GetPaths_systemplatform_tag_without_folder_yields_name_only()
|
||||
public async Task GetPaths_unbound_tag_without_folder_yields_name_only()
|
||||
{
|
||||
var (catalog, opts) = Fresh();
|
||||
|
||||
@@ -233,10 +233,10 @@ public sealed class ScriptTagCatalogTests
|
||||
paths.ShouldBeEmpty();
|
||||
}
|
||||
|
||||
/// <summary>A SystemPlatform tag resolves by its "FolderPath.Name" dot-ref to a Tag-kind info with
|
||||
/// the configured DataType + DriverInstanceId.</summary>
|
||||
/// <summary>A FolderPath-scoped tag resolves by its "FolderPath.Name" dot-ref to a Tag-kind info
|
||||
/// with the configured DataType + DriverInstanceId.</summary>
|
||||
[Fact]
|
||||
public async Task GetTagInfo_systemplatform_tag_returns_tag_info()
|
||||
public async Task GetTagInfo_unbound_tag_returns_tag_info()
|
||||
{
|
||||
var (catalog, opts) = Fresh();
|
||||
Seed(opts);
|
||||
|
||||
Reference in New Issue
Block a user