OEETestWorkerUpdate: {
    availabilityDefectCategoryId?: number | null;
    availabilityPartOverrideId?: number | null;
    availabilityProcessOverrideId?: number | null;
    availableTime?: number | null;
    badParts?: Record<number, number>;
    downtimeReasons?: Record<number, number>;
    enableTotalParts?: boolean;
    goodParts?: number | null;
    idealCycleTime?: number | null;
    partOverrideId?: number | null;
    qualityDefectCategoryId?: number | null;
    qualityPartOverrideId?: number | null;
    qualityProcessOverrideId?: number | null;
    scheduledTime?: number | null;
    totalParts?: number | null;
    trackAvailability?: OEEAvailabilityType;
    trackPerformance?: boolean;
    trackQuality?: OEEQualityType;
} & DataTestWorkerUpdate

Type declaration

  • OptionalavailabilityDefectCategoryId?: number | null

    Change the defect category to use to track the availability.

    This property is unused if trackAvailability is not set to downtimeWithReasons.

  • OptionalavailabilityPartOverrideId?: number | null

    Change the part to use when tracking availability.

    This property will not be used if trackAvailability is not set to downtimeWithReasons.

  • OptionalavailabilityProcessOverrideId?: number | null

    Change the process to use when tracking availability.

    This property will not be used if trackAvailability is not set to downtimeWithReasons.

  • OptionalavailableTime?: number | null

    Change the total available time.

    If trackAvailability is not set to 'availability', this value will not be used.

  • OptionalbadParts?: Record<number, number>

    Change the bad parts which have been recorded. This must be an object where the key is the defect id and the number is the defect count.

    This property will be ignored if no quality defect category is set.

    This will throw an error if a defectId is used which is not present in the quality defect category. Only the defects included in badParts will be updated.

  • OptionaldowntimeReasons?: Record<number, number>

    Change the downtime reasons which have been recorded. This must be an object where the key is the defect id and the number is the defect count.

    This property will be ignored if no availability defect category is set.

    This will throw an error if a defectId is used which is not present in the availability defect category. Only the defects included in downtimeReasons will be updated.

  • OptionalenableTotalParts?: boolean

    Change whether the operator is able to enter total parts.

  • OptionalgoodParts?: number | null

    Change the good parts produced.

    If trackQuality is not set to 'goodParts', this value will not be used.

  • OptionalidealCycleTime?: number | null

    Change the ideal cycle time.

  • OptionalpartOverrideId?: number | null

    Change the part to use for this test.

    Expects the ID of the part.

    null to unset the part override.

  • OptionalqualityDefectCategoryId?: number | null

    Change the defect category to use to track the quality.

    This property is unused if trackQuality is not set to badPartsWithDefects.

  • OptionalqualityPartOverrideId?: number | null

    Change the part to use when tracking quality.

    This property will not be used if trackQuality is not set to badPartsWithDefects.

  • OptionalqualityProcessOverrideId?: number | null

    Change the process to use when tracking quality.

    This property will not be used if trackQuality is not set to badPartsWithDefects.

  • OptionalscheduledTime?: number | null

    Change the total scheduled time in minutes.

  • OptionaltotalParts?: number | null

    Change the total parts, including good parts and bad parts.

  • OptionaltrackAvailability?: OEEAvailabilityType

    Change how availability is tracked.

    'available': Have the operator record the available time. 'downtimeWithReasons': Have the operator record the downtime and the reasons for it. 'doNotTrack': Nothing will be tracked for availability.

  • OptionaltrackPerformance?: boolean

    Change whether or not to track performance data.

  • OptionaltrackQuality?: OEEQualityType

    Change how quality is tracked.

    'goodParts': Have the operator record the number of good parts. 'badPartsWithDefects': Have the operator record bad parts and the defects. 'noNotTrack': Nothing will be tracked for quality.