Add/update FTAE config files.
This commit is contained in:
@@ -3,19 +3,15 @@ $schema: >-
|
||||
format:
|
||||
name: xml
|
||||
exportStylesheets:
|
||||
- assets/export_ftae_pollgroups.xslt
|
||||
- assets/export_ftae_alarmgroup.xslt
|
||||
- assets/export_ftae_config.xslt
|
||||
- assets/export_ftae.xslt
|
||||
importStylesheets:
|
||||
- assets/import_ftae_pollgroups.xslt
|
||||
- assets/import_ftae_alarmgroup.xslt
|
||||
- assets/import_ftae_config.xslt
|
||||
- assets/import_ftae.xslt
|
||||
import:
|
||||
filter:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: match
|
||||
pattern: '.*\.Alarm$'
|
||||
pattern: '.*\.ALRM$'
|
||||
columns:
|
||||
# Columns prefixed with `a_` become attributes of <FTAlarmElement> in the
|
||||
# XML file.
|
||||
@@ -42,8 +38,8 @@ import:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
- operation: rregexmapping
|
||||
mapping: $pollgroupfile$
|
||||
Style:
|
||||
const: DiscreteTrue
|
||||
Target:
|
||||
@@ -53,7 +49,7 @@ import:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: replace
|
||||
pattern: '\.Alarm$'
|
||||
pattern: '\.ALRM$'
|
||||
repl: ".AESeverity"
|
||||
- operation: radd
|
||||
arg: "/::$path$"
|
||||
@@ -61,8 +57,8 @@ import:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
- operation: rregexmapping
|
||||
mapping: $pollgroupfile$
|
||||
DelayInterval:
|
||||
const: 0
|
||||
Deadband:
|
||||
@@ -76,21 +72,21 @@ import:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $commandfile$
|
||||
- operation: rregexmapping
|
||||
mapping: $commandfile$
|
||||
AlarmClass:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $classfile$
|
||||
- operation: rregexmapping
|
||||
mapping: $classfile$
|
||||
GroupID:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $groupfile$
|
||||
_column: 0
|
||||
- operation: rregexmapping
|
||||
mapping: $groupfile$
|
||||
column: id
|
||||
InAlarmDataItem:
|
||||
const: ""
|
||||
InAlarmDataItemPollGroup:
|
||||
@@ -100,7 +96,7 @@ import:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: replace
|
||||
pattern: '\.Alarm$'
|
||||
pattern: '\.ALRM$'
|
||||
repl: ".Disabled"
|
||||
- operation: radd
|
||||
arg: "/::$path$"
|
||||
@@ -108,14 +104,14 @@ import:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
- operation: rregexmapping
|
||||
mapping: $pollgroupfile$
|
||||
AckedDataItem:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: replace
|
||||
pattern: '\.Alarm$'
|
||||
pattern: '\.ALRM$'
|
||||
repl: ".ACKN"
|
||||
- operation: radd
|
||||
arg: "/::$path$"
|
||||
@@ -123,14 +119,14 @@ import:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
- operation: rregexmapping
|
||||
mapping: $pollgroupfile$
|
||||
SuppressedDataItem:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: replace
|
||||
pattern: '\.Alarm$'
|
||||
pattern: '\.ALRM$'
|
||||
repl: ".Suppressed"
|
||||
- operation: radd
|
||||
arg: "/::$path$"
|
||||
@@ -138,14 +134,14 @@ import:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
- operation: rregexmapping
|
||||
mapping: $pollgroupfile$
|
||||
ShelvedDataItem:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: replace
|
||||
pattern: '\.Alarm$'
|
||||
pattern: '\.ALRM$'
|
||||
repl: ".Shelve"
|
||||
- operation: radd
|
||||
arg: "/::$path$"
|
||||
@@ -153,46 +149,46 @@ import:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
- operation: rregexmapping
|
||||
mapping: $pollgroupfile$
|
||||
InAlarmHiDataItem:
|
||||
const: ""
|
||||
InAlarmHiDataItemPollGroup:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
- operation: rregexmapping
|
||||
mapping: $pollgroupfile$
|
||||
InAlarmLoDataItem:
|
||||
const: ""
|
||||
InAlarmLoDataItemPollGroup:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
- operation: rregexmapping
|
||||
mapping: $pollgroupfile$
|
||||
ShelvedHiDataItem:
|
||||
const: ""
|
||||
ShelvedHiDataItemPollGroup:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
- operation: rregexmapping
|
||||
mapping: $pollgroupfile$
|
||||
ShelvedLoDataItem:
|
||||
const: ""
|
||||
ShelvedLoDataItemPollGroup:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
- operation: rregexmapping
|
||||
mapping: $pollgroupfile$
|
||||
RemoteAckAllDataItem:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: replace
|
||||
pattern: '\.Alarm$'
|
||||
pattern: '\.ALRM$'
|
||||
repl: ".AKED"
|
||||
- operation: radd
|
||||
arg: "/::$path$"
|
||||
@@ -202,8 +198,8 @@ import:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
- operation: rregexmapping
|
||||
mapping: $pollgroupfile$
|
||||
RemoteAckHiDataItem:
|
||||
const: ""
|
||||
RemoteAckHiDataItemAutoReset:
|
||||
@@ -212,8 +208,8 @@ import:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
- operation: rregexmapping
|
||||
mapping: $pollgroupfile$
|
||||
RemoteAckLoDataItem:
|
||||
const: ""
|
||||
RemoteAckLoDataItemAutoReset:
|
||||
@@ -222,8 +218,8 @@ import:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
- operation: rregexmapping
|
||||
mapping: $pollgroupfile$
|
||||
RemoteShelveHiDataAlarm:
|
||||
const: ""
|
||||
RemoteShelveHiDataAlarmAutoReset:
|
||||
@@ -232,8 +228,8 @@ import:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
- operation: rregexmapping
|
||||
mapping: $pollgroupfile$
|
||||
RemoteShelveLoDataAlarm:
|
||||
const: ""
|
||||
RemoteShelveLoDataAlarmAutoReset:
|
||||
@@ -242,14 +238,14 @@ import:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
- operation: rregexmapping
|
||||
mapping: $pollgroupfile$
|
||||
RemoteDisableDataItem:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: replace
|
||||
pattern: '\.Alarm$'
|
||||
pattern: '\.ALRM$'
|
||||
repl: ".Disable"
|
||||
- operation: radd
|
||||
arg: "/::$path$"
|
||||
@@ -259,14 +255,14 @@ import:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
- operation: rregexmapping
|
||||
mapping: $pollgroupfile$
|
||||
RemoteEnableDataItem:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: replace
|
||||
pattern: '\.Alarm$'
|
||||
pattern: '\.ALRM$'
|
||||
repl: ".Enable"
|
||||
- operation: radd
|
||||
arg: "/::$path$"
|
||||
@@ -276,8 +272,8 @@ import:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
- operation: rregexmapping
|
||||
mapping: $pollgroupfile$
|
||||
RemoteResetDataItem:
|
||||
const: ""
|
||||
RemoteResetDataItemAutoReset:
|
||||
@@ -286,14 +282,14 @@ import:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
- operation: rregexmapping
|
||||
mapping: $pollgroupfile$
|
||||
RemoteSuppressDataItem:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: replace
|
||||
pattern: '\.Alarm$'
|
||||
pattern: '\.ALRM$'
|
||||
repl: ".Suppress"
|
||||
- operation: radd
|
||||
arg: "/::$path$"
|
||||
@@ -303,14 +299,14 @@ import:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
- operation: rregexmapping
|
||||
mapping: $pollgroupfile$
|
||||
RemoteUnSuppressDataItem:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: replace
|
||||
pattern: '\.Alarm$'
|
||||
pattern: '\.ALRM$'
|
||||
repl: ".Unsuppress"
|
||||
- operation: radd
|
||||
arg: "/::$path$"
|
||||
@@ -320,8 +316,8 @@ import:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
- operation: rregexmapping
|
||||
mapping: $pollgroupfile$
|
||||
RemoteShelveAllDataItem:
|
||||
const: ""
|
||||
RemoteShelveAllDataItemAutoReset:
|
||||
@@ -333,7 +329,7 @@ import:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: replace
|
||||
pattern: '\.Alarm$'
|
||||
pattern: '\.ALRM$'
|
||||
repl: ".Unshelve"
|
||||
- operation: radd
|
||||
arg: "/::$path$"
|
||||
@@ -343,14 +339,14 @@ import:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
- operation: rregexmapping
|
||||
mapping: $pollgroupfile$
|
||||
RemoteShelveDuration:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: replace
|
||||
pattern: '\.Alarm$'
|
||||
pattern: '\.ALRM$'
|
||||
repl: ".AEShelveDuration"
|
||||
- operation: radd
|
||||
arg: "/::$path$"
|
||||
@@ -358,21 +354,21 @@ import:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
- operation: rregexmapping
|
||||
mapping: $pollgroupfile$
|
||||
MessageID:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $messagefile$
|
||||
_column: 0
|
||||
- operation: rregexmapping
|
||||
mapping: $messagefile$
|
||||
column: id
|
||||
Tag1:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: replace
|
||||
pattern: '(\.alm\w+)?\.Alarm$'
|
||||
pattern: '(\.alm\w+)?\.ALRM$'
|
||||
repl: ".DESC"
|
||||
- operation: radd
|
||||
arg: "/::$path$"
|
||||
@@ -380,8 +376,8 @@ import:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
- operation: rregexmapping
|
||||
mapping: $pollgroupfile$
|
||||
Tag2:
|
||||
const: ""
|
||||
Tag2PollGroup:
|
||||
@@ -398,23 +394,23 @@ import:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $messagefile$
|
||||
_column: 1
|
||||
- operation: rregexmapping
|
||||
mapping: $messagefile$
|
||||
column: message
|
||||
ParentGroupID:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $groupfile$
|
||||
_column: 1
|
||||
- operation: rregexmapping
|
||||
mapping: $groupfile$
|
||||
column: parentid
|
||||
GroupName:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $groupfile$
|
||||
_column: 2
|
||||
- operation: rregexmapping
|
||||
mapping: $groupfile$
|
||||
column: name
|
||||
export:
|
||||
tagname:
|
||||
translate:
|
||||
|
||||
Reference in New Issue
Block a user