@ricado/api-client 2.3.18 → 2.3.20
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/BinTipBarcodeScannerController.js +4 -2
- package/lib/Controllers/Packhouse/Site/BinTipBarcodeScannerResultController.js +207 -0
- package/lib/Controllers/Packhouse/Site/CompacSizerBinWeightController.js +2 -2
- package/lib/Controllers/Packhouse/Site/CompacSizerController.js +2 -2
- package/lib/Controllers/Packhouse/Site/MAFSizerController.js +2 -2
- package/lib/Controllers/Packhouse/Site/PackingLineController.js +2 -2
- package/lib/Controllers/Packhouse/Site/RejectBinScaleController.js +2 -2
- package/lib/Controllers/Packhouse/Site/RejectBinWeightController.js +2 -2
- package/lib/Controllers/Packhouse/Site/index.js +3 -0
- package/lib/Models/Packhouse/Site/BinTipBarcodeScannerModel.js +156 -8
- package/lib/Models/Packhouse/Site/BinTipBarcodeScannerResultModel.js +315 -0
- package/lib/Models/Packhouse/Site/CompacSizerBinWeightModel.js +1 -1
- package/lib/Models/Packhouse/Site/CompacSizerModel.js +1 -1
- package/lib/Models/Packhouse/Site/MAFSizerModel.js +1 -1
- package/lib/Models/Packhouse/Site/PackingLineModel.js +2 -2
- package/lib/Models/Packhouse/Site/RejectBinScaleModel.js +1 -1
- package/lib/Models/Packhouse/Site/RejectBinWeightModel.js +1 -1
- package/lib/Models/Packhouse/Site/index.js +3 -0
- package/lib/PackageVersion.js +1 -1
- package/lib/index.d.ts +362 -40
- package/package.json +1 -1
- package/src/Controllers/Packhouse/Site/BinTipBarcodeScannerController.js +4 -2
- package/src/Controllers/Packhouse/Site/BinTipBarcodeScannerResultController.js +184 -0
- package/src/Controllers/Packhouse/Site/CompacSizerBinWeightController.js +2 -2
- package/src/Controllers/Packhouse/Site/CompacSizerController.js +2 -2
- package/src/Controllers/Packhouse/Site/MAFSizerController.js +2 -2
- package/src/Controllers/Packhouse/Site/PackingLineController.js +2 -2
- package/src/Controllers/Packhouse/Site/RejectBinScaleController.js +2 -2
- package/src/Controllers/Packhouse/Site/RejectBinWeightController.js +2 -2
- package/src/Controllers/Packhouse/Site/index.js +2 -0
- package/src/Models/Packhouse/Site/BinTipBarcodeScannerModel.js +208 -8
- package/src/Models/Packhouse/Site/BinTipBarcodeScannerResultModel.js +305 -0
- package/src/Models/Packhouse/Site/CompacSizerBinWeightModel.js +1 -1
- package/src/Models/Packhouse/Site/CompacSizerModel.js +1 -1
- package/src/Models/Packhouse/Site/MAFSizerModel.js +1 -1
- package/src/Models/Packhouse/Site/PackingLineModel.js +2 -2
- package/src/Models/Packhouse/Site/RejectBinScaleModel.js +1 -1
- package/src/Models/Packhouse/Site/RejectBinWeightModel.js +1 -1
- package/src/Models/Packhouse/Site/index.js +2 -0
- package/src/PackageVersion.js +1 -1
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _BaseModel2 = _interopRequireDefault(require("../../../Models/BaseModel"));
|
|
9
|
+
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
|
|
12
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
13
|
+
|
|
14
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15
|
+
|
|
16
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
17
|
+
|
|
18
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
19
|
+
|
|
20
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
21
|
+
|
|
22
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
23
|
+
|
|
24
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
25
|
+
|
|
26
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
27
|
+
|
|
28
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
29
|
+
|
|
30
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
31
|
+
|
|
32
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Model Class for a Bin Tip Barcode Scanner Result
|
|
36
|
+
*
|
|
37
|
+
* @class
|
|
38
|
+
* @hideconstructor
|
|
39
|
+
* @extends BaseModel
|
|
40
|
+
*/
|
|
41
|
+
var BinTipBarcodeScannerResultModel = /*#__PURE__*/function (_BaseModel) {
|
|
42
|
+
_inherits(BinTipBarcodeScannerResultModel, _BaseModel);
|
|
43
|
+
|
|
44
|
+
var _super = _createSuper(BinTipBarcodeScannerResultModel);
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* BinTipBarcodeScannerResultModel Constructor
|
|
48
|
+
*
|
|
49
|
+
* @protected
|
|
50
|
+
* @param {number} siteId The Site ID associated with this Bin Tip Barcode Scanner Result
|
|
51
|
+
*/
|
|
52
|
+
function BinTipBarcodeScannerResultModel(siteId) {
|
|
53
|
+
var _this;
|
|
54
|
+
|
|
55
|
+
_classCallCheck(this, BinTipBarcodeScannerResultModel);
|
|
56
|
+
|
|
57
|
+
_this = _super.call(this);
|
|
58
|
+
/**
|
|
59
|
+
* The Bin Tip Barcode Scanner Result ID
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
|
|
65
|
+
_this.id = "";
|
|
66
|
+
/**
|
|
67
|
+
* The Bin Tip Barcode Scanner ID associated with this Result
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
|
|
73
|
+
_this.barcodeScannerId = "";
|
|
74
|
+
/**
|
|
75
|
+
* A 10-Digit Bin Number made up of a Bin Lot (4-Digits) and a Unique Number (6-Digits)
|
|
76
|
+
*
|
|
77
|
+
* @type {string}
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
|
|
81
|
+
_this.binNumber = "";
|
|
82
|
+
/**
|
|
83
|
+
* When this Barcode Scanner Result was Created
|
|
84
|
+
*
|
|
85
|
+
* @type {Date}
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
|
|
89
|
+
_this.createdTimestamp = new Date();
|
|
90
|
+
/**
|
|
91
|
+
* The Type of this Barcode Scanner Result
|
|
92
|
+
*
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
|
|
97
|
+
_this.type = "";
|
|
98
|
+
/**
|
|
99
|
+
* The Packrun ID associated with this Barcode Scanner Result
|
|
100
|
+
*
|
|
101
|
+
* @type {?string}
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
|
|
105
|
+
_this.packrunId = null;
|
|
106
|
+
/**
|
|
107
|
+
* Whether the Bin Number was Valid and could be matched with a Current or Scheduled Packrun
|
|
108
|
+
*
|
|
109
|
+
* @type {boolean}
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
|
|
113
|
+
_this.result = false;
|
|
114
|
+
/**
|
|
115
|
+
* An Optional Message to accompany the Result. Typically only present when the Result is **false**
|
|
116
|
+
*
|
|
117
|
+
* @type {?string}
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
|
|
121
|
+
_this.resultMessage = null;
|
|
122
|
+
/**
|
|
123
|
+
* The Bin Lot Code of this Barcode Scanner Result
|
|
124
|
+
*
|
|
125
|
+
* @type {?string}
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
|
|
129
|
+
_this.binLotCode = null;
|
|
130
|
+
/**
|
|
131
|
+
* Whether the Bin Tip Barcode Scanner Result has been deleted
|
|
132
|
+
*
|
|
133
|
+
* @type {boolean}
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
|
|
137
|
+
_this.deleted = false;
|
|
138
|
+
/**
|
|
139
|
+
* When the Bin Tip Barcode Scanner Result was last updated
|
|
140
|
+
*
|
|
141
|
+
* @type {Date}
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
144
|
+
|
|
145
|
+
_this.updateTimestamp = new Date();
|
|
146
|
+
/**
|
|
147
|
+
* The Site ID associated with this Bin Tip Barcode Scanner Result
|
|
148
|
+
*
|
|
149
|
+
* @type {number}
|
|
150
|
+
* @public
|
|
151
|
+
*/
|
|
152
|
+
|
|
153
|
+
_this.siteId = siteId;
|
|
154
|
+
return _this;
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* Create a new **BinTipBarcodeScannerResultModel** from a JSON Object or JSON String
|
|
158
|
+
*
|
|
159
|
+
* @static
|
|
160
|
+
* @public
|
|
161
|
+
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
162
|
+
* @param {number} siteId The Site ID associated with this Bin Tip Barcode Scanner Result
|
|
163
|
+
* @return {BinTipBarcodeScannerResultModel}
|
|
164
|
+
*/
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
_createClass(BinTipBarcodeScannerResultModel, null, [{
|
|
168
|
+
key: "fromJSON",
|
|
169
|
+
value: function fromJSON(json, siteId) {
|
|
170
|
+
var model = new BinTipBarcodeScannerResultModel(siteId);
|
|
171
|
+
/**
|
|
172
|
+
* The JSON Object
|
|
173
|
+
*
|
|
174
|
+
* @type {Object<string, any>}
|
|
175
|
+
*/
|
|
176
|
+
|
|
177
|
+
var jsonObject = {};
|
|
178
|
+
|
|
179
|
+
if (typeof json === 'string') {
|
|
180
|
+
jsonObject = JSON.parse(json);
|
|
181
|
+
} else if (_typeof(json) === 'object') {
|
|
182
|
+
jsonObject = json;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
if ('id' in jsonObject) {
|
|
186
|
+
model.id = function () {
|
|
187
|
+
if (typeof jsonObject['id'] !== 'string') {
|
|
188
|
+
return String(jsonObject['id']);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
return jsonObject['id'];
|
|
192
|
+
}();
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
if ('barcodeScannerId' in jsonObject) {
|
|
196
|
+
model.barcodeScannerId = function () {
|
|
197
|
+
if (typeof jsonObject['barcodeScannerId'] !== 'string') {
|
|
198
|
+
return String(jsonObject['barcodeScannerId']);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
return jsonObject['barcodeScannerId'];
|
|
202
|
+
}();
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
if ('binNumber' in jsonObject) {
|
|
206
|
+
model.binNumber = function () {
|
|
207
|
+
if (typeof jsonObject['binNumber'] !== 'string') {
|
|
208
|
+
return String(jsonObject['binNumber']);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
return jsonObject['binNumber'];
|
|
212
|
+
}();
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
if ('createdTimestamp' in jsonObject) {
|
|
216
|
+
model.createdTimestamp = function () {
|
|
217
|
+
if (typeof jsonObject['createdTimestamp'] !== 'string') {
|
|
218
|
+
return new Date(String(jsonObject['createdTimestamp']));
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
return new Date(jsonObject['createdTimestamp']);
|
|
222
|
+
}();
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
if ('type' in jsonObject) {
|
|
226
|
+
model.type = function () {
|
|
227
|
+
if (typeof jsonObject['type'] !== 'string') {
|
|
228
|
+
return String(jsonObject['type']);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
return jsonObject['type'];
|
|
232
|
+
}();
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
if ('packrunId' in jsonObject) {
|
|
236
|
+
model.packrunId = function () {
|
|
237
|
+
if (jsonObject['packrunId'] === null) {
|
|
238
|
+
return null;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
if (typeof jsonObject['packrunId'] !== 'string') {
|
|
242
|
+
return String(jsonObject['packrunId']);
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
return jsonObject['packrunId'];
|
|
246
|
+
}();
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
if ('result' in jsonObject) {
|
|
250
|
+
model.result = function () {
|
|
251
|
+
if (typeof jsonObject['result'] !== 'boolean') {
|
|
252
|
+
return Boolean(jsonObject['result']);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
return jsonObject['result'];
|
|
256
|
+
}();
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
if ('resultMessage' in jsonObject) {
|
|
260
|
+
model.resultMessage = function () {
|
|
261
|
+
if (jsonObject['resultMessage'] === null) {
|
|
262
|
+
return null;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
if (typeof jsonObject['resultMessage'] !== 'string') {
|
|
266
|
+
return String(jsonObject['resultMessage']);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
return jsonObject['resultMessage'];
|
|
270
|
+
}();
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
if ('binLotCode' in jsonObject) {
|
|
274
|
+
model.binLotCode = function () {
|
|
275
|
+
if (jsonObject['binLotCode'] === null) {
|
|
276
|
+
return null;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
if (typeof jsonObject['binLotCode'] !== 'string') {
|
|
280
|
+
return String(jsonObject['binLotCode']);
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
return jsonObject['binLotCode'];
|
|
284
|
+
}();
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
if ('deleted' in jsonObject) {
|
|
288
|
+
model.deleted = function () {
|
|
289
|
+
if (typeof jsonObject['deleted'] !== 'boolean') {
|
|
290
|
+
return Boolean(jsonObject['deleted']);
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
return jsonObject['deleted'];
|
|
294
|
+
}();
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
if ('updateTimestamp' in jsonObject) {
|
|
298
|
+
model.updateTimestamp = function () {
|
|
299
|
+
if (typeof jsonObject['updateTimestamp'] !== 'string') {
|
|
300
|
+
return new Date(String(jsonObject['updateTimestamp']));
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
return new Date(jsonObject['updateTimestamp']);
|
|
304
|
+
}();
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
return model;
|
|
308
|
+
}
|
|
309
|
+
}]);
|
|
310
|
+
|
|
311
|
+
return BinTipBarcodeScannerResultModel;
|
|
312
|
+
}(_BaseModel2.default);
|
|
313
|
+
|
|
314
|
+
var _default = BinTipBarcodeScannerResultModel;
|
|
315
|
+
exports.default = _default;
|
|
@@ -98,7 +98,7 @@ var CompacSizerBinWeightModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
98
98
|
/**
|
|
99
99
|
* The Sources and Weights that make up this Bin Weight
|
|
100
100
|
*
|
|
101
|
-
* @type {{type: string, outletNumber: number, outletName: ?string, weights: Array<{classType: string, weight: number, fruitCount: ?number}>}|{type: string, weights: Array<{classType: string, weight: number, fruitCount: ?number}>}
|
|
101
|
+
* @type {Array<{type: string, outletNumber: number, outletName: ?string, weights: Array<{classType: string, weight: number, fruitCount: ?number}>}|{type: string, weights: Array<{classType: string, weight: number, fruitCount: ?number}>}>}
|
|
102
102
|
* @public
|
|
103
103
|
*/
|
|
104
104
|
|
|
@@ -193,7 +193,7 @@ var CompacSizerModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
193
193
|
/**
|
|
194
194
|
* An Array of Sources that deliver Fruit to this Compac Sizer
|
|
195
195
|
*
|
|
196
|
-
* @type {{type: string, riserId: string}|{type: string, sizerId: string, outletNumbers: number[]}
|
|
196
|
+
* @type {Array<{type: string, riserId: string}|{type: string, sizerId: string, outletNumbers: number[]}>}
|
|
197
197
|
* @public
|
|
198
198
|
*/
|
|
199
199
|
|
|
@@ -174,7 +174,7 @@ var MAFSizerModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
174
174
|
/**
|
|
175
175
|
* An Array of Sources that deliver Fruit to this MAF Sizer
|
|
176
176
|
*
|
|
177
|
-
* @type {{type: string, riserId: string}|{type: string, sizerId: string, outletNumbers: number[]}
|
|
177
|
+
* @type {Array<{type: string, riserId: string}|{type: string, sizerId: string, outletNumbers: number[]}>}
|
|
178
178
|
* @public
|
|
179
179
|
*/
|
|
180
180
|
|
|
@@ -165,7 +165,7 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
165
165
|
/**
|
|
166
166
|
* The Automation Object for this Packing Line
|
|
167
167
|
*
|
|
168
|
-
* @type {?{points: {controlMode: number, autoStartAllRequest: number, stopAllRequest: number, status: number, startWarningSiren: number, safetySystemHealthy: ?number}, autoControlGroups: Array<{id: string, name: string, points: {runControl: number, startRequest: number, stopRequest: number, status: number, disabled: number}, startDelay: ?number, userStartWithoutDependencies: boolean, startSequences: Array<{startDelay: number, startOrder: number, vsds: string[], contactors: string[], basicControls: Array<{points: {status: number, control: number}, name: string}>}>, downstreamDependencyGroups: string[], neighbourDependencyGroups: string[], shutdownAlarms: string[]}>, autoSpeedGroups: Array<{id: string, name: string, vsds: string[], points: {autoSetpoint: number, overrideSetpoint: number, overrideMode: number}, sectionId: string, displayOrder: number, supportsAutoMode: boolean}>, autoTargets: Array<{id: string, name: string, description: string, type: string, units: ?string, minValue: number, maxValue: number, points: {setpoint: number, actual: number}}>, vsds: Array<{id: string, displayOrder: number}>, contactors: Array<{id: string, displayOrder: number}>, basicControls: Array<{points: {status: number, control: number}, name: string, displayOrder: number}>, shutdownAlarms: string[], lightControls: Array<{name: string, points: {status: number, control: number}}>, infeedManagement: Array<{id: string, name: string, points: {infeedFruitPerMinuteTarget: number, infeedFruitPerMinuteActual: number, sizerFruitPerMinuteActual: number, sizerRecycleFruitPerMinute: number, riser1FruitPerMinuteActual: ?number, riser1LightsControlMode: ?number, riser1LightsManualControl: ?number, riser1LightsStatus: ?number, riser2FruitPerMinuteActual: ?number, riser2LightsControlMode: ?number, riser2LightsManualControl: ?number, riser2LightsStatus: ?number}, riserCount: number, displayOrder: number, riser1AutoControlGroupId: ?string, riser2AutoControlGroupId: ?string}>, autoSpeedSections: Array<{id: string, name: string, displayOrder: number, buttonControls: Array<{icon: string, name: string, type: string, points: {control: number, disable: number}, resetDelay: number, displayOrder: number}>, splitGroupId: ?string, splitGroupPosition: ?string}>, configurationGroups: Array<{id: string, name: string, sectionId: string, displayOrder: number, configurationPoints: {name: string, type: string, point: number}|{name: string, type: string, point: number, units: ?string, minValue: number, maxValue: number}
|
|
168
|
+
* @type {?{points: {controlMode: number, autoStartAllRequest: number, stopAllRequest: number, status: number, startWarningSiren: number, safetySystemHealthy: ?number}, autoControlGroups: Array<{id: string, name: string, points: {runControl: number, startRequest: number, stopRequest: number, status: number, disabled: number}, startDelay: ?number, userStartWithoutDependencies: boolean, startSequences: Array<{startDelay: number, startOrder: number, vsds: string[], contactors: string[], basicControls: Array<{points: {status: number, control: number}, name: string}>}>, downstreamDependencyGroups: string[], neighbourDependencyGroups: string[], shutdownAlarms: string[]}>, autoSpeedGroups: Array<{id: string, name: string, vsds: string[], points: {autoSetpoint: number, overrideSetpoint: number, overrideMode: number}, sectionId: string, displayOrder: number, supportsAutoMode: boolean}>, autoTargets: Array<{id: string, name: string, description: string, type: string, units: ?string, minValue: number, maxValue: number, points: {setpoint: number, actual: number}}>, vsds: Array<{id: string, displayOrder: number}>, contactors: Array<{id: string, displayOrder: number}>, basicControls: Array<{points: {status: number, control: number}, name: string, displayOrder: number}>, shutdownAlarms: string[], lightControls: Array<{name: string, points: {status: number, control: number}}>, infeedManagement: Array<{id: string, name: string, points: {infeedFruitPerMinuteTarget: number, infeedFruitPerMinuteActual: number, sizerFruitPerMinuteActual: number, sizerRecycleFruitPerMinute: number, riser1FruitPerMinuteActual: ?number, riser1LightsControlMode: ?number, riser1LightsManualControl: ?number, riser1LightsStatus: ?number, riser2FruitPerMinuteActual: ?number, riser2LightsControlMode: ?number, riser2LightsManualControl: ?number, riser2LightsStatus: ?number}, riserCount: number, displayOrder: number, riser1AutoControlGroupId: ?string, riser2AutoControlGroupId: ?string}>, autoSpeedSections: Array<{id: string, name: string, displayOrder: number, buttonControls: Array<{icon: string, name: string, type: string, points: {control: number, disable: number}, resetDelay: number, displayOrder: number}>, splitGroupId: ?string, splitGroupPosition: ?string}>, configurationGroups: Array<{id: string, name: string, sectionId: string, displayOrder: number, configurationPoints: Array<{name: string, type: string, point: number}|{name: string, type: string, point: number, units: ?string, minValue: number, maxValue: number}>}>, configurationSections: Array<{id: string, name: string, displayOrder: number}>, momentaryControlGroups: Array<{name: string, momentaryControls: Array<{name: string, points: Array<{name: string, point: number}>, displayOrder: number}>}>}}
|
|
169
169
|
* @public
|
|
170
170
|
*/
|
|
171
171
|
|
|
@@ -197,7 +197,7 @@ var PackingLineModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
197
197
|
/**
|
|
198
198
|
* The Advanced Packrun Management Configuration for this Packing Line
|
|
199
199
|
*
|
|
200
|
-
* @type {?{points: {startPackrunChangeRequest: number, cancelPackrunChangeRequest: number, advancePackrunChangeRequest: number, skipPackrunChangeStepRequest: number, packrunChangeCurrentStep: number, packrunChangeAutomationActionsEnabled: number}, steps: {index: number, type: string, title: string, subtitle: ?string, description: string, pointActions: Array<{trigger: string, pointId: number, value: any}>, autoControlGroupActions: Array<{trigger: string, groupId: string, action: string}>}|{index: number, type: string, sizerIds: string[]}|{index: number, type: string, sizerIds: string[]}|{index: number, type: string, sizerId: string}|{index: number, type: string, title: string, subtitle: ?string, description: string, actionType: string, trigger: string, actionReference: ?any}|{index: number, type: string, title: string, subtitle: ?string, description: string, actionType: string, trigger: string, actionReference: ?any}
|
|
200
|
+
* @type {?{points: {startPackrunChangeRequest: number, cancelPackrunChangeRequest: number, advancePackrunChangeRequest: number, skipPackrunChangeStepRequest: number, packrunChangeCurrentStep: number, packrunChangeAutomationActionsEnabled: number}, steps: Array<{index: number, type: string, title: string, subtitle: ?string, description: string, pointActions: Array<{trigger: string, pointId: number, value: any}>, autoControlGroupActions: Array<{trigger: string, groupId: string, action: string}>}|{index: number, type: string, sizerIds: string[]}|{index: number, type: string, sizerIds: string[]}|{index: number, type: string, sizerId: string}|{index: number, type: string, title: string, subtitle: ?string, description: string, actionType: string, trigger: string, actionReference: ?any}|{index: number, type: string, title: string, subtitle: ?string, description: string, actionType: string, trigger: string, actionReference: ?any}>, enabled: boolean}}
|
|
201
201
|
* @public
|
|
202
202
|
*/
|
|
203
203
|
|
|
@@ -148,7 +148,7 @@ var RejectBinScaleModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
148
148
|
/**
|
|
149
149
|
* An Array of Sources that deliver Fruit to this Reject Bin Scale
|
|
150
150
|
*
|
|
151
|
-
* @type {{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}
|
|
151
|
+
* @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}>}
|
|
152
152
|
* @public
|
|
153
153
|
*/
|
|
154
154
|
|
|
@@ -106,7 +106,7 @@ var RejectBinWeightModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
106
106
|
/**
|
|
107
107
|
* The Source Weights that make up the Net Weight
|
|
108
108
|
*
|
|
109
|
-
* @type {{type: string, sortingTableId: string, sortingTableName: ?string, weights: Array<{classType: string, weight: number, fruitCount: ?number}>}|{type: string, beltName: ?string, weights: Array<{classType: string, weight: number, fruitCount: ?number}>}|{type: string, sizerId: string, sizerName: ?string, outletNumber: number, outletName: ?string, weights: Array<{classType: string, weight: number, fruitCount: ?number}>}|{type: string, mixedNames: string[], weights: Array<{classType: string, weight: number, fruitCount: ?number}>}
|
|
109
|
+
* @type {Array<{type: string, sortingTableId: string, sortingTableName: ?string, weights: Array<{classType: string, weight: number, fruitCount: ?number}>}|{type: string, beltName: ?string, weights: Array<{classType: string, weight: number, fruitCount: ?number}>}|{type: string, sizerId: string, sizerName: ?string, outletNumber: number, outletName: ?string, weights: Array<{classType: string, weight: number, fruitCount: ?number}>}|{type: string, mixedNames: string[], weights: Array<{classType: string, weight: number, fruitCount: ?number}>}>}
|
|
110
110
|
* @public
|
|
111
111
|
*/
|
|
112
112
|
|
|
@@ -7,6 +7,8 @@ exports.default = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _BinTipBarcodeScannerModel = _interopRequireDefault(require("./BinTipBarcodeScannerModel"));
|
|
9
9
|
|
|
10
|
+
var _BinTipBarcodeScannerResultModel = _interopRequireDefault(require("./BinTipBarcodeScannerResultModel"));
|
|
11
|
+
|
|
10
12
|
var _BinTipBinCardModel = _interopRequireDefault(require("./BinTipBinCardModel"));
|
|
11
13
|
|
|
12
14
|
var _BinTipBinModel = _interopRequireDefault(require("./BinTipBinModel"));
|
|
@@ -86,6 +88,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
86
88
|
*/
|
|
87
89
|
var Site = {
|
|
88
90
|
BinTipBarcodeScannerModel: _BinTipBarcodeScannerModel.default,
|
|
91
|
+
BinTipBarcodeScannerResultModel: _BinTipBarcodeScannerResultModel.default,
|
|
89
92
|
BinTipBinCardModel: _BinTipBinCardModel.default,
|
|
90
93
|
BinTipBinModel: _BinTipBinModel.default,
|
|
91
94
|
BinTipWeightModel: _BinTipWeightModel.default,
|
package/lib/PackageVersion.js
CHANGED