Files
DP44/docs/ai/Common/DTS.Common.ISO/Strings.md
2026-04-17 14:55:32 -04:00

5.4 KiB

source_files, generated_at, model, schema_version, sha256
source_files generated_at model schema_version sha256
Common/DTS.Common.ISO/Strings/StringResources.Designer.cs
2026-04-17T15:42:54.174916+00:00 zai-org/GLM-5-FP8 1 0bdbaddad0c55f8b

Documentation: StringResources.Designer.cs

1. Purpose

This module provides a strongly-typed, auto-generated resource accessor class for localized string constants used throughout the ISO namespace. It centralizes user-facing messages, validation error strings, and device identification patterns for various Data Acquisition System (DAS) hardware products. The class enables culture-aware string lookups via .NET's resource management infrastructure, serving as the single source of truth for display strings in this component.

2. Public Interface

Note: The class is marked internal, so it is only accessible within its assembly.

Class: StringResources (internal)

Static Properties:

Property Type Description
ResourceManager global::System.Resources.ResourceManager Returns the cached ResourceManager instance for this assembly. Lazily initialized with base name "ISO.Strings.StringResources". Marked with EditorBrowsableState.Advanced.
Culture global::System.Globalization.CultureInfo Gets or sets the current thread's CurrentUICulture for resource lookups. Marked with EditorBrowsableState.Advanced.

Resource String Properties (all internal static string, read-only):

The following categories of string resources are exposed as static properties. Each calls ResourceManager.GetString(stringName, resourceCulture):

  • Auto-Detection Messages (~50 properties): Device serial number validation messages for hardware including:

    • AutoDetectDas_DIMShouldStartWithSPD — SLICE PRO DIM serial prefix validation
    • AutoDetectDas_DIRShouldStartWithDI — DIR serial prefix validation
    • AutoDetectDas_DKRShouldStartWithDK — DKR serial prefix validation
    • AutoDetectDAS_G5ShouldStartWith5M — TDAS G5 serial prefix validation
    • AutoDetectDAS_IPAddressRequired — IP address requirement message
    • AutoDetectDAS_MICROBasePlusShouldStartWithBA0 — SLICE MICRO Base+ prefix validation
    • AutoDetectDas_MicroSerialNumberShouldStartWithBA0 — SLICE MICRO prefix validation
    • AutoDetectDAS_NANOBasePlusShouldStartWithBA5 — SLICE NANO Base+ prefix validation
    • AutoDetectDas_PowerProShouldStartWithPPRO — PowerPRO prefix validation
    • AutoDetectDAS_SerialNumberBelongsToAG5 — Device identification message
    • AutoDetectDAS_SerialNumberBelongsToAMicro — Device identification message
    • AutoDetectDas_SerialNumberBelongsToANano — Device identification message
    • AutoDetectDAS_SerialNumberBelongsToAPowerPRO — Device identification message
    • AutoDetectDas_SerialNumberBelongsToASLICEG5 — Device identification message
    • AutoDetectDAS_SerialNumberBelongsToASLICEPROLabSIM — Device identification message
    • AutoDetectDAS_SerialNumberBelongsToASlicePROLabSLE — Device identification message
    • AutoDetectDas_SerialNumberBelongsToASLICEProSim — Device identification message
    • AutoDetectDAS_SerialNumberBelongsToATDASLabRack — Device identification message
    • AutoDetectDas_SerialNumberBelongsToATDASRack — Device identification message
    • AutoDetectDAS_SerialNumberRequired — Serial number requirement message
    • AutoDetectDas_SIMShouldStartWithSPS — SLICE PRO SIM prefix validation
    • AutoDetectDAS_SLDShouldStartWithSLD — SLICE PRO Lab DIM prefix validation
    • AutoDetectDAS_SLICE_SerialNumberBelongsToASLICELABDIM — Device identification
    • AutoDetectDAS_SLICE_SerialNumberBelongsToASLICELABTOM — Device identification
    • AutoDetectDas_SLICE_SerialNumberBelongsToASLICEProDIM — Device identification
    • AutoDetectDas_SLICE6AIRBRShouldStartWith — SLICE 6 AIR-BR prefix validation
    • AutoDetectDas_SLICE6AIRShouldStartWith — SLICE 6 AIR prefix validation
    • AutoDetectDas_SLICE6DB3ShouldStartWith — SLICE 6 distributor 3 prefix validation
    • AutoDetectDas_Slice6DBShouldStartWithS6DB — SLICE 6 distributor prefix validation
    • AutoDetectDas_SLICE6ShouldStartWith — SLICE 6 prefix validation
    • AutoDetectDas_SliceDBShouldStartWithSDB — SLICE distributor prefix validation
    • AutoDetectDas_SliceECM — SLICE PRO Ethernet Control Module prefix validation
    • AutoDetectDas_SliceG5ShouldStartWithSG5 — SLICE G5 prefix validation
    • AutoDetectDAS_SliceLabEthernetShouldStartWithSLE — SLICE Lab Ethernet prefix validation
    • AutoDetectDas_SLICENanoShouldStartWithBA5 — SLICE NANO prefix validation
    • AutoDetectDAS_SLICEPRODBShouldStartWithSPDB — SLICE PRO Distributor prefix validation
    • AutoDetectDas_SliceSPM — SLICE Mini Distributor prefix validation
    • AutoDetectDAS_SLSShouldStartWithSLS — SLICE PRO Lab SIM prefix validation
    • AutoDetectDAS_SLTShouldStartWithSLT — SLICE PRO Lab TOM prefix validation
    • AutoDetectDAS_TDASLabRackShouldStartWith — TDAS PRO lab rack prefix validation
    • AutoDetectDas_TDASRackShouldStartWith — TDAS PRO rack prefix validation
    • AutoDetectDas_TOMShouldStartWithSPT — SLICE PRO TOM prefix validation
    • AutoDetectDas_TSRAIRShouldStartWithTA — TSR AIR prefix validation
    • AutoDetectDas_TypeShouldStartWithPrepend — Generic format string with placeholders {0} and {1}
  • Customer Details Messages:

    • CustomerDetails_FailedToCommit — Commit failure message
    • `Customer