2.2 KiB
2.2 KiB
source_files, generated_at, model, schema_version, sha256
| source_files | generated_at | model | schema_version | sha256 | |
|---|---|---|---|---|---|
|
2026-04-17T16:52:23.961528+00:00 | zai-org/GLM-5-FP8 | 1 | a183c0066bcc75c1 |
Documentation: TTSEnums.cs
1. Purpose
This module provides enumerations and a reflection-based attribute system for managing TTS (Toyota Test System) data import field definitions. It exists to track which fields in a Toyota import format are currently supported, deprecated, or removed—addressing issue 18396 where excessive columns caused confusion. The module defines field ordering, bridge types, and zero methods used in Toyota data acquisition configurations.
2. Public Interface
FieldSupportLevel (enum)
Indicates the current support status for a field.
| Value | Description |
|---|---|
RequiredParameter |
Field is actively required |
RemainedButNotUsed |
Field exists in schema but is not utilized |
RemovedParameter |
Field has been removed |
FieldSupportAttribute (class)
Attribute for marking enum fields with their support level.
Properties:
FieldSupportLevel SupportLevel { get; set; }— The support level assigned to the decorated field.
Constructor:
FieldSupportAttribute(FieldSupportLevel value)— Constructs the attribute with the specified support level.
Static Method:
FieldSupportLevel GetSupportLevel(Enum genericEnum)— Retrieves theFieldSupportAttribute.SupportLevelfrom an enum value via reflection. ReturnsFieldSupportLevel.RemovedParameterif no attribute is found or if the member info is unavailable.
ToyotaFieldOrder (enum)
Defines the field ordering and support status for Toyota import columns. Values are explicitly numbered 0–32.
| Value | Integer | Support Level |
|---|---|---|
ChannelNumber |
0 | RequiredParameter |
ChannelCode |
1 | RequiredParameter |
JCodeOrDescription |
2 | RequiredParameter |
ChannelRange |
3 | RequiredParameter |
ChannelFilterHz |
4 | RequiredParameter |
SensorID |
5 | RemainedButNotUsed |
SensorSerialNumber |
6 | RequiredParameter |
SensorSensitivity |
7 | RemainedButNotUsed |
| `SensorExcitationVol |