62 lines
2.2 KiB
Markdown
62 lines
2.2 KiB
Markdown
|
|
---
|
||
|
|
source_files:
|
||
|
|
- Common/DTS.Common/Interface/SystemSettings/ISOSettings/IisoSettingsView.cs
|
||
|
|
- Common/DTS.Common/Interface/SystemSettings/ISOSettings/IISOSettingsModel.cs
|
||
|
|
- Common/DTS.Common/Interface/SystemSettings/ISOSettings/IISOSettingsViewModel.cs
|
||
|
|
- Common/DTS.Common/Interface/SystemSettings/ISOSettings/IISOSettingsData.cs
|
||
|
|
generated_at: "2026-04-17T16:35:04.545245+00:00"
|
||
|
|
model: "zai-org/GLM-5-FP8"
|
||
|
|
schema_version: 1
|
||
|
|
sha256: "fddef7f2bd60cdbb"
|
||
|
|
---
|
||
|
|
|
||
|
|
# ISO Settings Module Documentation
|
||
|
|
|
||
|
|
## 1. Purpose
|
||
|
|
|
||
|
|
This module defines the contract for ISO (International Organization for Standardization) settings configuration within the DTS system. It establishes a Model-View-ViewModel (MVVM) architecture for managing ISO-related application settings, including code display preferences, view modes, and validation requirements. The interfaces provide abstraction layers that decouple the presentation logic from data persistence and business rules.
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## 2. Public Interface
|
||
|
|
|
||
|
|
### `IISOSettingsView`
|
||
|
|
**Namespace:** `DTS.Common.Interface`
|
||
|
|
**Inherits:** `IBaseView`
|
||
|
|
|
||
|
|
A marker interface for the ISO Settings view component. Contains no members; all behavior is inherited from `IBaseView`.
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
### `IISOSettingsModel`
|
||
|
|
**Namespace:** `DTS.Common.Interface`
|
||
|
|
**Inherits:** `IBaseModel`
|
||
|
|
|
||
|
|
Defines the data persistence contract for ISO settings.
|
||
|
|
|
||
|
|
| Method | Signature | Description |
|
||
|
|
|--------|-----------|-------------|
|
||
|
|
| `SaveData` | `void SaveData(IISOSettingsData data)` | Persists the provided ISO settings data. |
|
||
|
|
| `LoadData` | `IISOSettingsData LoadData()` | Retrieves the current ISO settings data. |
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
### `IISOSettingsViewModel`
|
||
|
|
**Namespace:** `DTS.Common.Interface`
|
||
|
|
**Inherits:** `IBaseViewModel`
|
||
|
|
|
||
|
|
Defines the coordinator between view, model, and data components.
|
||
|
|
|
||
|
|
| Property | Type | Access | Description |
|
||
|
|
|----------|------|--------|-------------|
|
||
|
|
| `View` | `IISOSettingsView` | `get; set;` | Reference to the associated view instance. |
|
||
|
|
| `ISOData` | `IISOSettingsData` | `get; set;` | The ISO settings data being managed. |
|
||
|
|
| `Model` | `IISOSettingsModel` | `get; set;` | Reference to the model for data operations. |
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
### `IISOSettingsData`
|
||
|
|
**Namespace:** `DTS.Common.Interface`
|
||
|
|
**Inherits:** `IBaseClass`
|
||
|
|
|
||
|
|
Defines the data structure
|