node-red-trexmes-commands 1.2.0 → 1.2.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-trexmes-commands",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "A node-red node to execute commands for Trex Mes Systems",
5
5
  "main": "trexcommands.js",
6
6
  "dependencies": {
@@ -0,0 +1,559 @@
1
+ [
2
+ {
3
+ "id": "bb27bba8e5c5db87",
4
+ "type": "tab",
5
+ "label": "trexMes Cmd",
6
+ "disabled": false,
7
+ "info": "",
8
+ "env": []
9
+ },
10
+ {
11
+ "id": "2e577a24d932587b",
12
+ "type": "inject",
13
+ "z": "bb27bba8e5c5db87",
14
+ "name": "",
15
+ "props": [
16
+ {
17
+ "p": "WorkstationId",
18
+ "v": "53",
19
+ "vt": "num"
20
+ },
21
+ {
22
+ "p": "PlanId",
23
+ "v": "1674",
24
+ "vt": "num"
25
+ }
26
+ ],
27
+ "repeat": "",
28
+ "crontab": "",
29
+ "once": false,
30
+ "onceDelay": 0.1,
31
+ "topic": "",
32
+ "x": 250,
33
+ "y": 100,
34
+ "wires": [
35
+ [
36
+ "2e79831d091a7a07"
37
+ ]
38
+ ]
39
+ },
40
+ {
41
+ "id": "d2eaa6da3fd96223",
42
+ "type": "debug",
43
+ "z": "bb27bba8e5c5db87",
44
+ "name": "debug 1",
45
+ "active": true,
46
+ "tosidebar": true,
47
+ "console": false,
48
+ "tostatus": false,
49
+ "complete": "false",
50
+ "statusVal": "",
51
+ "statusType": "auto",
52
+ "x": 740,
53
+ "y": 360,
54
+ "wires": []
55
+ },
56
+ {
57
+ "id": "2e79831d091a7a07",
58
+ "type": "trexMes-CMD",
59
+ "z": "bb27bba8e5c5db87",
60
+ "trexmesCN": "906a24276c64dff5",
61
+ "name": "",
62
+ "throwErrors": 1,
63
+ "query": "{\n \"WorkstationId\": 10,\n \"PlanId\": 123\n}",
64
+ "modeOptType": "1|Load Job Plan",
65
+ "x": 460,
66
+ "y": 100,
67
+ "wires": [
68
+ [
69
+ "d2eaa6da3fd96223"
70
+ ]
71
+ ]
72
+ },
73
+ {
74
+ "id": "dc9b9a3a2a4c80d7",
75
+ "type": "trexMes-CMD",
76
+ "z": "bb27bba8e5c5db87",
77
+ "trexmesCN": "906a24276c64dff5",
78
+ "name": "",
79
+ "throwErrors": 1,
80
+ "query": "{\n \"WorkstationId\": 10\n}",
81
+ "modeOptType": "4|Finish Production",
82
+ "x": 470,
83
+ "y": 154,
84
+ "wires": [
85
+ [
86
+ "d2eaa6da3fd96223"
87
+ ]
88
+ ]
89
+ },
90
+ {
91
+ "id": "887f456959eaaffe",
92
+ "type": "trexMes-CMD",
93
+ "z": "bb27bba8e5c5db87",
94
+ "trexmesCN": "906a24276c64dff5",
95
+ "name": "",
96
+ "throwErrors": "0",
97
+ "query": "{\n \"WorkstationId\": 10,\n \"StoppageCauseId\": 11\n}",
98
+ "modeOptType": "5|Start Stoppage",
99
+ "x": 460,
100
+ "y": 208,
101
+ "wires": [
102
+ [
103
+ "d2eaa6da3fd96223"
104
+ ]
105
+ ]
106
+ },
107
+ {
108
+ "id": "4b46b430fc244b4b",
109
+ "type": "inject",
110
+ "z": "bb27bba8e5c5db87",
111
+ "name": "",
112
+ "props": [
113
+ {
114
+ "p": "WorkstationId",
115
+ "v": "53",
116
+ "vt": "num"
117
+ }
118
+ ],
119
+ "repeat": "",
120
+ "crontab": "",
121
+ "once": false,
122
+ "onceDelay": 0.1,
123
+ "topic": "",
124
+ "x": 250,
125
+ "y": 154,
126
+ "wires": [
127
+ [
128
+ "dc9b9a3a2a4c80d7"
129
+ ]
130
+ ]
131
+ },
132
+ {
133
+ "id": "f6d568fa2209c16d",
134
+ "type": "inject",
135
+ "z": "bb27bba8e5c5db87",
136
+ "name": "",
137
+ "props": [
138
+ {
139
+ "p": "WorkstationId",
140
+ "v": "53",
141
+ "vt": "num"
142
+ },
143
+ {
144
+ "p": "StoppageCauseId",
145
+ "v": "441",
146
+ "vt": "num"
147
+ }
148
+ ],
149
+ "repeat": "",
150
+ "crontab": "",
151
+ "once": false,
152
+ "onceDelay": 0.1,
153
+ "topic": "",
154
+ "x": 250,
155
+ "y": 208,
156
+ "wires": [
157
+ [
158
+ "887f456959eaaffe"
159
+ ]
160
+ ]
161
+ },
162
+ {
163
+ "id": "676eb589a8dd5180",
164
+ "type": "trexMes-CMD",
165
+ "z": "bb27bba8e5c5db87",
166
+ "trexmesCN": "906a24276c64dff5",
167
+ "name": "",
168
+ "throwErrors": "0",
169
+ "query": "{\n \"WorkstationId\": 10,\n \"StoppageCauseId\": 11\n}",
170
+ "modeOptType": "6|Change Stoppage",
171
+ "x": 470,
172
+ "y": 265,
173
+ "wires": [
174
+ [
175
+ "d2eaa6da3fd96223"
176
+ ]
177
+ ]
178
+ },
179
+ {
180
+ "id": "f8348548c3717e33",
181
+ "type": "inject",
182
+ "z": "bb27bba8e5c5db87",
183
+ "name": "",
184
+ "props": [
185
+ {
186
+ "p": "WorkstationId",
187
+ "v": "53",
188
+ "vt": "num"
189
+ },
190
+ {
191
+ "p": "StoppageCauseId",
192
+ "v": "456",
193
+ "vt": "num"
194
+ }
195
+ ],
196
+ "repeat": "",
197
+ "crontab": "",
198
+ "once": false,
199
+ "onceDelay": 0.1,
200
+ "topic": "",
201
+ "x": 250,
202
+ "y": 265,
203
+ "wires": [
204
+ [
205
+ "676eb589a8dd5180"
206
+ ]
207
+ ]
208
+ },
209
+ {
210
+ "id": "132ff88aa7801950",
211
+ "type": "inject",
212
+ "z": "bb27bba8e5c5db87",
213
+ "name": "",
214
+ "props": [
215
+ {
216
+ "p": "WorkstationId",
217
+ "v": "53",
218
+ "vt": "num"
219
+ }
220
+ ],
221
+ "repeat": "",
222
+ "crontab": "",
223
+ "once": false,
224
+ "onceDelay": 0.1,
225
+ "topic": "",
226
+ "x": 250,
227
+ "y": 320,
228
+ "wires": [
229
+ [
230
+ "75fdf64ecbbf6680"
231
+ ]
232
+ ]
233
+ },
234
+ {
235
+ "id": "75fdf64ecbbf6680",
236
+ "type": "trexMes-CMD",
237
+ "z": "bb27bba8e5c5db87",
238
+ "trexmesCN": "906a24276c64dff5",
239
+ "name": "",
240
+ "throwErrors": "0",
241
+ "query": "{\n \"WorkstationId\": 10\n}",
242
+ "modeOptType": "7|Finish Stoppage",
243
+ "x": 460,
244
+ "y": 320,
245
+ "wires": [
246
+ [
247
+ "d2eaa6da3fd96223"
248
+ ]
249
+ ]
250
+ },
251
+ {
252
+ "id": "4f9f314992aa26ae",
253
+ "type": "inject",
254
+ "z": "bb27bba8e5c5db87",
255
+ "name": "",
256
+ "props": [
257
+ {
258
+ "p": "WorkstationId",
259
+ "v": "53",
260
+ "vt": "num"
261
+ },
262
+ {
263
+ "p": "EmployeeId",
264
+ "v": "85",
265
+ "vt": "num"
266
+ }
267
+ ],
268
+ "repeat": "",
269
+ "crontab": "",
270
+ "once": false,
271
+ "onceDelay": 0.1,
272
+ "topic": "",
273
+ "x": 250,
274
+ "y": 380,
275
+ "wires": [
276
+ [
277
+ "4ca601bfd9099dcc"
278
+ ]
279
+ ]
280
+ },
281
+ {
282
+ "id": "4ca601bfd9099dcc",
283
+ "type": "trexMes-CMD",
284
+ "z": "bb27bba8e5c5db87",
285
+ "trexmesCN": "906a24276c64dff5",
286
+ "name": "",
287
+ "throwErrors": "0",
288
+ "query": "{\n \"WorkstationId\": 10,\n \"EmployeeId\": 11\n}",
289
+ "modeOptType": "9|Login Employee",
290
+ "x": 460,
291
+ "y": 380,
292
+ "wires": [
293
+ [
294
+ "d2eaa6da3fd96223"
295
+ ]
296
+ ]
297
+ },
298
+ {
299
+ "id": "9718cb5f8fa918fe",
300
+ "type": "inject",
301
+ "z": "bb27bba8e5c5db87",
302
+ "name": "",
303
+ "props": [
304
+ {
305
+ "p": "WorkstationId",
306
+ "v": "53",
307
+ "vt": "num"
308
+ },
309
+ {
310
+ "p": "EmployeeId",
311
+ "v": "85",
312
+ "vt": "num"
313
+ }
314
+ ],
315
+ "repeat": "",
316
+ "crontab": "",
317
+ "once": false,
318
+ "onceDelay": 0.1,
319
+ "topic": "",
320
+ "x": 250,
321
+ "y": 440,
322
+ "wires": [
323
+ [
324
+ "d457026b4dcfbe7a"
325
+ ]
326
+ ]
327
+ },
328
+ {
329
+ "id": "d457026b4dcfbe7a",
330
+ "type": "trexMes-CMD",
331
+ "z": "bb27bba8e5c5db87",
332
+ "trexmesCN": "906a24276c64dff5",
333
+ "name": "",
334
+ "throwErrors": "0",
335
+ "query": "{\n \"WorkstationId\": 10,\n \"EmployeeId\": 11\n}",
336
+ "modeOptType": "10|Logout Employee",
337
+ "x": 470,
338
+ "y": 440,
339
+ "wires": [
340
+ [
341
+ "d2eaa6da3fd96223"
342
+ ]
343
+ ]
344
+ },
345
+ {
346
+ "id": "1cebd9fbdf07be73",
347
+ "type": "inject",
348
+ "z": "bb27bba8e5c5db87",
349
+ "name": "",
350
+ "props": [
351
+ {
352
+ "p": "WorkstationId",
353
+ "v": "53",
354
+ "vt": "num"
355
+ },
356
+ {
357
+ "p": "LineId",
358
+ "v": "3",
359
+ "vt": "num"
360
+ }
361
+ ],
362
+ "repeat": "",
363
+ "crontab": "",
364
+ "once": false,
365
+ "onceDelay": 0.1,
366
+ "topic": "",
367
+ "x": 250,
368
+ "y": 500,
369
+ "wires": [
370
+ [
371
+ "e0f6b0c04f7d9050"
372
+ ]
373
+ ]
374
+ },
375
+ {
376
+ "id": "e0f6b0c04f7d9050",
377
+ "type": "trexMes-CMD",
378
+ "z": "bb27bba8e5c5db87",
379
+ "trexmesCN": "906a24276c64dff5",
380
+ "name": "",
381
+ "throwErrors": "0",
382
+ "query": "{\n \"WorkstationId\": 10,\n \"LineId\": 11\n}",
383
+ "modeOptType": "13|Shifted Shift",
384
+ "x": 450,
385
+ "y": 500,
386
+ "wires": [
387
+ [
388
+ "d2eaa6da3fd96223"
389
+ ]
390
+ ]
391
+ },
392
+ {
393
+ "id": "abb831879d97fa5f",
394
+ "type": "inject",
395
+ "z": "bb27bba8e5c5db87",
396
+ "name": "",
397
+ "props": [
398
+ {
399
+ "p": "WorkstationId",
400
+ "v": "53",
401
+ "vt": "num"
402
+ },
403
+ {
404
+ "p": "StoppageCauseId",
405
+ "v": "219",
406
+ "vt": "num"
407
+ }
408
+ ],
409
+ "repeat": "",
410
+ "crontab": "",
411
+ "once": false,
412
+ "onceDelay": 0.1,
413
+ "topic": "",
414
+ "x": 250,
415
+ "y": 560,
416
+ "wires": [
417
+ [
418
+ "3b61ab01f4bf6e5e"
419
+ ]
420
+ ]
421
+ },
422
+ {
423
+ "id": "3b61ab01f4bf6e5e",
424
+ "type": "trexMes-CMD",
425
+ "z": "bb27bba8e5c5db87",
426
+ "trexmesCN": "906a24276c64dff5",
427
+ "name": "",
428
+ "throwErrors": "0",
429
+ "query": "{\n \"WorkstationId\": 10,\n \"StoppageCauseId\": 11\n}",
430
+ "modeOptType": "14|Start Test Mode",
431
+ "x": 460,
432
+ "y": 560,
433
+ "wires": [
434
+ [
435
+ "d2eaa6da3fd96223"
436
+ ]
437
+ ]
438
+ },
439
+ {
440
+ "id": "877ddd6f750c6145",
441
+ "type": "inject",
442
+ "z": "bb27bba8e5c5db87",
443
+ "name": "",
444
+ "props": [
445
+ {
446
+ "p": "WorkstationId",
447
+ "v": "53",
448
+ "vt": "num"
449
+ }
450
+ ],
451
+ "repeat": "",
452
+ "crontab": "",
453
+ "once": false,
454
+ "onceDelay": 0.1,
455
+ "topic": "",
456
+ "x": 250,
457
+ "y": 620,
458
+ "wires": [
459
+ [
460
+ "e4edac841a29cdee"
461
+ ]
462
+ ]
463
+ },
464
+ {
465
+ "id": "e4edac841a29cdee",
466
+ "type": "trexMes-CMD",
467
+ "z": "bb27bba8e5c5db87",
468
+ "trexmesCN": "906a24276c64dff5",
469
+ "name": "",
470
+ "throwErrors": "0",
471
+ "query": "{\n \"WorkstationId\": 10\n}",
472
+ "modeOptType": "15|Finish Test Mode",
473
+ "x": 470,
474
+ "y": 620,
475
+ "wires": [
476
+ [
477
+ "d2eaa6da3fd96223"
478
+ ]
479
+ ]
480
+ },
481
+ {
482
+ "id": "e41908792532acd2",
483
+ "type": "inject",
484
+ "z": "bb27bba8e5c5db87",
485
+ "name": "",
486
+ "props": [
487
+ {
488
+ "p": "WorkstationId",
489
+ "v": "53",
490
+ "vt": "num"
491
+ },
492
+ {
493
+ "p": "DefectId",
494
+ "v": "25",
495
+ "vt": "num"
496
+ },
497
+ {
498
+ "p": "StockId",
499
+ "v": "1477",
500
+ "vt": "num"
501
+ },
502
+ {
503
+ "p": "Quantity",
504
+ "v": "45",
505
+ "vt": "num"
506
+ }
507
+ ],
508
+ "repeat": "",
509
+ "crontab": "",
510
+ "once": false,
511
+ "onceDelay": 0.1,
512
+ "topic": "",
513
+ "x": 250,
514
+ "y": 680,
515
+ "wires": [
516
+ [
517
+ "0da9a07feb634f07"
518
+ ]
519
+ ]
520
+ },
521
+ {
522
+ "id": "0da9a07feb634f07",
523
+ "type": "trexMes-CMD",
524
+ "z": "bb27bba8e5c5db87",
525
+ "trexmesCN": "906a24276c64dff5",
526
+ "name": "",
527
+ "throwErrors": "0",
528
+ "query": "{\n \"WorkstationId\": 10,\n \"DefectId\": 11,\n \"StockId\": 12,\n \"Quantity\": 15.5\n}",
529
+ "modeOptType": "16|Create Deffect",
530
+ "x": 460,
531
+ "y": 680,
532
+ "wires": [
533
+ [
534
+ "d2eaa6da3fd96223"
535
+ ]
536
+ ]
537
+ },
538
+ {
539
+ "id": "906a24276c64dff5",
540
+ "type": "trexMes-CN",
541
+ "tdsVersion": "7_4",
542
+ "name": "",
543
+ "server": "10.16.16.11\\SQL2019",
544
+ "port": "1433",
545
+ "encyption": true,
546
+ "trustServerCertificate": true,
547
+ "database": "WashingMachine",
548
+ "companyId": "50",
549
+ "userId": "79",
550
+ "useUTC": true,
551
+ "connectTimeout": "15000",
552
+ "requestTimeout": "15000",
553
+ "cancelTimeout": "5000",
554
+ "pool": "5",
555
+ "parseJSON": false,
556
+ "enableArithAbort": true,
557
+ "readOnlyIntent": false
558
+ }
559
+ ]