alarm_analysis:programmable_mapping_rule_examples
Programmable mapping rule examples
For example, to convert an EventType “Alarm_RTN” to RTN you could use the following code:
- EventTypeName.cs
var type = Convert.ToString([[EventTypeName]]); if(type.Equals("Alarm_RTN")) { return "RTN"; } else { return type; };
To assign a priority order, you could use something like this:
- PriorityOrder.cs
var priority = "P" + [[Priority]]; return priority;
alarm_analysis/programmable_mapping_rule_examples.txt · Last modified: 2023/09/07 17:01 by su