@jnrs/lingshu-smart 2.2.43 → 2.2.45

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/index.js CHANGED
@@ -1,55 +1,31 @@
1
- import { d as s } from "./index-Cz1A_VVJ.js";
2
- import { ay as i, E, ax as l, c as L, av as I, j as A, k as S, aw as _, g as R, h as p, aA as C, l as f, az as g, as as x, aB as G, at as P, t as h, e as B } from "./index-Cz1A_VVJ.js";
3
- function t(a) {
4
- return a?.className === s.MACHINE_TOOL;
5
- }
6
- function n(a) {
7
- return a?.className === s.MACHINE_TOOL || a?.className === s.MARKING_MACHINE || a?.className === s.CLEANING_MACHINE || a?.className === s.LOADING_STATION || a?.className === s.RESOURCE_OPERATION_WINDOW;
8
- }
9
- function o(a) {
10
- return a?.className === s.RESOURCE_STORE || a?.className === s.SINGLE_JOINT_ROBOT || a?.className === s.DOUBLE_JOINT_ROBOT || a?.className === s.RGV || a?.className === s.PALLET;
11
- }
12
- function c(a) {
13
- return a?.className === s.SHUTTLE_STATION || a?.className === s.MATERIAL_TRACK;
14
- }
15
- function N(a) {
16
- return a?.className === s.SINGLE_JOINT_ROBOT || a?.className === s.DOUBLE_JOINT_ROBOT;
17
- }
18
- function T(a) {
19
- return a?.className === s.RAIL;
20
- }
21
- function m(a) {
22
- return a?.className === s.SHUTTLE_STATION;
23
- }
24
- function r(a) {
25
- return a?.className === s.PALLET;
26
- }
1
+ import { c as e, b as t, d as o, E as n, a as r, k as i, m as l, i as p, o as c, p as m, h as u, l as g, j as h, n as S, s as x, e as L, t as d, g as C, f as E } from "./index-Dsgrnpn0.js";
2
+ import { c as T, h as f, b, i as y, f as G, d as R, e as v, a as F } from "./guards-aLOXCeCF.js";
27
3
  export {
28
- i as EnumComponent,
29
- s as EnumModel,
30
- E as EnumResourceType,
31
- l as EnumStepType,
32
- L as EnumTag,
33
- I as compactCase,
34
- A as compactCases,
35
- S as createLogger,
36
- _ as expandCase,
37
- R as expandCases,
38
- p as getLogLevel,
39
- N as hasFixtureChange,
40
- n as hasStationSlotGroup,
41
- c as hasStationSlotLayers,
42
- t as isMachineTool,
43
- r as isPallet,
44
- T as isRail,
45
- m as isShuttleStation,
46
- o as isStationSlotGroupBoth,
47
- C as linearIncrease,
48
- f as logger,
49
- g as numberLoopGenerator,
4
+ e as EnumComponent,
5
+ t as EnumModel,
6
+ o as EnumResourceType,
7
+ n as EnumStepType,
8
+ r as EnumTag,
9
+ i as compactCase,
10
+ l as compactCases,
11
+ p as createLogger,
12
+ c as expandCase,
13
+ m as expandCases,
14
+ u as getLogLevel,
15
+ T as hasFixtureChange,
16
+ f as hasStationSlotGroup,
17
+ b as hasStationSlotLayers,
18
+ y as isMachineTool,
19
+ G as isPallet,
20
+ R as isRail,
21
+ v as isShuttleStation,
22
+ F as isStationSlotGroupBoth,
23
+ g as linearIncrease,
24
+ h as logger,
25
+ S as numberLoopGenerator,
50
26
  x as setLogLevel,
51
- G as transFraction,
52
- P as transPercentAndPixel,
53
- h as transPercentToPixel,
54
- B as transRuntimeToPixel
27
+ L as transFraction,
28
+ d as transPercentAndPixel,
29
+ C as transPercentToPixel,
30
+ E as transRuntimeToPixel
55
31
  };
@@ -3,7 +3,7 @@
3
3
  "caseId": "e213398c-217a-40f3-9ee0-3aea08e46a5a",
4
4
  "caseName": "测试运行",
5
5
  "fileUrl": "public/lingshu-smart/wsProxyConfig.json",
6
- "version": "0.0.1",
6
+ "version": "1.0.0",
7
7
  "dataSource": "builtin",
8
8
  "wsUrl": "",
9
9
  "requestMode": "direct",
@@ -139,6 +139,13 @@
139
139
  "resourceIds": "data"
140
140
  }
141
141
  },
142
+ {
143
+ "sourceType": "resetAll",
144
+ "className": "ResetAll",
145
+ "enabled": true,
146
+ "operate": "resetAll",
147
+ "mappings": []
148
+ },
142
149
  {
143
150
  "sourceType": "Rail",
144
151
  "className": "Rail",
@@ -597,9 +604,9 @@
597
604
  "caseId": "07940f5e-93fd-40c5-85f7-56b4d3fe838b",
598
605
  "caseName": "中央刀具库(丝路厂区)",
599
606
  "fileUrl": "public/lingshu-smart/wsProxyConfig.json",
600
- "version": "0.0.1",
607
+ "version": "1.0.0",
601
608
  "dataSource": "builtin",
602
- "wsUrl": "ws://192.168.1.43:5001/ws/monitor?page=ctsMonitor",
609
+ "wsUrl": "ws://192.168.1.40:5001/ws/monitor?page=ctsMonitor",
603
610
  "carryToken": true,
604
611
  "requestMode": "direct",
605
612
  "autoConnect": true,
@@ -607,10 +614,12 @@
607
614
  "sourceTypeField": "type",
608
615
  "heartbeatInterval": 0,
609
616
  "modelMap": {
610
- "1": "SingleJointRobot",
611
- "4": "ShuttleStation",
617
+ "0": "SingleJointRobot",
618
+ "1": "Pallet",
619
+ "2": "ShuttleStation",
620
+ "4": "ResourceStore",
612
621
  "5": "ResourceOperationWindow",
613
- "8": "MaterialTrack"
622
+ "6": "MaterialTrack"
614
623
  },
615
624
  "rules": [
616
625
  {
@@ -951,19 +960,13 @@
951
960
  "target": "resource.name",
952
961
  "source": "",
953
962
  "transform": "constant",
954
- "constant": "A"
963
+ "constant": "C"
955
964
  },
956
965
  {
957
966
  "target": "resource.color",
958
967
  "source": "status",
959
- "transform": "condition",
960
- "conditions": [
961
- {
962
- "operator": "eq",
963
- "operand": "1",
964
- "value": "#f30"
965
- }
966
- ]
968
+ "transform": "dictColor",
969
+ "dictName": "toolStatus"
967
970
  },
968
971
  {
969
972
  "target": "resource.index",
@@ -973,23 +976,26 @@
973
976
  "remove": [
974
977
  {
975
978
  "target": "className",
976
- "source": "removeType"
979
+ "source": "o_deviceType",
980
+ "transform": "modelMap"
977
981
  },
978
982
  {
979
983
  "target": "id",
980
- "source": "removeId"
984
+ "source": "o_deviceId"
981
985
  },
982
986
  {
983
987
  "target": "resource.resourceType",
984
- "source": "resourceType"
988
+ "source": "",
989
+ "transform": "constant",
990
+ "constant": "Tool"
985
991
  },
986
992
  {
987
993
  "target": "resource.resourceId",
988
- "source": "resourceId"
994
+ "source": "id"
989
995
  },
990
996
  {
991
997
  "target": "resource.index",
992
- "source": "removeSiteNumber"
998
+ "source": "o_station"
993
999
  }
994
1000
  ]
995
1001
  }
@@ -1004,6 +1010,13 @@
1004
1010
  "resourceIds": "data"
1005
1011
  }
1006
1012
  },
1013
+ {
1014
+ "sourceType": "resetAll",
1015
+ "className": "ResetAll",
1016
+ "enabled": true,
1017
+ "operate": "resetAll",
1018
+ "mappings": []
1019
+ },
1007
1020
  {
1008
1021
  "sourceType": "5",
1009
1022
  "className": "ResourceOperationWindow",