Add config-based database conversion.

This commit is contained in:
Joshua Lucas
2026-10-29 09:09:03 -05:00
parent 36636878bd
commit d5da5c6618
35 changed files with 8450 additions and 209 deletions

View File

@@ -0,0 +1,40 @@
$schema: ../../../src/AuDage/extensions/assets/schema.yaml
format:
name: csv
sep: " "
header: false
index: false
extension: mcr
quoting: 3 # No quoting
quotechar: null
escapechar: null
import:
columns:
command:
type: str
const: "&set"
tagname:
type: str
translate:
columns: tagname
operations:
- operation: radd
arg: Descriptions.$plc$.PLC.
value:
type: str
translate:
columns: comment
operations:
- operation: replace
pattern: "^(.*?):.*"
repl: '"\1"'
export:
tagname:
translate:
columns: tagname
type:
const: ""
address:
const: ""
comment:
const: ""