RICADO Gen 4 API JS Client

RICADO Gen 4 API JS Client

Class

ShiftQualitySummaryModel

Extends
  • BaseModel

Summary

ShiftQualitySummaryModel Constructor

.

Description

Model Class for a Shift Quality Summary

Constructor

protected

new ShiftQualitySummaryModel(siteId)

ShiftQualitySummaryModel Constructor

Parameters

  • siteId number

    The Site ID associated with this Shift Quality Summary

Source

Members

packrunResultsArray.<{packrunId: string, packrunName: string, minorPackingDefects: number, majorPackingDefects: number, softs: number, cuts: number, rots: number, softsLineAverageSampleSize: ?number, softsLineAverageValue: ?number, exportFruitInClass2: ?number, exportFruitInLocalMarket: ?number, exportFruitInWaste: ?number}>

An Array of Packrun Results for this Summary

Type

  • Array.<{packrunId: string, packrunName: string, minorPackingDefects: number, majorPackingDefects: number, softs: number, cuts: number, rots: number, softsLineAverageSampleSize: ?number, softsLineAverageValue: ?number, exportFruitInClass2: ?number, exportFruitInLocalMarket: ?number, exportFruitInWaste: ?number}>

Source

Methods

static

fromJSON(json, siteId) → {ShiftQualitySummaryModel}

Create a new ShiftQualitySummaryModel from a JSON Object or JSON String

Parameters

  • json Object.<string, any> | string

    A JSON Object or JSON String

  • siteId number

    The Site ID associated with this Shift Quality Summary

Returns

  • ShiftQualitySummaryModel

Source