Skip to content

Commit aee22fd

Browse files
committed
update
1 parent a0082cb commit aee22fd

File tree

20 files changed

+327
-308
lines changed

20 files changed

+327
-308
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build-Windows
22

33
on:
44
push:
5-
branches: [master,viewr-v3]
5+
branches: [master]
66
# Allows you to run this workflow manually from the Actions tab
77
workflow_dispatch:
88

.github/workflows/npm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Publish Plugin SDK
55

66
on:
77
push:
8-
branches: [master]
8+
branches: [master,plugin1]
99
paths:
1010
- 'src/main/plugin-sdk/**'
1111
- 'src/renderer/src/plugin-sdk/**'

resources/examples/os_trace/os_trace.ecb

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1779,7 +1779,7 @@
17791779
"bitRate": "",
17801780
"ipAddress": "",
17811781
"port": "",
1782-
"file": "high.csv"
1782+
"file": "test_demo.csv"
17831783
}
17841784
}
17851785
}
@@ -2540,6 +2540,23 @@
25402540
},
25412541
"name": "Os_Trace_high"
25422542
}
2543+
},
2544+
"2eedf160-00ab-4d28-bd83-c28870d737d1": {
2545+
"pos": {
2546+
"x": 930,
2547+
"y": 366.5,
2548+
"w": 700,
2549+
"h": 400
2550+
},
2551+
"title": "orti",
2552+
"label": "ORTI",
2553+
"id": "2eedf160-00ab-4d28-bd83-c28870d737d1",
2554+
"options": {
2555+
"params": {
2556+
"edit-index": "2eedf160-00ab-4d28-bd83-c28870d737d1"
2557+
},
2558+
"name": "Os_Trace_high"
2559+
}
25432560
}
25442561
}
25452562
}

resources/lib/js/cryptoExt.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/lib/js/cryptoExt.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/lib/js/plugin.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/lib/js/plugin.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/lib/js/uds.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/lib/js/uds.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/cli/test.ts

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -58,20 +58,16 @@ export default async function main(
5858

5959
const node = new NodeClass(
6060
testItem,
61-
canBaseMap,
62-
linBaseMap,
63-
doips,
64-
ethBaseMap,
65-
pwmBaseMap,
66-
someipMap,
61+
6762
projectPath,
6863
projectName,
69-
data.tester,
64+
7065
{
7166
testOnly: true,
7267
id: testItem.id
7368
}
7469
)
70+
node.init(testItem, canBaseMap, linBaseMap, doips, ethBaseMap, pwmBaseMap, someipMap, data.tester)
7571
//surpress log this stage
7672
node.log!.log.silent = true
7773

@@ -95,22 +91,19 @@ export default async function main(
9591
}
9692
node.close()
9793

98-
const node1 = new NodeClass(
94+
const node1 = new NodeClass(testItem, projectPath, projectName, {
95+
id: testItem.id
96+
})
97+
node1.init(
9998
testItem,
10099
canBaseMap,
101100
linBaseMap,
102101
doips,
103102
ethBaseMap,
104103
pwmBaseMap,
105104
someipMap,
106-
projectPath,
107-
projectName,
108-
data.tester,
109-
{
110-
id: testItem.id
111-
}
105+
data.tester
112106
)
113-
114107
// Generate EnableObj and isSingleRun based on pattern (matching test.vue logic)
115108
const EnableObj: Record<number, boolean> = {}
116109
let isSingleRun: string[] | undefined = undefined

0 commit comments

Comments
 (0)