初始化工程
This commit is contained in:
35
.vscode/launch.json
vendored
Normal file
35
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
// 使用 IntelliSense 了解相关属性。
|
||||
// 悬停以查看现有属性的描述。
|
||||
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "CBB-Param 代码生成",
|
||||
"type": "debugpy",
|
||||
"request": "launch",
|
||||
"program": "source/main.py",
|
||||
"console": "integratedTerminal",
|
||||
"args": [
|
||||
"test/param_input.xlsx",
|
||||
"-t=CBB_Param",
|
||||
"-d=PV_INV30",
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "COMM-ARM 代码生成",
|
||||
"type": "debugpy",
|
||||
"request": "launch",
|
||||
"program": "source/main.py",
|
||||
"console": "integratedTerminal",
|
||||
"args": [
|
||||
// "${command:pickArgs}",
|
||||
"test/光伏逆变器2.1_通信地址表_V01.xlsx",
|
||||
"-t=COMM_ARM",
|
||||
"-d=PV_INV30"
|
||||
],
|
||||
// "preLaunchTask": "deEncrpyt",
|
||||
// "postDebugTask": "delFile",
|
||||
}
|
||||
]
|
||||
}
|
||||
54
.vscode/tasks.json
vendored
Normal file
54
.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,54 @@
|
||||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "echo",
|
||||
"type": "shell",
|
||||
"command": "echo Hello"
|
||||
},
|
||||
{
|
||||
"label": "deEncrpyt",
|
||||
"type": "shell",
|
||||
"command": "de_encrypt",
|
||||
"args": [
|
||||
"test/光伏逆变器2.1_通信地址表_V01.xlsx",
|
||||
],
|
||||
|
||||
"problemMatcher": [],
|
||||
"presentation":{
|
||||
"echo": true,
|
||||
"reveal": "always",
|
||||
"focus": false,
|
||||
"panel": "shared",
|
||||
"showReuseMessage": true,
|
||||
"clear": false
|
||||
},
|
||||
"group": {
|
||||
"kind": "none"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "delFile",
|
||||
"type": "shell",
|
||||
"command": "rm",
|
||||
"args": [
|
||||
"test/光伏逆变器2.1_通信地址表_V01_dec.dec",
|
||||
],
|
||||
|
||||
"problemMatcher": [],
|
||||
"presentation":{
|
||||
"echo": true,
|
||||
"reveal": "always",
|
||||
"focus": false,
|
||||
"panel": "shared",
|
||||
"showReuseMessage": true,
|
||||
"clear": false
|
||||
},
|
||||
"group": {
|
||||
"kind": "none"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user