2.4 KiB
source_files, generated_at, model, schema_version, sha256
| source_files | generated_at | model | schema_version | sha256 | |||
|---|---|---|---|---|---|---|---|
|
2026-04-17T16:35:54.913135+00:00 | zai-org/GLM-5-FP8 | 1 | e3203bdeab45d508 |
Documentation: Test Modification Module
1. Purpose
This module defines the contract for a Test Modification feature within the DTS Viewer application. It provides interfaces for modifying test channel properties—including description, EU multiplier/offset, timing parameters (T0, T1, T2), sensitivity, software filters, and data flags—while tracking which fields have been modified. The module follows a Model-View-ViewModel (MVVM) pattern and supports persisting calibration updates to a database.
2. Public Interface
ITestModificationView
Namespace: DTS.Common.Interface
A marker interface extending IBaseView with no additional members. Represents the view component in the MVVM architecture for test modification.
ITestModificationViewModel
Namespace: DTS.Common.Interface
Extends IBaseViewModel. Coordinates between the view and model for test modification operations.
| Member | Type | Description |
|---|---|---|
View |
ITestModificationView |
Gets or sets the associated view instance. |
Parent |
IBaseViewModel |
Gets or sets the parent view model in the hierarchy. |
UseISOCodeFilterMapping |
bool |
Controls whether ISO code should be modified when software filter is modified. |
UseZeroForUnfiltered |
bool |
Controls whether '0' or 'P' is used when ISO code is modified due to software filter change. |
PublishChanges() |
void |
Publishes pending modifications. |
UpdateDatabaseMethod() |
void |
Updates the sensor calibration in the database. |
ITestModificationModel
Namespace: DTS.Common.Interface
Extends IBaseModel. Holds the state and data for test modification operations.
Hierarchy & Context:
| Member | Type | Description |
|---|---|---|
Parent |
ITestModificationViewModel |
Gets or sets the parent view model. |
SelectedChannel |
ITestChannel |
Gets or sets the channel on which modifications are based. |
Sensor |
ISensorDbRecord |
Gets or sets the sensor database |