Add FTAE config.

This commit is contained in:
2026-11-10 13:33:29 -06:00
parent 36daac279f
commit 8a900ed271
4 changed files with 224 additions and 0 deletions

View File

@@ -1,2 +1,226 @@
$schema: >-
https://primegit.primecontrols-dev.com/j.lucas/AuDaGe/raw/branch/main/extensions/schema.yaml
format:
name: xml
exportStylesheets:
- assets/export_ftae_pollgroups.xslt
- assets/export_ftae_alarmgroup.xslt
- assets/export_ftae_config.xslt
importStylesheets:
- assets/import_ftae_pollgroups.xslt
- assets/import_ftae_alarmgroup.xslt
- assets/import_ftae_config.xslt
import:
filter:
columns: tagname
operations:
- operation: match
pattern: '.*\.Alarm$'
columns:
name:
translate:
columns: tagname
operations:
- operation: replace
pattern: '[^\w\d]'
repl: "_"
latched:
const: "false"
ackRequired:
const: "true"
style:
const: "Discrete"
DataItem:
translate:
columns: tagname
operations:
- operation: radd
arg: "/::$path$"
Style:
const: DiscreteTrue
Severity:
translate:
columns: tagname
operations:
- operation: replace
pattern: '\.Alarm$'
repl: ".AESeverity"
- operation: radd
arg: "/::$path$"
DelayInterval:
const: 0
EnableTag:
const: "true"
UserData:
translate:
columns: comment
RSVCmd:
translate:
columns: tagname
operations:
- operation: regexmapping
_file: $commandfile$
AlarmClass:
translate:
columns: tagname
operations:
- operation: regexmapping
_file: $classfile$
GroupID:
translate:
columns: tagname
operations:
- operation: regexmapping
_file: $groupfile$
InAlarmDataItem:
const: ""
DisabledDataItem:
translate:
columns: tagname
operations:
- operation: replace
pattern: '\.Alarm$'
repl: ".Disabled"
- operation: radd
arg: "/::$path$"
AckedDataItem:
translate:
columns: tagname
operations:
- operation: replace
pattern: '\.Alarm$'
repl: ".ACKN"
- operation: radd
arg: "/::$path$"
SuppressedDataItem:
translate:
columns: tagname
operations:
- operation: replace
pattern: '\.Alarm$'
repl: ".Suppressed"
- operation: radd
arg: "/::$path$"
ShelvedDataItem:
translate:
columns: tagname
operations:
- operation: replace
pattern: '\.Alarm$'
repl: ".Shelve"
- operation: radd
arg: "/::$path$"
RemoteAckAllDataItem:
translate:
columns: tagname
operations:
- operation: replace
pattern: '\.Alarm$'
repl: ".AKED"
- operation: radd
arg: "/::$path$"
RemoteAckAllDataItemAutoReset:
const: "false"
RemoteDisableDataItem:
translate:
columns: tagname
operations:
- operation: replace
pattern: '\.Alarm$'
repl: ".Disable"
- operation: radd
arg: "/::$path$"
RemoteDisableDataItemAutoReset:
const: "false"
RemoteEnableDataItem:
translate:
columns: tagname
operations:
- operation: replace
pattern: '\.Alarm$'
repl: ".Enable"
- operation: radd
arg: "/::$path$"
RemoteEnableDataItemAutoReset:
const: "false"
RemoteSuppressDataItem:
translate:
columns: tagname
operations:
- operation: replace
pattern: '\.Alarm$'
repl: ".Suppress"
- operation: radd
arg: "/::$path$"
RemoteSuppressDataItemAutoReset:
const: "false"
RemoteUnSuppressDataItem:
translate:
columns: tagname
operations:
- operation: replace
pattern: '\.Alarm$'
repl: ".Unsuppress"
- operation: radd
arg: "/::$path$"
RemoteUnSuppressDataItemAutoReset:
const: "false"
RemoteShelveAllDataItem:
const: ""
RemoteShelveAllDataItemAutoReset:
const: "false"
RemoteUnShelveDataItem:
translate:
columns: tagname
operations:
- operation: replace
pattern: '\.Alarm$'
repl: ".Unshelve"
- operation: radd
arg: "/::$path$"
RemoteUnShelveDataItemAutoReset:
const: "false"
RemoteShelveDuration:
translate:
columns: tagname
operations:
- operation: replace
pattern: '\.Alarm$'
repl: ".AEShelveDuration"
- operation: radd
arg: "/::$path$"
MessageID:
translate:
columns: tagname
operations:
- operation: regexmapping
_file: $messagefile$
Tag1:
translate:
columns: tagname
operations:
- operation: replace
pattern: '(\.alm\w+)?\.Alarm$'
repl: ".DESC"
- operation: radd
arg: "/::$path$"
Tag2:
const: ""
Tag3:
const: ""
Tag4:
const: ""
export:
tagname:
translate:
columns: DataItem
operations:
- operation: replace
pattern: "/::$path$"
type:
const: BOOL
address:
const: ""
comment:
translate:
columns: UserData