Add more columns to FTAE config.
This commit is contained in:
@@ -17,18 +17,20 @@ import:
|
||||
- operation: match
|
||||
pattern: '.*\.Alarm$'
|
||||
columns:
|
||||
name:
|
||||
# Columns prefixed with `a_` become attributes of <FTAlarmElement> in the
|
||||
# XML file.
|
||||
a_name:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: replace
|
||||
pattern: '[^\w\d]'
|
||||
repl: "_"
|
||||
latched:
|
||||
a_latched:
|
||||
const: "false"
|
||||
ackRequired:
|
||||
a_ackRequired:
|
||||
const: "true"
|
||||
style:
|
||||
a_style:
|
||||
const: "Discrete"
|
||||
DataItem:
|
||||
translate:
|
||||
@@ -36,8 +38,16 @@ import:
|
||||
operations:
|
||||
- operation: radd
|
||||
arg: "/::$path$"
|
||||
DataItemPollGroup:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
Style:
|
||||
const: DiscreteTrue
|
||||
Target:
|
||||
const: ""
|
||||
Severity:
|
||||
translate:
|
||||
columns: tagname
|
||||
@@ -47,8 +57,16 @@ import:
|
||||
repl: ".AESeverity"
|
||||
- operation: radd
|
||||
arg: "/::$path$"
|
||||
SeverityPollGroup:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
DelayInterval:
|
||||
const: 0
|
||||
Deadband:
|
||||
const: ""
|
||||
EnableTag:
|
||||
const: "true"
|
||||
UserData:
|
||||
@@ -72,8 +90,11 @@ import:
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $groupfile$
|
||||
_column: 0
|
||||
InAlarmDataItem:
|
||||
const: ""
|
||||
InAlarmDataItemPollGroup:
|
||||
const: ""
|
||||
DisabledDataItem:
|
||||
translate:
|
||||
columns: tagname
|
||||
@@ -83,6 +104,12 @@ import:
|
||||
repl: ".Disabled"
|
||||
- operation: radd
|
||||
arg: "/::$path$"
|
||||
DisabledDataItemPollGroup:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
AckedDataItem:
|
||||
translate:
|
||||
columns: tagname
|
||||
@@ -92,6 +119,12 @@ import:
|
||||
repl: ".ACKN"
|
||||
- operation: radd
|
||||
arg: "/::$path$"
|
||||
AckedDataItemPollGroup:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
SuppressedDataItem:
|
||||
translate:
|
||||
columns: tagname
|
||||
@@ -101,6 +134,12 @@ import:
|
||||
repl: ".Suppressed"
|
||||
- operation: radd
|
||||
arg: "/::$path$"
|
||||
SuppressedDataItemPollGroup:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
ShelvedDataItem:
|
||||
translate:
|
||||
columns: tagname
|
||||
@@ -110,6 +149,44 @@ import:
|
||||
repl: ".Shelve"
|
||||
- operation: radd
|
||||
arg: "/::$path$"
|
||||
ShelvedDataItemPollGroup:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
InAlarmHiDataItem:
|
||||
const: ""
|
||||
InAlarmHiDataItemPollGroup:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
InAlarmLoDataItem:
|
||||
const: ""
|
||||
InAlarmLoDataItemPollGroup:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
ShelvedHiDataItem:
|
||||
const: ""
|
||||
ShelvedHiDataItemPollGroup:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
ShelvedLoDataItem:
|
||||
const: ""
|
||||
ShelvedLoDataItemPollGroup:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
RemoteAckAllDataItem:
|
||||
translate:
|
||||
columns: tagname
|
||||
@@ -121,6 +198,52 @@ import:
|
||||
arg: "/::$path$"
|
||||
RemoteAckAllDataItemAutoReset:
|
||||
const: "false"
|
||||
RemoteAckAllDataItemPollGroup:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
RemoteAckHiDataItem:
|
||||
const: ""
|
||||
RemoteAckHiDataItemAutoReset:
|
||||
const: "false"
|
||||
RemoteAckHiDataItemPollGroup:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
RemoteAckLoDataItem:
|
||||
const: ""
|
||||
RemoteAckLoDataItemAutoReset:
|
||||
const: "false"
|
||||
RemoteAckLoDataItemPollGroup:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
RemoteShelveHiDataAlarm:
|
||||
const: ""
|
||||
RemoteShelveHiDataAlarmAutoReset:
|
||||
const: "false"
|
||||
RemoteShelveHiDataAlarmPollGroup:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
RemoteShelveLoDataAlarm:
|
||||
const: ""
|
||||
RemoteShelveLoDataAlarmAutoReset:
|
||||
const: "false"
|
||||
RemoteShelveLoDataAlarmPollGroup:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
RemoteDisableDataItem:
|
||||
translate:
|
||||
columns: tagname
|
||||
@@ -132,6 +255,12 @@ import:
|
||||
arg: "/::$path$"
|
||||
RemoteDisableDataItemAutoReset:
|
||||
const: "false"
|
||||
RemoteDisableDataItemPollGroup:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
RemoteEnableDataItem:
|
||||
translate:
|
||||
columns: tagname
|
||||
@@ -143,6 +272,22 @@ import:
|
||||
arg: "/::$path$"
|
||||
RemoteEnableDataItemAutoReset:
|
||||
const: "false"
|
||||
RemoteEnableDataItemPollGroup:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
RemoteResetDataItem:
|
||||
const: ""
|
||||
RemoteResetDataItemAutoReset:
|
||||
const: false
|
||||
RemoteResetDataItemPollGroup:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
RemoteSuppressDataItem:
|
||||
translate:
|
||||
columns: tagname
|
||||
@@ -154,6 +299,12 @@ import:
|
||||
arg: "/::$path$"
|
||||
RemoteSuppressDataItemAutoReset:
|
||||
const: "false"
|
||||
RemoteSuppressDataItemPollGroup:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
RemoteUnSuppressDataItem:
|
||||
translate:
|
||||
columns: tagname
|
||||
@@ -165,10 +316,18 @@ import:
|
||||
arg: "/::$path$"
|
||||
RemoteUnSuppressDataItemAutoReset:
|
||||
const: "false"
|
||||
RemoteUnSuppressDataItemPollGroup:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
RemoteShelveAllDataItem:
|
||||
const: ""
|
||||
RemoteShelveAllDataItemAutoReset:
|
||||
const: "false"
|
||||
RemoteShelveAllDataItemPollGroup:
|
||||
const: ""
|
||||
RemoteUnShelveDataItem:
|
||||
translate:
|
||||
columns: tagname
|
||||
@@ -180,6 +339,12 @@ import:
|
||||
arg: "/::$path$"
|
||||
RemoteUnShelveDataItemAutoReset:
|
||||
const: "false"
|
||||
RemoteUnShelveDataItemPollGroup:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
RemoteShelveDuration:
|
||||
translate:
|
||||
columns: tagname
|
||||
@@ -189,12 +354,19 @@ import:
|
||||
repl: ".AEShelveDuration"
|
||||
- operation: radd
|
||||
arg: "/::$path$"
|
||||
RemoteShelveDurationPollGroup:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
MessageID:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $messagefile$
|
||||
_column: 0
|
||||
Tag1:
|
||||
translate:
|
||||
columns: tagname
|
||||
@@ -204,12 +376,45 @@ import:
|
||||
repl: ".DESC"
|
||||
- operation: radd
|
||||
arg: "/::$path$"
|
||||
Tag1PollGroup:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $pollgroupfile$
|
||||
Tag2:
|
||||
const: ""
|
||||
Tag2PollGroup:
|
||||
const: ""
|
||||
Tag3:
|
||||
const: ""
|
||||
Tag3PollGroup:
|
||||
const: ""
|
||||
Tag4:
|
||||
const: ""
|
||||
Tag4PollGroup:
|
||||
const: ""
|
||||
Message:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $messagefile$
|
||||
_column: 1
|
||||
ParentGroupID:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $groupfile$
|
||||
_column: 1
|
||||
GroupName:
|
||||
translate:
|
||||
columns: tagname
|
||||
operations:
|
||||
- operation: regexmapping
|
||||
_file: $groupfile$
|
||||
_column: 2
|
||||
export:
|
||||
tagname:
|
||||
translate:
|
||||
|
||||
@@ -47,6 +47,8 @@ $defs:
|
||||
- regexmapping
|
||||
_file:
|
||||
type: string
|
||||
_column:
|
||||
type: integer
|
||||
_default:
|
||||
default: null
|
||||
$ref: "#/$defs/scalar"
|
||||
@@ -109,7 +111,7 @@ $defs:
|
||||
# Python function
|
||||
- description: >-
|
||||
A custom Python function that accepts either one scalar or iterable
|
||||
argument and returns a value. This option allows execution of
|
||||
argument and returns a value. This option allows execution of
|
||||
arbitrary code and is disabled by default.
|
||||
type: object
|
||||
required:
|
||||
@@ -145,7 +147,7 @@ $defs:
|
||||
type: string
|
||||
default: ""
|
||||
- description: >-
|
||||
A reverse regular expression substitution (the primary argument is the
|
||||
A reverse regular expression substitution (the primary argument is the
|
||||
replacement rather than the original string).
|
||||
type: object
|
||||
required:
|
||||
@@ -229,7 +231,7 @@ properties:
|
||||
properties:
|
||||
name:
|
||||
description: >-
|
||||
The file format used for storing the data handled by this
|
||||
The file format used for storing the data handled by this
|
||||
extension.
|
||||
const: csv
|
||||
sep:
|
||||
@@ -247,7 +249,7 @@ properties:
|
||||
properties:
|
||||
name:
|
||||
description: >-
|
||||
The file format used for storing the data handled by this
|
||||
The file format used for storing the data handled by this
|
||||
extension.
|
||||
enum:
|
||||
- xml
|
||||
|
||||
Reference in New Issue
Block a user