Files
2026-04-17 14:55:32 -04:00

2.4 KiB

source_files, generated_at, model, schema_version, sha256
source_files generated_at model schema_version sha256
DataPRO/Modules/DatabaseImporter/DatabaseImport/Properties/AssemblyInfo.cs
DataPRO/Modules/DatabaseImporter/DatabaseImport/Properties/Settings.Designer.cs
2026-04-17T16:28:42.805400+00:00 zai-org/GLM-5-FP8 1 798fca9d3593b72e

Properties

Purpose

This module provides assembly-level metadata and application/user settings configuration for the DatabaseImport assembly. It defines persistent configuration values including download paths, auto-arm permissions, calibration warning periods, database type selection, and ISO export compatibility requirements.

Public Interface

Settings (sealed partial class, internal)

  • public static Settings Default { get; } — Singleton instance accessor returning synchronized settings.
  • public string DownloadFolder { get; } — Application-scoped setting, default value "..\\Data".
  • public bool AllowAutoArm { get; } — Application-scoped setting, default value false.
  • public int CalWarningPeriodDays { get; set; } — User-scoped setting, default value 7.
  • public int DBType { get; } — Application-scoped setting, default value 1.
  • public bool RequireXCrashCompatibilityForISOExports { get; } — Application-scoped setting, default value true.

Invariants

  • Settings inherits from System.Configuration.ApplicationSettingsBase and uses thread synchronization via Synchronized().
  • Application-scoped settings (DownloadFolder, AllowAutoArm, DBType, RequireXCrashCompatibilityForISOExports) are read-only at runtime.
  • User-scoped settings (CalWarningPeriodDays) can be modified and persisted.
  • The class is auto-generated by SettingsSingleFileGenerator; manual changes will be overwritten.

Dependencies

  • Depends on: System.Configuration.ApplicationSettingsBase, System.Runtime.CompilerServices, System.CodeDom.Compiler.
  • Depended on by: Unclear from source alone; likely consumed throughout the DatabaseImport assembly for configuration access.

Gotchas

  • DownloadFolder uses a relative path "..\\Data"; the actual location depends on the working directory at runtime.
  • DBType is an integer (default 1); the mapping of integer values to database types is not defined in this source.
  • The CalWarningPeriodDays is user-scoped, meaning it can vary per user profile; other settings are application-wide.