@jnrs/lingshu-smart 2.2.42 → 2.2.44

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-8szZ-Zwj.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-CtOQ-c4T.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",
@@ -597,9 +597,9 @@
597
597
  "caseId": "07940f5e-93fd-40c5-85f7-56b4d3fe838b",
598
598
  "caseName": "中央刀具库(丝路厂区)",
599
599
  "fileUrl": "public/lingshu-smart/wsProxyConfig.json",
600
- "version": "0.0.1",
600
+ "version": "1.0.0",
601
601
  "dataSource": "builtin",
602
- "wsUrl": "ws://192.168.1.43:5001/ws/monitor?page=ctsMonitor",
602
+ "wsUrl": "ws://192.168.1.40:5001/ws/monitor?page=ctsMonitor",
603
603
  "carryToken": true,
604
604
  "requestMode": "direct",
605
605
  "autoConnect": true,
@@ -607,10 +607,12 @@
607
607
  "sourceTypeField": "type",
608
608
  "heartbeatInterval": 0,
609
609
  "modelMap": {
610
- "1": "SingleJointRobot",
611
- "4": "ShuttleStation",
610
+ "0": "SingleJointRobot",
611
+ "1": "Pallet",
612
+ "2": "ShuttleStation",
613
+ "4": "ResourceStore",
612
614
  "5": "ResourceOperationWindow",
613
- "8": "MaterialTrack"
615
+ "6": "MaterialTrack"
614
616
  },
615
617
  "rules": [
616
618
  {
@@ -951,19 +953,13 @@
951
953
  "target": "resource.name",
952
954
  "source": "",
953
955
  "transform": "constant",
954
- "constant": "A"
956
+ "constant": "C"
955
957
  },
956
958
  {
957
959
  "target": "resource.color",
958
960
  "source": "status",
959
- "transform": "condition",
960
- "conditions": [
961
- {
962
- "operator": "eq",
963
- "operand": "1",
964
- "value": "#f30"
965
- }
966
- ]
961
+ "transform": "dictColor",
962
+ "dictName": "toolStatus"
967
963
  },
968
964
  {
969
965
  "target": "resource.index",
@@ -973,23 +969,26 @@
973
969
  "remove": [
974
970
  {
975
971
  "target": "className",
976
- "source": "removeType"
972
+ "source": "o_deviceType",
973
+ "transform": "modelMap"
977
974
  },
978
975
  {
979
976
  "target": "id",
980
- "source": "removeId"
977
+ "source": "o_deviceId"
981
978
  },
982
979
  {
983
980
  "target": "resource.resourceType",
984
- "source": "resourceType"
981
+ "source": "",
982
+ "transform": "constant",
983
+ "constant": "Tool"
985
984
  },
986
985
  {
987
986
  "target": "resource.resourceId",
988
- "source": "resourceId"
987
+ "source": "id"
989
988
  },
990
989
  {
991
990
  "target": "resource.index",
992
- "source": "removeSiteNumber"
991
+ "source": "o_station"
993
992
  }
994
993
  ]
995
994
  }