初始化工程

This commit is contained in:
何 泽隆
2024-11-03 16:58:00 +08:00
commit 239fd2ca11
9 changed files with 1555 additions and 0 deletions

35
.vscode/launch.json vendored Normal file
View 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
View 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"
}
}
]
}