| | |
| | | |
| | | export interface TestBatteryPayload { |
| | | relationId?: number |
| | | testBatteryId?: number |
| | | groupId: number |
| | | groupName?: string | null |
| | | batteryNo: string |
| | |
| | | measurementName: string |
| | | channelCode: string |
| | | }> |
| | | fields: Array<{ fieldId?: number; fieldName: string; fieldValue: string }> |
| | | fields: Array<{ fieldId?: number; fieldDefinitionId?: number; fieldName: string; fieldType?: string; fieldValue: string }> |
| | | } |
| | | |
| | | export interface TestThresholdPayload { |
| | |
| | | receptionStatus: ReceptionStatusCode |
| | | startedAtUtc?: string | null |
| | | endedAtUtc?: string | null |
| | | fieldSnapshots: Array<{ |
| | | /** 历史兼容字段;新接口不返回测试字段快照,字段从 batteries[].fields 读取。 */ |
| | | fieldSnapshots?: Array<{ |
| | | snapshotId: number |
| | | fieldDefinitionId: number |
| | | fieldName: string |