Constructor
new PackingLineModel(siteId)
PackingLineModel Constructor
Parameters
-
siteId
number
The Site ID associated with this Packing Line
Source
Members
advancedPackrunManagementObject
The Advanced Packrun Management Configuration for this Packing Line
Type
-
Object
Source
alarmGroupsArray.<string>
The Alarm Groups that are used by this Packing Line
Type
-
Array.<string>
Source
automationObject
The Automation Object for this Packing Line
Type
-
Object
Source
binTipsArray.<{id: string, displayOrder: number}>
The Bin Tip Objects that belong to this this Packing Line
Type
-
Array.<{id: string, displayOrder: number}>
Source
classTypesArray.<{name: string, points: {currentPackrunPercentage: number, currentPackrunWeight: ?number}, classType: string}>
The Class Types that are defined for this Packing Line
Type
-
Array.<{name: string, points: {currentPackrunPercentage: number, currentPackrunWeight: ?number}, classType: string}>
Source
deletedboolean
Whether the Packing Line has been deleted
Type
-
boolean
Source
freshPackIntegrationObject
The FreshPack Integration Configuration for this Packing Line
Type
-
Object
Source
freshQualityIntegrationObject
The FreshQuality Integration Configuration for this Packing Line
Type
-
Object
Source
idstring
The Packing Line ID
Type
-
string
Source
mafIntegrationObject
The MAF Integration Configuration for this Packing Line
Type
-
Object
Source
namestring
The Packing Line Name
Type
-
string
Source
pointsObject
The Points used by this Packing Line
Type
-
Object
Source
rejectBinScalesArray.<{id: string, displayOrder: number}>
The Reject Bin Scale Objects that belong to this Packing Line
Type
-
Array.<{id: string, displayOrder: number}>
Source
rtuIdnumber
The RTU this Packing Line belongs to
Type
-
number
Source
secondaryPackingLineObject
An Optional Secondary Packing Line Reference
Type
-
Object
Source
shiftManagementObject
The Optional Shift Management Object for this Packing Line
Type
-
Object
Source
shortNamestring
A Short Name for the Packing Line Name. Typically used in Reports and Tables showing multiple Packing Lines
Type
-
string
Source
siteIdnumber
The Site ID associated with this Packing Line
Type
-
number
Source
sizersArray.<{id: string, displayOrder: number, ownedBySecondaryPackingLine: boolean}>
The Sizer Objects that belong to this Packing Line
Type
-
Array.<{id: string, displayOrder: number, ownedBySecondaryPackingLine: boolean}>
Source
updateTimestampDate
When the Packing Line was last updated
Type
-
Date
Source
Methods
fromJSON(json, siteId) → {PackingLineModel}
Create a new PackingLineModel 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 Packing Line
Returns
-
PackingLineModel