@ricado/api-client 2.2.0 → 2.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ricado.api.client.js +1 -1
- package/lib/Controllers/Packhouse/Site/BinTipBinController.js +267 -0
- package/lib/Controllers/Packhouse/Site/BinTipWeightController.js +267 -0
- package/lib/Controllers/Packhouse/Site/CompacSizerBatchController.js +267 -0
- package/lib/Controllers/Packhouse/Site/CompacSizerOutletProductChangeController.js +267 -0
- package/lib/Controllers/Packhouse/Site/CompacSizerOutletTypeChangeController.js +267 -0
- package/lib/Controllers/Packhouse/Site/CompacSizerPackrunSummaryController.js +267 -0
- package/lib/Controllers/Packhouse/Site/DowntimeEventController.js +267 -0
- package/lib/Controllers/Packhouse/Site/FreshPackPackrunSummaryController.js +267 -0
- package/lib/Controllers/Packhouse/Site/FreshQualityPackrunSummaryController.js +267 -0
- package/lib/Controllers/Packhouse/Site/PackingLineController.js +4 -0
- package/lib/Controllers/Packhouse/Site/PackrunController.js +267 -0
- package/lib/Controllers/Packhouse/Site/RejectBinController.js +267 -0
- package/lib/Controllers/Packhouse/Site/RejectBinWeightController.js +267 -0
- package/lib/Controllers/Packhouse/Site/ShiftController.js +267 -0
- package/lib/Controllers/Packhouse/Site/ShiftFocusMeetingController.js +267 -0
- package/lib/Controllers/Packhouse/Site/ShiftHourlyEntryController.js +267 -0
- package/lib/Controllers/Packhouse/Site/ShiftQualitySummaryController.js +267 -0
- package/lib/Controllers/Packhouse/Site/ShiftTaskController.js +267 -0
- package/lib/Controllers/Site/PermanentObjectDataController.js +267 -0
- package/lib/DataItems/PointValueItem.js +3 -3
- package/lib/Models/AccountPolicyModel.js +7 -7
- package/lib/Models/ApiAccountModel.js +7 -7
- package/lib/Models/CompanyModel.js +5 -5
- package/lib/Models/FirebaseTokenModel.js +8 -8
- package/lib/Models/Packhouse/Site/BinTipBinModel.js +13 -13
- package/lib/Models/Packhouse/Site/BinTipWeightModel.js +9 -9
- package/lib/Models/Packhouse/Site/CompacSizerBatchModel.js +8 -8
- package/lib/Models/Packhouse/Site/CompacSizerModel.js +14 -14
- package/lib/Models/Packhouse/Site/CompacSizerOutletProductChangeModel.js +10 -10
- package/lib/Models/Packhouse/Site/CompacSizerOutletTypeChangeModel.js +8 -8
- package/lib/Models/Packhouse/Site/CompacSizerOutletTypeModel.js +6 -6
- package/lib/Models/Packhouse/Site/CompacSizerPackrunSummaryModel.js +12 -12
- package/lib/Models/Packhouse/Site/DowntimeEventModel.js +14 -14
- package/lib/Models/Packhouse/Site/FreshPackPackrunSummaryModel.js +8 -8
- package/lib/Models/Packhouse/Site/FreshQualityPackrunSummaryModel.js +10 -10
- package/lib/Models/Packhouse/Site/GrowingMethodModel.js +6 -6
- package/lib/Models/Packhouse/Site/PackTypeModel.js +8 -8
- package/lib/Models/Packhouse/Site/PackingLineModel.js +60 -16
- package/lib/Models/Packhouse/Site/PackrunModel.js +18 -18
- package/lib/Models/Packhouse/Site/RejectBinModel.js +9 -9
- package/lib/Models/Packhouse/Site/RejectBinScaleModel.js +23 -23
- package/lib/Models/Packhouse/Site/RejectBinWeightModel.js +10 -10
- package/lib/Models/Packhouse/Site/ShiftFocusMeetingModel.js +12 -12
- package/lib/Models/Packhouse/Site/ShiftHourlyEntryModel.js +44 -44
- package/lib/Models/Packhouse/Site/ShiftModel.js +26 -19
- package/lib/Models/Packhouse/Site/ShiftQualitySummaryModel.js +14 -14
- package/lib/Models/Packhouse/Site/ShiftTaskModel.js +14 -14
- package/lib/Models/Packhouse/Site/SoftSortBeltModel.js +7 -7
- package/lib/Models/Packhouse/Site/VarietyModel.js +8 -8
- package/lib/Models/RTUModel.js +6 -6
- package/lib/Models/RTUPluginModel.js +5 -5
- package/lib/Models/Site/AlarmGroupModel.js +7 -7
- package/lib/Models/Site/AlarmModel.js +17 -17
- package/lib/Models/Site/DefinitionModel.js +6 -6
- package/lib/Models/Site/PermanentObjectDataModel.js +8 -8
- package/lib/Models/Site/PermanentObjectModel.js +7 -7
- package/lib/Models/Site/PointModel.js +11 -11
- package/lib/Models/Site/TemporaryObjectModel.js +6 -6
- package/lib/Models/SiteModel.js +6 -6
- package/lib/Models/TokenModel.js +10 -10
- package/lib/Models/UserAccountActionTokenModel.js +11 -11
- package/lib/Models/UserAccountModel.js +10 -10
- package/lib/PackageVersion.js +1 -1
- package/lib/Points.js +22 -12
- package/lib/WebSocketHelper.js +29 -13
- package/lib/index.d.ts +715 -361
- package/lib/index.js +3 -3
- package/package.json +1 -1
- package/src/Controllers/Packhouse/Site/BinTipBinController.js +355 -0
- package/src/Controllers/Packhouse/Site/BinTipWeightController.js +355 -0
- package/src/Controllers/Packhouse/Site/CompacSizerBatchController.js +355 -0
- package/src/Controllers/Packhouse/Site/CompacSizerOutletProductChangeController.js +355 -0
- package/src/Controllers/Packhouse/Site/CompacSizerOutletTypeChangeController.js +355 -0
- package/src/Controllers/Packhouse/Site/CompacSizerPackrunSummaryController.js +355 -0
- package/src/Controllers/Packhouse/Site/DowntimeEventController.js +355 -0
- package/src/Controllers/Packhouse/Site/FreshPackPackrunSummaryController.js +355 -0
- package/src/Controllers/Packhouse/Site/FreshQualityPackrunSummaryController.js +355 -0
- package/src/Controllers/Packhouse/Site/PackingLineController.js +4 -0
- package/src/Controllers/Packhouse/Site/PackrunController.js +355 -0
- package/src/Controllers/Packhouse/Site/RejectBinController.js +355 -0
- package/src/Controllers/Packhouse/Site/RejectBinWeightController.js +355 -0
- package/src/Controllers/Packhouse/Site/ShiftController.js +355 -0
- package/src/Controllers/Packhouse/Site/ShiftFocusMeetingController.js +355 -0
- package/src/Controllers/Packhouse/Site/ShiftHourlyEntryController.js +355 -0
- package/src/Controllers/Packhouse/Site/ShiftQualitySummaryController.js +355 -0
- package/src/Controllers/Packhouse/Site/ShiftTaskController.js +355 -0
- package/src/Controllers/Site/PermanentObjectDataController.js +355 -0
- package/src/DataItems/PointValueItem.js +3 -3
- package/src/Models/AccountPolicyModel.js +7 -7
- package/src/Models/ApiAccountModel.js +7 -7
- package/src/Models/CompanyModel.js +5 -5
- package/src/Models/FirebaseTokenModel.js +8 -8
- package/src/Models/Packhouse/Site/BinTipBinModel.js +13 -13
- package/src/Models/Packhouse/Site/BinTipWeightModel.js +9 -9
- package/src/Models/Packhouse/Site/CompacSizerBatchModel.js +8 -8
- package/src/Models/Packhouse/Site/CompacSizerModel.js +14 -14
- package/src/Models/Packhouse/Site/CompacSizerOutletProductChangeModel.js +10 -10
- package/src/Models/Packhouse/Site/CompacSizerOutletTypeChangeModel.js +8 -8
- package/src/Models/Packhouse/Site/CompacSizerOutletTypeModel.js +6 -6
- package/src/Models/Packhouse/Site/CompacSizerPackrunSummaryModel.js +12 -12
- package/src/Models/Packhouse/Site/DowntimeEventModel.js +14 -14
- package/src/Models/Packhouse/Site/FreshPackPackrunSummaryModel.js +8 -8
- package/src/Models/Packhouse/Site/FreshQualityPackrunSummaryModel.js +10 -10
- package/src/Models/Packhouse/Site/GrowingMethodModel.js +6 -6
- package/src/Models/Packhouse/Site/PackTypeModel.js +8 -8
- package/src/Models/Packhouse/Site/PackingLineModel.js +66 -16
- package/src/Models/Packhouse/Site/PackrunModel.js +18 -18
- package/src/Models/Packhouse/Site/RejectBinModel.js +9 -9
- package/src/Models/Packhouse/Site/RejectBinScaleModel.js +23 -23
- package/src/Models/Packhouse/Site/RejectBinWeightModel.js +10 -10
- package/src/Models/Packhouse/Site/ShiftFocusMeetingModel.js +12 -12
- package/src/Models/Packhouse/Site/ShiftHourlyEntryModel.js +44 -44
- package/src/Models/Packhouse/Site/ShiftModel.js +29 -19
- package/src/Models/Packhouse/Site/ShiftQualitySummaryModel.js +14 -14
- package/src/Models/Packhouse/Site/ShiftTaskModel.js +14 -14
- package/src/Models/Packhouse/Site/SoftSortBeltModel.js +7 -7
- package/src/Models/Packhouse/Site/VarietyModel.js +8 -8
- package/src/Models/RTUModel.js +6 -6
- package/src/Models/RTUPluginModel.js +5 -5
- package/src/Models/Site/AlarmGroupModel.js +7 -7
- package/src/Models/Site/AlarmModel.js +17 -17
- package/src/Models/Site/DefinitionModel.js +6 -6
- package/src/Models/Site/PermanentObjectDataModel.js +8 -8
- package/src/Models/Site/PermanentObjectModel.js +7 -7
- package/src/Models/Site/PointModel.js +11 -11
- package/src/Models/Site/TemporaryObjectModel.js +6 -6
- package/src/Models/SiteModel.js +6 -6
- package/src/Models/TokenModel.js +10 -10
- package/src/Models/UserAccountActionTokenModel.js +11 -11
- package/src/Models/UserAccountModel.js +10 -10
- package/src/PackageVersion.js +1 -1
- package/src/Points.js +24 -12
- package/src/WebSocketHelper.js +34 -13
- package/src/index.js +3 -3
- package/types/tslint.json +2 -1
|
@@ -62,7 +62,7 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
62
62
|
* @public
|
|
63
63
|
*/
|
|
64
64
|
|
|
65
|
-
_this.id =
|
|
65
|
+
_this.id = "";
|
|
66
66
|
/**
|
|
67
67
|
* The RTU this Packing Line belongs to
|
|
68
68
|
*
|
|
@@ -70,7 +70,7 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
70
70
|
* @public
|
|
71
71
|
*/
|
|
72
72
|
|
|
73
|
-
_this.rtuId =
|
|
73
|
+
_this.rtuId = null;
|
|
74
74
|
/**
|
|
75
75
|
* The Packing Line Name
|
|
76
76
|
*
|
|
@@ -78,7 +78,7 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
78
78
|
* @public
|
|
79
79
|
*/
|
|
80
80
|
|
|
81
|
-
_this.name =
|
|
81
|
+
_this.name = "";
|
|
82
82
|
/**
|
|
83
83
|
* The Points used by this Packing Line
|
|
84
84
|
*
|
|
@@ -86,7 +86,7 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
86
86
|
* @public
|
|
87
87
|
*/
|
|
88
88
|
|
|
89
|
-
_this.points =
|
|
89
|
+
_this.points = {};
|
|
90
90
|
/**
|
|
91
91
|
* The Sizer Objects that belong to this Packing Line
|
|
92
92
|
*
|
|
@@ -94,7 +94,7 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
94
94
|
* @public
|
|
95
95
|
*/
|
|
96
96
|
|
|
97
|
-
_this.sizers =
|
|
97
|
+
_this.sizers = [];
|
|
98
98
|
/**
|
|
99
99
|
* The Bin Tip Objects that belong to this this Packing Line
|
|
100
100
|
*
|
|
@@ -102,7 +102,7 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
102
102
|
* @public
|
|
103
103
|
*/
|
|
104
104
|
|
|
105
|
-
_this.binTips =
|
|
105
|
+
_this.binTips = [];
|
|
106
106
|
/**
|
|
107
107
|
* The Reject Bin Scale Objects that belong to this Packing Line
|
|
108
108
|
*
|
|
@@ -110,7 +110,7 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
110
110
|
* @public
|
|
111
111
|
*/
|
|
112
112
|
|
|
113
|
-
_this.rejectBinScales =
|
|
113
|
+
_this.rejectBinScales = [];
|
|
114
114
|
/**
|
|
115
115
|
* An Optional Secondary Packing Line Reference
|
|
116
116
|
*
|
|
@@ -118,7 +118,7 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
118
118
|
* @public
|
|
119
119
|
*/
|
|
120
120
|
|
|
121
|
-
_this.secondaryPackingLine =
|
|
121
|
+
_this.secondaryPackingLine = null;
|
|
122
122
|
/**
|
|
123
123
|
* The Automation Object for this Packing Line
|
|
124
124
|
*
|
|
@@ -126,7 +126,7 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
126
126
|
* @public
|
|
127
127
|
*/
|
|
128
128
|
|
|
129
|
-
_this.automation =
|
|
129
|
+
_this.automation = null;
|
|
130
130
|
/**
|
|
131
131
|
* The Alarm Groups that are used by this Packing Line
|
|
132
132
|
*
|
|
@@ -134,7 +134,7 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
134
134
|
* @public
|
|
135
135
|
*/
|
|
136
136
|
|
|
137
|
-
_this.alarmGroups =
|
|
137
|
+
_this.alarmGroups = [];
|
|
138
138
|
/**
|
|
139
139
|
* The Class Types that are defined for this Packing Line
|
|
140
140
|
*
|
|
@@ -142,7 +142,7 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
142
142
|
* @public
|
|
143
143
|
*/
|
|
144
144
|
|
|
145
|
-
_this.classTypes =
|
|
145
|
+
_this.classTypes = [];
|
|
146
146
|
/**
|
|
147
147
|
* The Optional Shift Management Object for this Packing Line
|
|
148
148
|
*
|
|
@@ -150,7 +150,23 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
150
150
|
* @public
|
|
151
151
|
*/
|
|
152
152
|
|
|
153
|
-
_this.shiftManagement =
|
|
153
|
+
_this.shiftManagement = null;
|
|
154
|
+
/**
|
|
155
|
+
* The Advanced Packrun Management Configuration for this Packing Line
|
|
156
|
+
*
|
|
157
|
+
* @type {?Object}
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
160
|
+
|
|
161
|
+
_this.advancedPackrunManagement = null;
|
|
162
|
+
/**
|
|
163
|
+
* The MAF Integration Configuration for this Packing Line
|
|
164
|
+
*
|
|
165
|
+
* @type {?Object}
|
|
166
|
+
* @public
|
|
167
|
+
*/
|
|
168
|
+
|
|
169
|
+
_this.mafIntegration = null;
|
|
154
170
|
/**
|
|
155
171
|
* The FreshPack Integration Configuration for this Packing Line
|
|
156
172
|
*
|
|
@@ -158,7 +174,7 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
158
174
|
* @public
|
|
159
175
|
*/
|
|
160
176
|
|
|
161
|
-
_this.freshPackIntegration =
|
|
177
|
+
_this.freshPackIntegration = null;
|
|
162
178
|
/**
|
|
163
179
|
* The FreshQuality Integration Configuration for this Packing Line
|
|
164
180
|
*
|
|
@@ -166,7 +182,7 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
166
182
|
* @public
|
|
167
183
|
*/
|
|
168
184
|
|
|
169
|
-
_this.freshQualityIntegration =
|
|
185
|
+
_this.freshQualityIntegration = null;
|
|
170
186
|
/**
|
|
171
187
|
* Whether the Packing Line has been deleted
|
|
172
188
|
*
|
|
@@ -174,7 +190,7 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
174
190
|
* @public
|
|
175
191
|
*/
|
|
176
192
|
|
|
177
|
-
_this.deleted =
|
|
193
|
+
_this.deleted = false;
|
|
178
194
|
/**
|
|
179
195
|
* When the Packing Line was last updated
|
|
180
196
|
*
|
|
@@ -182,7 +198,7 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
182
198
|
* @public
|
|
183
199
|
*/
|
|
184
200
|
|
|
185
|
-
_this.updateTimestamp =
|
|
201
|
+
_this.updateTimestamp = new Date();
|
|
186
202
|
/**
|
|
187
203
|
* The Site ID associated with this Packing Line
|
|
188
204
|
*
|
|
@@ -1039,6 +1055,34 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
1039
1055
|
}();
|
|
1040
1056
|
}
|
|
1041
1057
|
|
|
1058
|
+
if ('advancedPackrunManagement' in jsonObject) {
|
|
1059
|
+
model.advancedPackrunManagement = function () {
|
|
1060
|
+
if (jsonObject['advancedPackrunManagement'] === null) {
|
|
1061
|
+
return null;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
if (_typeof(jsonObject['advancedPackrunManagement']) !== 'object') {
|
|
1065
|
+
return Object(jsonObject['advancedPackrunManagement']);
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
return jsonObject['advancedPackrunManagement'];
|
|
1069
|
+
}();
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
if ('mafIntegration' in jsonObject) {
|
|
1073
|
+
model.mafIntegration = function () {
|
|
1074
|
+
if (jsonObject['mafIntegration'] === null) {
|
|
1075
|
+
return null;
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
if (_typeof(jsonObject['mafIntegration']) !== 'object') {
|
|
1079
|
+
return Object(jsonObject['mafIntegration']);
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
return jsonObject['mafIntegration'];
|
|
1083
|
+
}();
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1042
1086
|
if ('freshPackIntegration' in jsonObject) {
|
|
1043
1087
|
model.freshPackIntegration = function () {
|
|
1044
1088
|
if (jsonObject['freshPackIntegration'] === null) {
|
|
@@ -62,7 +62,7 @@ var PackrunModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
62
62
|
* @public
|
|
63
63
|
*/
|
|
64
64
|
|
|
65
|
-
_this.id =
|
|
65
|
+
_this.id = "";
|
|
66
66
|
/**
|
|
67
67
|
* The Packing Line ID this Packrun is associated with
|
|
68
68
|
*
|
|
@@ -70,7 +70,7 @@ var PackrunModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
70
70
|
* @public
|
|
71
71
|
*/
|
|
72
72
|
|
|
73
|
-
_this.packingLineId =
|
|
73
|
+
_this.packingLineId = "";
|
|
74
74
|
/**
|
|
75
75
|
* The Packrun Name
|
|
76
76
|
*
|
|
@@ -78,7 +78,7 @@ var PackrunModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
78
78
|
* @public
|
|
79
79
|
*/
|
|
80
80
|
|
|
81
|
-
_this.name =
|
|
81
|
+
_this.name = "";
|
|
82
82
|
/**
|
|
83
83
|
* When this Packrun was Created
|
|
84
84
|
*
|
|
@@ -86,7 +86,7 @@ var PackrunModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
86
86
|
* @public
|
|
87
87
|
*/
|
|
88
88
|
|
|
89
|
-
_this.createdTimestamp =
|
|
89
|
+
_this.createdTimestamp = new Date();
|
|
90
90
|
/**
|
|
91
91
|
* The Grower Name for this Packrun
|
|
92
92
|
*
|
|
@@ -94,7 +94,7 @@ var PackrunModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
94
94
|
* @public
|
|
95
95
|
*/
|
|
96
96
|
|
|
97
|
-
_this.growerName =
|
|
97
|
+
_this.growerName = "";
|
|
98
98
|
/**
|
|
99
99
|
* The Grower Code for this Packrun
|
|
100
100
|
*
|
|
@@ -102,7 +102,7 @@ var PackrunModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
102
102
|
* @public
|
|
103
103
|
*/
|
|
104
104
|
|
|
105
|
-
_this.growerCode =
|
|
105
|
+
_this.growerCode = "";
|
|
106
106
|
/**
|
|
107
107
|
* The Maturity Area for this Packrun
|
|
108
108
|
*
|
|
@@ -110,7 +110,7 @@ var PackrunModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
110
110
|
* @public
|
|
111
111
|
*/
|
|
112
112
|
|
|
113
|
-
_this.maturityArea =
|
|
113
|
+
_this.maturityArea = "";
|
|
114
114
|
/**
|
|
115
115
|
* When this Packrun was Started
|
|
116
116
|
*
|
|
@@ -118,7 +118,7 @@ var PackrunModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
118
118
|
* @public
|
|
119
119
|
*/
|
|
120
120
|
|
|
121
|
-
_this.startTimestamp =
|
|
121
|
+
_this.startTimestamp = null;
|
|
122
122
|
/**
|
|
123
123
|
* When this Packrun was Finished
|
|
124
124
|
*
|
|
@@ -126,7 +126,7 @@ var PackrunModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
126
126
|
* @public
|
|
127
127
|
*/
|
|
128
128
|
|
|
129
|
-
_this.finishTimestamp =
|
|
129
|
+
_this.finishTimestamp = null;
|
|
130
130
|
/**
|
|
131
131
|
* The Variety for this Packrun
|
|
132
132
|
*
|
|
@@ -134,7 +134,7 @@ var PackrunModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
134
134
|
* @public
|
|
135
135
|
*/
|
|
136
136
|
|
|
137
|
-
_this.varietyId =
|
|
137
|
+
_this.varietyId = "";
|
|
138
138
|
/**
|
|
139
139
|
* The Growing Method for this Packrun
|
|
140
140
|
*
|
|
@@ -142,7 +142,7 @@ var PackrunModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
142
142
|
* @public
|
|
143
143
|
*/
|
|
144
144
|
|
|
145
|
-
_this.growingMethodId =
|
|
145
|
+
_this.growingMethodId = null;
|
|
146
146
|
/**
|
|
147
147
|
* The Number of Allocated Bins for this Packrun
|
|
148
148
|
*
|
|
@@ -150,7 +150,7 @@ var PackrunModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
150
150
|
* @public
|
|
151
151
|
*/
|
|
152
152
|
|
|
153
|
-
_this.allocatedBins =
|
|
153
|
+
_this.allocatedBins = 0;
|
|
154
154
|
/**
|
|
155
155
|
* The Time Batches for this Packrun
|
|
156
156
|
*
|
|
@@ -158,7 +158,7 @@ var PackrunModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
158
158
|
* @public
|
|
159
159
|
*/
|
|
160
160
|
|
|
161
|
-
_this.timeBatches =
|
|
161
|
+
_this.timeBatches = [];
|
|
162
162
|
/**
|
|
163
163
|
* The FreshPack Grader ID associated with this Packrun
|
|
164
164
|
*
|
|
@@ -166,7 +166,7 @@ var PackrunModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
166
166
|
* @public
|
|
167
167
|
*/
|
|
168
168
|
|
|
169
|
-
_this.freshPackGraderId =
|
|
169
|
+
_this.freshPackGraderId = null;
|
|
170
170
|
/**
|
|
171
171
|
* The FreshPack Bin Lot Code associated with this Packrun
|
|
172
172
|
*
|
|
@@ -174,7 +174,7 @@ var PackrunModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
174
174
|
* @public
|
|
175
175
|
*/
|
|
176
176
|
|
|
177
|
-
_this.freshPackBinLotCode =
|
|
177
|
+
_this.freshPackBinLotCode = null;
|
|
178
178
|
/**
|
|
179
179
|
* The FreshPack Produce Code associated with this Packrun
|
|
180
180
|
*
|
|
@@ -182,7 +182,7 @@ var PackrunModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
182
182
|
* @public
|
|
183
183
|
*/
|
|
184
184
|
|
|
185
|
-
_this.freshPackProduceCode =
|
|
185
|
+
_this.freshPackProduceCode = null;
|
|
186
186
|
/**
|
|
187
187
|
* Whether the Packrun has been deleted
|
|
188
188
|
*
|
|
@@ -190,7 +190,7 @@ var PackrunModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
190
190
|
* @public
|
|
191
191
|
*/
|
|
192
192
|
|
|
193
|
-
_this.deleted =
|
|
193
|
+
_this.deleted = false;
|
|
194
194
|
/**
|
|
195
195
|
* When the Packrun was last updated
|
|
196
196
|
*
|
|
@@ -198,7 +198,7 @@ var PackrunModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
198
198
|
* @public
|
|
199
199
|
*/
|
|
200
200
|
|
|
201
|
-
_this.updateTimestamp =
|
|
201
|
+
_this.updateTimestamp = new Date();
|
|
202
202
|
/**
|
|
203
203
|
* The Site ID associated with this Packrun
|
|
204
204
|
*
|
|
@@ -62,7 +62,7 @@ var RejectBinModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
62
62
|
* @public
|
|
63
63
|
*/
|
|
64
64
|
|
|
65
|
-
_this.id =
|
|
65
|
+
_this.id = "";
|
|
66
66
|
/**
|
|
67
67
|
* The Reject Bin Scale ID this Reject Bin is associated with
|
|
68
68
|
*
|
|
@@ -70,7 +70,7 @@ var RejectBinModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
70
70
|
* @public
|
|
71
71
|
*/
|
|
72
72
|
|
|
73
|
-
_this.rejectBinScaleId =
|
|
73
|
+
_this.rejectBinScaleId = "";
|
|
74
74
|
/**
|
|
75
75
|
* When this Reject Bin was Created
|
|
76
76
|
*
|
|
@@ -78,7 +78,7 @@ var RejectBinModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
78
78
|
* @public
|
|
79
79
|
*/
|
|
80
80
|
|
|
81
|
-
_this.createdTimestamp =
|
|
81
|
+
_this.createdTimestamp = new Date();
|
|
82
82
|
/**
|
|
83
83
|
* The Name of the Reject Bin Scale where this Bin was Created
|
|
84
84
|
*
|
|
@@ -86,7 +86,7 @@ var RejectBinModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
86
86
|
* @public
|
|
87
87
|
*/
|
|
88
88
|
|
|
89
|
-
_this.rejectBinScaleName =
|
|
89
|
+
_this.rejectBinScaleName = "";
|
|
90
90
|
/**
|
|
91
91
|
* The Tare Weight Captured by the Reject Bin Scale
|
|
92
92
|
*
|
|
@@ -94,7 +94,7 @@ var RejectBinModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
94
94
|
* @public
|
|
95
95
|
*/
|
|
96
96
|
|
|
97
|
-
_this.tareWeight =
|
|
97
|
+
_this.tareWeight = null;
|
|
98
98
|
/**
|
|
99
99
|
* When this Reject Bin was Finalized (No new Weights)
|
|
100
100
|
*
|
|
@@ -102,7 +102,7 @@ var RejectBinModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
102
102
|
* @public
|
|
103
103
|
*/
|
|
104
104
|
|
|
105
|
-
_this.finalizedTimestamp =
|
|
105
|
+
_this.finalizedTimestamp = null;
|
|
106
106
|
/**
|
|
107
107
|
* The Multi-Grower Bins that will be submitted to FreshPack
|
|
108
108
|
*
|
|
@@ -110,7 +110,7 @@ var RejectBinModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
110
110
|
* @public
|
|
111
111
|
*/
|
|
112
112
|
|
|
113
|
-
_this.freshPackMultiGrowerBins =
|
|
113
|
+
_this.freshPackMultiGrowerBins = [];
|
|
114
114
|
/**
|
|
115
115
|
* Whether the Reject Bin has been deleted
|
|
116
116
|
*
|
|
@@ -118,7 +118,7 @@ var RejectBinModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
118
118
|
* @public
|
|
119
119
|
*/
|
|
120
120
|
|
|
121
|
-
_this.deleted =
|
|
121
|
+
_this.deleted = false;
|
|
122
122
|
/**
|
|
123
123
|
* When the Reject Bin was last updated
|
|
124
124
|
*
|
|
@@ -126,7 +126,7 @@ var RejectBinModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
126
126
|
* @public
|
|
127
127
|
*/
|
|
128
128
|
|
|
129
|
-
_this.updateTimestamp =
|
|
129
|
+
_this.updateTimestamp = new Date();
|
|
130
130
|
/**
|
|
131
131
|
* The Site ID associated with this Reject Bin
|
|
132
132
|
*
|
|
@@ -62,7 +62,7 @@ var RejectBinScaleModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
62
62
|
* @public
|
|
63
63
|
*/
|
|
64
64
|
|
|
65
|
-
_this.id =
|
|
65
|
+
_this.id = "";
|
|
66
66
|
/**
|
|
67
67
|
* The RTU this Reject Bin Scale belongs to
|
|
68
68
|
*
|
|
@@ -70,7 +70,7 @@ var RejectBinScaleModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
70
70
|
* @public
|
|
71
71
|
*/
|
|
72
72
|
|
|
73
|
-
_this.rtuId =
|
|
73
|
+
_this.rtuId = null;
|
|
74
74
|
/**
|
|
75
75
|
* The Name of this Reject Bin Scale
|
|
76
76
|
*
|
|
@@ -78,7 +78,7 @@ var RejectBinScaleModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
78
78
|
* @public
|
|
79
79
|
*/
|
|
80
80
|
|
|
81
|
-
_this.name =
|
|
81
|
+
_this.name = "";
|
|
82
82
|
/**
|
|
83
83
|
* The Points used by this Reject Bin Scale
|
|
84
84
|
*
|
|
@@ -86,7 +86,7 @@ var RejectBinScaleModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
86
86
|
* @public
|
|
87
87
|
*/
|
|
88
88
|
|
|
89
|
-
_this.points =
|
|
89
|
+
_this.points = {};
|
|
90
90
|
/**
|
|
91
91
|
* The Packing Line that owns this Reject Bin Scale
|
|
92
92
|
*
|
|
@@ -94,7 +94,7 @@ var RejectBinScaleModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
94
94
|
* @public
|
|
95
95
|
*/
|
|
96
96
|
|
|
97
|
-
_this.packingLineId =
|
|
97
|
+
_this.packingLineId = "";
|
|
98
98
|
/**
|
|
99
99
|
* The Permanent Object that provides the Next Packrun for this Reject Bin Scale
|
|
100
100
|
*
|
|
@@ -102,7 +102,7 @@ var RejectBinScaleModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
102
102
|
* @public
|
|
103
103
|
*/
|
|
104
104
|
|
|
105
|
-
_this.packrunSourceId =
|
|
105
|
+
_this.packrunSourceId = null;
|
|
106
106
|
/**
|
|
107
107
|
* The Packrun Group this Reject Bin Scale is a part of
|
|
108
108
|
*
|
|
@@ -110,7 +110,7 @@ var RejectBinScaleModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
110
110
|
* @public
|
|
111
111
|
*/
|
|
112
112
|
|
|
113
|
-
_this.packrunGroup =
|
|
113
|
+
_this.packrunGroup = null;
|
|
114
114
|
/**
|
|
115
115
|
* An Array of Sources that deliver Fruit to this Reject Bin Scale
|
|
116
116
|
*
|
|
@@ -118,7 +118,7 @@ var RejectBinScaleModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
118
118
|
* @public
|
|
119
119
|
*/
|
|
120
120
|
|
|
121
|
-
_this.sources =
|
|
121
|
+
_this.sources = [];
|
|
122
122
|
/**
|
|
123
123
|
* The Auto Packrun Change Configuration for this Reject Bin Scale
|
|
124
124
|
*
|
|
@@ -126,7 +126,7 @@ var RejectBinScaleModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
126
126
|
* @public
|
|
127
127
|
*/
|
|
128
128
|
|
|
129
|
-
_this.autoPackrunChange =
|
|
129
|
+
_this.autoPackrunChange = null;
|
|
130
130
|
/**
|
|
131
131
|
* Whether this Reject Bin Scale supports Live Weighing
|
|
132
132
|
*
|
|
@@ -134,7 +134,7 @@ var RejectBinScaleModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
134
134
|
* @public
|
|
135
135
|
*/
|
|
136
136
|
|
|
137
|
-
_this.supportsLiveWeighing =
|
|
137
|
+
_this.supportsLiveWeighing = null;
|
|
138
138
|
/**
|
|
139
139
|
* The Minimum Weight Change Required to Automatically Start Live Weighing
|
|
140
140
|
*
|
|
@@ -142,7 +142,7 @@ var RejectBinScaleModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
142
142
|
* @public
|
|
143
143
|
*/
|
|
144
144
|
|
|
145
|
-
_this.autoWeighingStartThreshold =
|
|
145
|
+
_this.autoWeighingStartThreshold = null;
|
|
146
146
|
/**
|
|
147
147
|
* The Delay in Milliseconds before Auto Live Weighing would Start
|
|
148
148
|
*
|
|
@@ -150,7 +150,7 @@ var RejectBinScaleModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
150
150
|
* @public
|
|
151
151
|
*/
|
|
152
152
|
|
|
153
|
-
_this.autoWeighingStartDelay =
|
|
153
|
+
_this.autoWeighingStartDelay = null;
|
|
154
154
|
/**
|
|
155
155
|
* The Minimum Weight Change Required to Automatically Finish Live Weighing
|
|
156
156
|
*
|
|
@@ -158,7 +158,7 @@ var RejectBinScaleModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
158
158
|
* @public
|
|
159
159
|
*/
|
|
160
160
|
|
|
161
|
-
_this.autoWeighingFinishThreshold =
|
|
161
|
+
_this.autoWeighingFinishThreshold = null;
|
|
162
162
|
/**
|
|
163
163
|
* The Delay in Milliseconds before Auto Live Weighing would Finish
|
|
164
164
|
*
|
|
@@ -166,7 +166,7 @@ var RejectBinScaleModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
166
166
|
* @public
|
|
167
167
|
*/
|
|
168
168
|
|
|
169
|
-
_this.autoWeighingFinishDelay =
|
|
169
|
+
_this.autoWeighingFinishDelay = null;
|
|
170
170
|
/**
|
|
171
171
|
* The Maximum Duration in Milliseconds before a Manual Intervention would end
|
|
172
172
|
*
|
|
@@ -174,7 +174,7 @@ var RejectBinScaleModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
174
174
|
* @public
|
|
175
175
|
*/
|
|
176
176
|
|
|
177
|
-
_this.manualInterventionMaximumDuration =
|
|
177
|
+
_this.manualInterventionMaximumDuration = null;
|
|
178
178
|
/**
|
|
179
179
|
* The Maximum Weight Increase allowed within a single Live Weighing Update Interval
|
|
180
180
|
*
|
|
@@ -182,7 +182,7 @@ var RejectBinScaleModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
182
182
|
* @public
|
|
183
183
|
*/
|
|
184
184
|
|
|
185
|
-
_this.liveWeighingIncreaseTolerance =
|
|
185
|
+
_this.liveWeighingIncreaseTolerance = null;
|
|
186
186
|
/**
|
|
187
187
|
* The Maximum Weight Decrease allowed within a single Live Weighing Update Interval
|
|
188
188
|
*
|
|
@@ -190,7 +190,7 @@ var RejectBinScaleModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
190
190
|
* @public
|
|
191
191
|
*/
|
|
192
192
|
|
|
193
|
-
_this.liveWeighingDecreaseTolerance =
|
|
193
|
+
_this.liveWeighingDecreaseTolerance = null;
|
|
194
194
|
/**
|
|
195
195
|
* The Interval in Milliseconds between Live Weighing Updates
|
|
196
196
|
*
|
|
@@ -198,7 +198,7 @@ var RejectBinScaleModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
198
198
|
* @public
|
|
199
199
|
*/
|
|
200
200
|
|
|
201
|
-
_this.liveWeighingUpdateInterval =
|
|
201
|
+
_this.liveWeighingUpdateInterval = null;
|
|
202
202
|
/**
|
|
203
203
|
* Whether the Loadcell Stable Status is used to ignore Changes during Live Weighing
|
|
204
204
|
*
|
|
@@ -206,7 +206,7 @@ var RejectBinScaleModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
206
206
|
* @public
|
|
207
207
|
*/
|
|
208
208
|
|
|
209
|
-
_this.liveWeighingUsesStableStatus =
|
|
209
|
+
_this.liveWeighingUsesStableStatus = null;
|
|
210
210
|
/**
|
|
211
211
|
* The Maximum Weight Change allowed while Live Weighing before an Incorrect Operation is Logged
|
|
212
212
|
*
|
|
@@ -214,7 +214,7 @@ var RejectBinScaleModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
214
214
|
* @public
|
|
215
215
|
*/
|
|
216
216
|
|
|
217
|
-
_this.incorrectOperationTolerance =
|
|
217
|
+
_this.incorrectOperationTolerance = null;
|
|
218
218
|
/**
|
|
219
219
|
* The FreshPack Integration Configuration for this Reject Bin Scale
|
|
220
220
|
*
|
|
@@ -222,7 +222,7 @@ var RejectBinScaleModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
222
222
|
* @public
|
|
223
223
|
*/
|
|
224
224
|
|
|
225
|
-
_this.freshPackIntegration =
|
|
225
|
+
_this.freshPackIntegration = null;
|
|
226
226
|
/**
|
|
227
227
|
* Whether the Reject Bin Scale has been deleted
|
|
228
228
|
*
|
|
@@ -230,7 +230,7 @@ var RejectBinScaleModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
230
230
|
* @public
|
|
231
231
|
*/
|
|
232
232
|
|
|
233
|
-
_this.deleted =
|
|
233
|
+
_this.deleted = false;
|
|
234
234
|
/**
|
|
235
235
|
* When the Reject Bin Scale was last updated
|
|
236
236
|
*
|
|
@@ -238,7 +238,7 @@ var RejectBinScaleModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
238
238
|
* @public
|
|
239
239
|
*/
|
|
240
240
|
|
|
241
|
-
_this.updateTimestamp =
|
|
241
|
+
_this.updateTimestamp = new Date();
|
|
242
242
|
/**
|
|
243
243
|
* The Site ID associated with this Reject Bin Scale
|
|
244
244
|
*
|