Blame view

HHECS.Web/src/components/MapModule/flow/graph/data/test-data.js 11 KB
胡菁 authored
1
胡菁 authored
2
3
4
5
6
7
8
9
10
11
export default {
	"cells": [{
		position: {
		  x: 150,
		  y: 215
		},
		size: {
		  width: 32,
		  height: 50
		},
胡菁 authored
12
13
		shape: 'SRM',
		id: 'SRM01',
胡菁 authored
14
15
16
		zIndex: 2,
		data: {
		  code: 'SRM01',
胡菁 authored
17
18
19
20
		  name: '堆垛机1',
		  status: "0",
		  pallet: "0",
		  auto: "5"
胡菁 authored
21
22
23
24
25
26
27
28
29
30
		}
	  },{
		position: {
		  x: 150,
		  y: 425
		},
		size: {
		  width: 32,
		  height: 50
		},
胡菁 authored
31
32
		shape: 'SRM',
		id: 'SRM02',
胡菁 authored
33
34
35
		zIndex: 2,
		data: {
		  code: 'SRM02',
胡菁 authored
36
37
38
39
		  name: '堆垛机2',
		  status: "0",
		  pallet: "0",
		  auto: "5"
胡菁 authored
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
		}
	  },{
		attrs: {
          text: {
            text: 'P1001',
			transform: 'translate(0, -25)', 
          },
      	},
		position: {
		  x: 990,
		  y: 160
		},
		size: {
		  width: 60,
		  height: 40
		},
胡菁 authored
56
57
		shape: 'Station',
		id: 'P1001',
胡菁 authored
58
59
60
		zIndex: 3,
		data: {
		  code: 'P1001',
胡菁 authored
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
		  name: '输送线',
		  type: 'left',
		  status: "0",
		  pallet: "0",
		  auto: "1"
		}
	  },{
		attrs: {
          text: {
            text: 'P1002',
			transform: 'translate(0, -25)', 
          },
      	},
		position: {
		  x: 1050,
		  y: 160
		},
		size: {
		  width: 60,
		  height: 40
		},
		shape: 'Station',
		id: 'P1002',
		zIndex: 3,
		data: {
		  code: 'P1002',
		  name: '输送线',
		  type: 'left',
		  status: "0",
		  pallet: "0",
		  auto: "1"
		}
	  },{
胡菁 authored
94
95
96
97
98
99
		attrs: {
		  text: {
		    text: 'P1003',
		    transform: 'translate(0, -25)', 
		  },
		},
胡菁 authored
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
		position: {
		  x: 1110,
		  y: 160
		},
		size: {
		  width: 40,
		  height: 40
		},
		shape: 'Station-D',
		id: 'P1003',
		zIndex: 4,
		data: {
		  code: "P1003",
		  name: "输送线",
		  status: "0",
		  pallet: "0",
		  auto: "1"
		}
	  },{
胡菁 authored
119
120
121
122
123
124
		attrs: {
		  text: {
		    text: 'P1004',
		    transform: 'translate(0, -25)', 
		  },
		},
胡菁 authored
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
		position: {
		  x: 1150,
		  y: 160
		},
		size: {
		  width: 40,
		  height: 40
		},
		shape: 'Station-D',
		id: 'P1004',
		zIndex: 4,
		data: {
		  code: "P1004",
		  name: "输送线",
		  status: "0",
		  pallet: "0",
		  auto: "1"
		}
	  },{
		attrs: {
		  text: {
		    text: 'P1005',
		    transform: 'translate(0, -25)', 
		  },
		},
		position: {
		  x: 1190,
		  y: 160
		},
		size: {
		  width: 60,
		  height: 40
		},
		shape: 'Station',
		id: '0698a6d6-4f48-42e3-ab59-5ff5713a635b',
		zIndex: 3,
		data: {
		  code: 'P1005',
		  name: '输送线',
		  type: 'right',
		  status: "0",
		  pallet: "0",
		  auto: "1"
		}
	  },{
		position: {
		  x: 1250,
		  y: 160
		},
		size: {
		  width: 40,
		  height: 40
		},
		shape: 'Station-D',
		id: 'P1006',
		zIndex: 4,
		data: {
		  code: "P1006",
		  name: "输送线",
		  status: "0",
		  pallet: "0",
		  auto: "1"
		}
	  },{
		attrs: {
		  text: {
		    text: 'P1007',
		    transform: 'translate(0, -25)', 
		  },
		},
		position: {
		  x: 1240,
		  y: 110
		},
		size: {
		  width: 60,
		  height: 40
		},
		angle: 90,
		shape: 'Station',
		id: 'P1007',
		zIndex: 4,
		data: {
		  code: 'P1007',
		  name: '输送线',
		  type: 'center',
		  status: "0",
		  pallet: "0",
		  auto: "1"
		}
	  },{
		attrs: {
		  text: {
		    text: 'P1008',
		    transform: 'translate(0, 25)', 
		  },
		},
		position: {
胡菁 authored
223
		  x: 1090,
胡菁 authored
224
225
226
227
228
229
230
231
232
233
234
235
		  y: 220
		},
		size: {
		  width: 80,
		  height: 40
		},
		angle: 90,
		shape: 'Station',
		id: 'P1008',
		zIndex: 4,
		data: {
		  code: 'P1008',
胡菁 authored
236
		  name: '输送线',
胡菁 authored
237
238
239
240
		  type: 'right',
		  status: "0",
		  pallet: "0",
		  auto: "1"
胡菁 authored
241
242
243
244
		}
	  },{
		attrs: {
		  text: {
胡菁 authored
245
246
		    text: 'P1009',
		    transform: 'translate(0, -25)', 
胡菁 authored
247
248
249
		  },
		},
		position: {
胡菁 authored
250
251
		  x: 1130,
		  y: 220
胡菁 authored
252
253
		},
		size: {
胡菁 authored
254
		  width: 80,
胡菁 authored
255
256
		  height: 40
		},
胡菁 authored
257
		angle: 90,
胡菁 authored
258
		shape: 'Station',
胡菁 authored
259
260
		id: 'P1009',
		zIndex: 4,
胡菁 authored
261
		data: {
胡菁 authored
262
263
264
		  code: 'P1009',
		  name: '输送线',
		  type: 'left',
胡菁 authored
265
266
267
		  status: "0",
		  pallet: "0",
		  auto: "1"
胡菁 authored
268
269
270
271
		}
	  },{
		attrs: {
		  text: {
胡菁 authored
272
		    text: 'P1010',
胡菁 authored
273
274
275
276
		    transform: 'translate(0, -25)', 
		  },
		},
		position: {
胡菁 authored
277
278
		  x: 1230,
		  y: 220
胡菁 authored
279
280
		},
		size: {
胡菁 authored
281
		  width: 80,
胡菁 authored
282
283
		  height: 40
		},
胡菁 authored
284
		angle: 90,
胡菁 authored
285
		shape: 'Station',
胡菁 authored
286
287
		id: 'P1010',
		zIndex: 4,
胡菁 authored
288
		data: {
胡菁 authored
289
290
291
		  code: 'P1010',
		  name: '输送线',
		  type: 'right',
胡菁 authored
292
293
294
		  status: "0",
		  pallet: "0",
		  auto: "1"
胡菁 authored
295
296
297
298
		}
	  },{
		attrs: {
		  text: {
胡菁 authored
299
300
		    text: 'P1011',
			transform: 'translate(0, -25)', 
胡菁 authored
301
302
303
304
		  },
		},
		position: {
		  x: 990,
胡菁 authored
305
		  y: 280
胡菁 authored
306
307
308
309
310
		},
		size: {
		  width: 60,
		  height: 40
		},
胡菁 authored
311
		shape: 'Station',
胡菁 authored
312
		id: 'P1011',
胡菁 authored
313
314
		zIndex: 3,
		data: {
胡菁 authored
315
316
317
		  code: 'P1011',
		  name: '输送线',
		  type: 'center',
胡菁 authored
318
319
320
		  status: "0",
		  pallet: "0",
		  auto: "1"
胡菁 authored
321
322
323
324
		}
	  },{
		attrs: {
		  text: {
胡菁 authored
325
326
		    text: 'P1012',
			transform: 'translate(0, -25)', 
胡菁 authored
327
328
329
		  },
		},
		position: {
胡菁 authored
330
		  x: 1050,
胡菁 authored
331
332
333
334
335
336
		  y: 280
		},
		size: {
		  width: 60,
		  height: 40
		},
胡菁 authored
337
		shape: 'Station',
胡菁 authored
338
		id: 'P1012',
胡菁 authored
339
340
		zIndex: 3,
		data: {
胡菁 authored
341
342
343
		  code: 'P1012',
		  name: '输送线',
		  type: 'center',
胡菁 authored
344
345
346
		  status: "0",
		  pallet: "0",
		  auto: "1"
胡菁 authored
347
348
349
		}
	  },{
		position: {
胡菁 authored
350
351
		  x: 1110,
		  y: 280
胡菁 authored
352
353
		},
		size: {
胡菁 authored
354
		  width: 40,
胡菁 authored
355
356
		  height: 40
		},
胡菁 authored
357
358
359
		shape: 'Station-D',
		id: 'P1015',
		zIndex: 4,
胡菁 authored
360
		data: {
胡菁 authored
361
362
		  code: "P1015",
		  name: "输送线",
胡菁 authored
363
364
365
		  status: "0",
		  pallet: "0",
		  auto: "1"
胡菁 authored
366
367
368
		}
	  },{
		position: {
胡菁 authored
369
370
		  x: 1150,
		  y: 280
胡菁 authored
371
372
		},
		size: {
胡菁 authored
373
		  width: 40,
胡菁 authored
374
375
		  height: 40
		},
胡菁 authored
376
377
378
		shape: 'Station-D',
		id: 'P1016',
		zIndex: 4,
胡菁 authored
379
		data: {
胡菁 authored
380
381
		  code: "P1016",
		  name: "输送线",
胡菁 authored
382
383
384
		  status: "0",
		  pallet: "0",
		  auto: "1"
胡菁 authored
385
386
387
388
		}
	  },{
		attrs: {
		  text: {
胡菁 authored
389
390
		    text: 'P1017',
		    transform: 'translate(0, -25)', 
胡菁 authored
391
392
393
		  },
		},
		position: {
胡菁 authored
394
395
		  x: 1190,
		  y: 280
胡菁 authored
396
397
		},
		size: {
胡菁 authored
398
		  width: 60,
胡菁 authored
399
400
		  height: 40
		},
胡菁 authored
401
		shape: 'Station',
胡菁 authored
402
403
		id: 'P1017',
		zIndex: 3,
胡菁 authored
404
		data: {
胡菁 authored
405
406
407
		  code: 'P1017',
		  name: '输送线',
		  type: 'left',
胡菁 authored
408
409
410
		  status: "0",
		  pallet: "0",
		  auto: "1"
胡菁 authored
411
412
413
414
		}
	  },{
		attrs: {
		  text: {
胡菁 authored
415
		    text: 'P1018',
胡菁 authored
416
417
418
419
		    transform: 'translate(0, 25)', 
		  },
		},
		position: {
胡菁 authored
420
421
		  x: 1250,
		  y: 280
胡菁 authored
422
423
		},
		size: {
胡菁 authored
424
		  width: 40,
胡菁 authored
425
426
		  height: 40
		},
胡菁 authored
427
428
		shape: 'Station-D',
		id: 'P1018',
胡菁 authored
429
430
		zIndex: 4,
		data: {
胡菁 authored
431
432
		  code: "P1018",
		  name: "输送线",
胡菁 authored
433
434
435
		  status: "0",
		  pallet: "0",
		  auto: "1"
胡菁 authored
436
437
438
439
		}
	  },{
		attrs: {
		  text: {
胡菁 authored
440
441
		    text: 'P1020',
		    transform: 'translate(0, 25)', 
胡菁 authored
442
443
444
		  },
		},
		position: {
胡菁 authored
445
446
		  x: 1105,
		  y: 325
胡菁 authored
447
448
		},
		size: {
胡菁 authored
449
		  width: 50,
胡菁 authored
450
451
452
		  height: 40
		},
		angle: 90,
胡菁 authored
453
		shape: 'Station',
胡菁 authored
454
		id: 'P1020',
胡菁 authored
455
456
		zIndex: 4,
		data: {
胡菁 authored
457
458
459
		  code: 'P1020',
		  name: '输送线',
		  type: 'right',
胡菁 authored
460
461
462
		  status: "0",
		  pallet: "0",
		  auto: "1"
胡菁 authored
463
464
465
466
467
468
469
470
471
		}
	  },{
		attrs: {
		  text: {
		    text: 'P1021',
		    transform: 'translate(0, -25)', 
		  },
		},
		position: {
胡菁 authored
472
		  x: 1145,
胡菁 authored
473
474
475
476
477
478
479
		  y: 325
		},
		size: {
		  width: 50,
		  height: 40
		},
		angle: 90,
胡菁 authored
480
		shape: 'Station',
胡菁 authored
481
		id: 'P1021',
胡菁 authored
482
483
484
		zIndex: 4,
		data: {
		  code: 'P1021',
胡菁 authored
485
		  name: '输送线',
胡菁 authored
486
487
488
489
		  type: 'left',
		  status: "0",
		  pallet: "0",
		  auto: "1"
胡菁 authored
490
491
492
493
		}
	  },{
		attrs: {
		  text: {
胡菁 authored
494
		    text: 'P1022',
胡菁 authored
495
496
497
498
		    transform: 'translate(0, -25)', 
		  },
		},
		position: {
胡菁 authored
499
500
		  x: 990,
		  y: 370
胡菁 authored
501
502
		},
		size: {
胡菁 authored
503
		  width: 60,
胡菁 authored
504
505
		  height: 40
		},
胡菁 authored
506
		shape: 'Station',
胡菁 authored
507
508
		id: 'P1022',
		zIndex: 3,
胡菁 authored
509
		data: {
胡菁 authored
510
511
		  code: 'P1022',
		  name: '输送线',
胡菁 authored
512
513
514
515
		  type: 'left',
		  status: "0",
		  pallet: "0",
		  auto: "1"
胡菁 authored
516
517
518
519
		}
	  },{
		attrs: {
		  text: {
胡菁 authored
520
		    text: 'P1022',
胡菁 authored
521
522
523
524
		    transform: 'translate(0, -25)', 
		  },
		},
		position: {
胡菁 authored
525
526
		  x: 1050,
		  y: 370
胡菁 authored
527
528
		},
		size: {
胡菁 authored
529
		  width: 60,
胡菁 authored
530
531
		  height: 40
		},
胡菁 authored
532
		shape: 'Station',
胡菁 authored
533
534
		id: 'P1023',
		zIndex: 3,
胡菁 authored
535
		data: {
胡菁 authored
536
537
538
		  code: 'P1023',
		  name: '输送线',
		  type: 'left',
胡菁 authored
539
540
541
		  status: "0",
		  pallet: "0",
		  auto: "1"
胡菁 authored
542
543
544
		}
	  },{
		position: {
胡菁 authored
545
546
		  x: 1110,
		  y: 370
胡菁 authored
547
548
549
550
551
		},
		size: {
		  width: 40,
		  height: 40
		},
胡菁 authored
552
		shape: 'Station-D',
胡菁 authored
553
		id: 'P1026',
胡菁 authored
554
555
		zIndex: 4,
		data: {
胡菁 authored
556
		  code: "P1026",
胡菁 authored
557
558
559
560
561
		  name: "输送线",
		  status: "0",
		  pallet: "0",
		  auto: "1"
		}
胡菁 authored
562
563
	  },{
		position: {
胡菁 authored
564
565
		  x: 1150,
		  y: 370
胡菁 authored
566
567
568
569
570
		},
		size: {
		  width: 40,
		  height: 40
		},
胡菁 authored
571
		shape: 'Station-D',
胡菁 authored
572
		id: 'P1027',
胡菁 authored
573
574
		zIndex: 4,
		data: {
胡菁 authored
575
		  code: "P1027",
胡菁 authored
576
577
578
579
580
		  name: "输送线",
		  status: "0",
		  pallet: "0",
		  auto: "1"
		}
胡菁 authored
581
	  },{
胡菁 authored
582
583
584
585
586
587
		attrs: {
		  text: {
		    text: 'P1028',
		    transform: 'translate(0, -25)', 
		  },
		},
胡菁 authored
588
		position: {
胡菁 authored
589
590
		  x: 1190,
		  y: 370
胡菁 authored
591
592
		},
		size: {
胡菁 authored
593
		  width: 60,
胡菁 authored
594
595
		  height: 40
		},
胡菁 authored
596
597
598
		shape: 'Station',
		id: 'P1028',
		zIndex: 3,
胡菁 authored
599
		data: {
胡菁 authored
600
601
602
		  code: 'P1028',
		  name: '输送线',
		  type: 'center',
胡菁 authored
603
604
605
606
		  status: "0",
		  pallet: "0",
		  auto: "1"
		}
胡菁 authored
607
	  },{
胡菁 authored
608
609
610
611
612
613
		attrs: {
		  text: {
		    text: 'P1029',
		    transform: 'translate(0, 25)', 
		  },
		},
胡菁 authored
614
		position: {
胡菁 authored
615
616
		  x: 1090,
		  y: 430
胡菁 authored
617
618
		},
		size: {
胡菁 authored
619
		  width: 80,
胡菁 authored
620
621
		  height: 40
		},
胡菁 authored
622
623
624
		angle: 90,
		shape: 'Station',
		id: 'P1029',
胡菁 authored
625
626
		zIndex: 4,
		data: {
胡菁 authored
627
628
629
		  code: 'P1029',
		  name: '输送线',
		  type: 'right',
胡菁 authored
630
631
632
633
		  status: "0",
		  pallet: "0",
		  auto: "1"
		}
胡菁 authored
634
	  },{
胡菁 authored
635
636
637
638
639
640
		attrs: {
		  text: {
		    text: 'P1030',
		    transform: 'translate(0, -25)', 
		  },
		},
胡菁 authored
641
		position: {
胡菁 authored
642
643
		  x: 1130,
		  y: 430
胡菁 authored
644
		},
胡菁 authored
645
		angle: 90,
胡菁 authored
646
		size: {
胡菁 authored
647
		  width: 80,
胡菁 authored
648
649
		  height: 40
		},
胡菁 authored
650
651
		shape: 'Station',
		id: 'P1030',
胡菁 authored
652
653
		zIndex: 4,
		data: {
胡菁 authored
654
655
656
		  code: 'P1030',
		  name: '输送线',
		  type: 'left',
胡菁 authored
657
658
659
660
		  status: "0",
		  pallet: "0",
		  auto: "1"
		}
胡菁 authored
661
	  },{
胡菁 authored
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
		attrs: {
		  text: {
		    text: 'P1031',
		    transform: 'translate(0, -25)', 
		  },
		},
		position: {
		  x: 990,
		  y: 490
		},
		size: {
		  width: 60,
		  height: 40
		},
		shape: 'Station',
		id: 'P1031',
		zIndex: 3,
		data: {
		  code: 'P1031',
		  name: '输送线',
		  type: 'right',
		  status: "0",
		  pallet: "0",
		  auto: "1"
		}
	  },{
		attrs: {
		  text: {
		    text: 'P1032',
		    transform: 'translate(0, -25)', 
		  },
		},
胡菁 authored
694
695
696
697
698
		position: {
		  x: 1050,
		  y: 490
		},
		size: {
胡菁 authored
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
		  width: 60,
		  height: 40
		},
		shape: 'Station',
		id: 'P1032',
		zIndex: 3,
		data: {
		  code: 'P1032',
		  name: '输送线',
		  type: 'right',
		  status: "0",
		  pallet: "0",
		  auto: "1"
		}
	  },{
		attrs: {
		  text: {
		    text: 'P1033',
		    transform: 'translate(0, 25)', 
		  },
		},
		position: {
		  x: 1110,
		  y: 490
		},
		size: {
胡菁 authored
725
726
727
		  width: 40,
		  height: 40
		},
胡菁 authored
728
		shape: 'Station-D',
胡菁 authored
729
		id: 'P1033',
胡菁 authored
730
731
732
733
734
735
736
737
		zIndex: 4,
		data: {
		  code: "P1033",
		  name: "输送线",
		  status: "0",
		  pallet: "0",
		  auto: "1"
		}
胡菁 authored
738
	  },{
胡菁 authored
739
740
741
742
743
744
		attrs: {
		  text: {
		    text: 'P1034',
		    transform: 'translate(0, 25)', 
		  },
		},
胡菁 authored
745
		position: {
胡菁 authored
746
		  x: 1150,
胡菁 authored
747
748
749
750
751
752
		  y: 490
		},
		size: {
		  width: 40,
		  height: 40
		},
胡菁 authored
753
		shape: 'Station-D',
胡菁 authored
754
		id: 'P1034',
胡菁 authored
755
756
757
758
759
760
761
762
763
		zIndex: 4,
		data: {
		  code: "P1034",
		  name: "输送线",
		  status: "0",
		  pallet: "0",
		  auto: "1"
		}
	  },{
胡菁 authored
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
		attrs: {
		  text: {
		    text: 'P1035',
		    transform: 'translate(0, -25)', 
		  },
		},
		position: {
		  x: 1190,
		  y: 490
		},
		size: {
		  width: 60,
		  height: 40
		},
		shape: 'Station',
		id: 'P1035',
		zIndex: 3,
		data: {
		  code: 'P1035',
		  name: '输送线',
		  type: 'center',
		  status: "0",
		  pallet: "0",
		  auto: "1"
		}
	  },{
胡菁 authored
790
791
792
793
794
		position: {
		  x: 140,
		  y: 235
		},
		size: {
胡菁 authored
795
		  width: 940,
胡菁 authored
796
797
798
799
800
801
802
803
804
805
806
		  height: 10
		},
		shape: 'OneTrack',
		id: '0698a6d6-4f48-42e4-ab59-3ff5713a68e0',
		zIndex: -10,
	  },{
		position: {
		  x: 140,
		  y: 445
		},
		size: {
胡菁 authored
807
		  width: 940,
胡菁 authored
808
809
810
811
812
		  height: 10
		},
		shape: 'OneTrack',
		id: '0698a6d6-4f48-42e6-ab59-3ff5713a68e0',
		zIndex: -10,
胡菁 authored
813
814
	  }]
}