namespace ZB.MOM.WW.MxGateway.Server.Galaxy; /// /// One row from : a deployed Galaxy /// gobject with its hierarchy parent and template-derivation chain. /// public sealed class GalaxyHierarchyRow { /// Gets the Galaxy object identifier. public int GobjectId { get; init; } /// Gets the tag name. public string TagName { get; init; } = string.Empty; /// Gets the contained name. public string ContainedName { get; init; } = string.Empty; /// Gets the browse name. public string BrowseName { get; init; } = string.Empty; /// Gets the parent Galaxy object identifier. public int ParentGobjectId { get; init; } /// Gets a value indicating whether this is an area. public bool IsArea { get; init; } /// Gets the category identifier. public int CategoryId { get; init; } /// Gets the Galaxy object identifier of the host. public int HostedByGobjectId { get; init; } /// Gets the template derivation chain. public IReadOnlyList TemplateChain { get; init; } = Array.Empty(); } /// One row from . public sealed class GalaxyAttributeRow { /// Gets the Galaxy object identifier. public int GobjectId { get; init; } /// Gets the tag name. public string TagName { get; init; } = string.Empty; /// Gets the attribute name. public string AttributeName { get; init; } = string.Empty; /// Gets the full tag reference. public string FullTagReference { get; init; } = string.Empty; /// Gets the MXAccess data type code. public int MxDataType { get; init; } /// Gets the data type name. public string? DataTypeName { get; init; } /// Gets a value indicating whether this is an array. public bool IsArray { get; init; } /// Gets the array dimension, if applicable. public int? ArrayDimension { get; init; } /// Gets the MXAccess attribute category code. public int MxAttributeCategory { get; init; } /// Gets the security classification code. public int SecurityClassification { get; init; } /// Gets a value indicating whether this is historized. public bool IsHistorized { get; init; } /// Gets a value indicating whether this is an alarm. public bool IsAlarm { get; init; } }