PassFailTestWorkerGet: {
    defect?: SingleDefect;
    failColor: string;
    failLabel: string;
    naColor: string;
    naLabel: string;
    ncuOnFailure: number;
    onlyShowIfMatchesPart: boolean;
    partOverride?: GSBaseEntity;
    passColor: string;
    passLabel: string;
    sampleSize: number;
    showNA: boolean;
    value?: PassFailType;
} & DataTestWorkerGet

Type declaration

  • Optionaldefect?: SingleDefect

    The defect to record when this test is marked as 'fail'.

  • failColor: string

    The color of the fail button.

  • failLabel: string

    The label for the fail button.

  • naColor: string

    The color of the N/A button.

  • naLabel: string

    The label for the N/A button.

  • ncuOnFailure: number

    How many non-conforming units will be tracked on fail.

  • onlyShowIfMatchesPart: boolean

    Whether this test should only be displayed if the part in the test's context contains the defect set on this test.

  • OptionalpartOverride?: GSBaseEntity

    The part override set on this test.

  • passColor: string

    The color of the pass button.

  • passLabel: string

    The label for the pass button.

  • sampleSize: number

    The sample size to track with this test.

  • showNA: boolean

    Whether or not to show the N/A button.

  • Optionalvalue?: PassFailType

    The currently selected option.