RICADO Gen 4 API JS Client

RICADO Gen 4 API JS Client

Class

RejectBinScaleModel

Extends
  • BaseModel

Summary

RejectBinScaleModel Constructor

.

Description

Model Class for a Reject Bin Scale

Constructor

protected

new RejectBinScaleModel(siteId)

RejectBinScaleModel Constructor

Parameters

  • siteId number

    The Site ID associated with this Reject Bin Scale

Source

Members

sourcesArray.<({type: string, sortingTableId: string, classType: string, varietyClassTypes: Array.<{varietyId: string, classType: string}>}|{type: string, beltName: ?string, classType: string, varietyClassTypes: Array.<{varietyId: string, classType: string}>}|{type: string, sizerId: string, outletNumber: number})>

An Array of Sources that deliver Fruit to this Reject Bin Scale

Type

  • Array.<({type: string, sortingTableId: string, classType: string, varietyClassTypes: Array.<{varietyId: string, classType: string}>}|{type: string, beltName: ?string, classType: string, varietyClassTypes: Array.<{varietyId: string, classType: string}>}|{type: string, sizerId: string, outletNumber: number})>

Source

Methods

static

fromJSON(json, siteId) → {RejectBinScaleModel}

Create a new RejectBinScaleModel 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 Reject Bin Scale

Returns

  • RejectBinScaleModel

Source