namespace ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.Pickers; /// /// Pure static helper that converts AB Legacy PLC file-type + file-number + element /// into the canonical address string (e.g. N7:0). /// Extracted so unit tests can call it without bUnit. /// public static class AbLegacyAddressBuilder { /// Builds the canonical AB Legacy address string from its file-type, file-number, and element parts. /// The file-type prefix (e.g. N). /// The file number. /// The element index within the file. /// The canonical address string (e.g. N7:0). public static string Build(string fileType, int fileNumber, int element) => $"{fileType}{fileNumber}:{element}"; }