add csv-field eventPrefix to NMA-Plugin

will be insert in front of "id/description"
f.e.: "Alarm: 1234567" or "Alarm: POCSAG testdata äöüß"
This commit is contained in:
JHCD 2015-07-31 20:16:13 +02:00
parent 02efb9552a
commit 41122e9a6a
2 changed files with 39 additions and 25 deletions

View file

@ -1,9 +1,9 @@
typ,id,APIKey,priority,comment
typ,id,APIKey,priority,eventPrefix,comment
#
# BOSWatch CSV file for notifyMyAndroid-Plugin
#
# For each id (FMS, ZVEI, POC) you could set multiple APIKeys with different prioties
# Use the structure: typ, id, APIKey, priority, "comment"
# Use the structure: typ, id, APIKey, priority, eventPrefix, "comment"
#
# For more than one recipient you could you an id several times
#
@ -19,11 +19,14 @@ typ,id,APIKey,priority,comment
#
# Priority: goes from -2 (lowest) to 2 (highest). the default priority is 0 (normal)
#
# Event-Präfix: will be insert in front of "id/description"
# f.e.: "Alarm: 1234567" or "Alarm: POCSAG testdata äöüß"
#
# !!! DO NOT delete the first line !!!
#
POC,1000512*,123456789012345678901234567890123456789012345678,0,"Test for *"
POC,1000000a,123456789012345678901234567890123456789012345678,-2,"Priority-Test"
POC,1000000a,234567890123456789012345678901234567890123456789,-1,"Priority-Test"
POC,1000001b,123456789012345678901234567890123456789012345678,0,"Priority-Test"
POC,1000002c,123456789012345678901234567890123456789012345678,1,"Priority-Test"
POC,1000003d,123456789012345678901234567890123456789012345678,2,"Priority-Test"
POC,1000512*,123456789012345678901234567890123456789012345678,0,"","Test for *"
POC,1000000a,123456789012345678901234567890123456789012345678,-2,"Probe","Priority-Test"
POC,1000000a,234567890123456789012345678901234567890123456789,-1,"Probe","Priority-Test"
POC,1000001b,123456789012345678901234567890123456789012345678,2,"Alarm","Priority-Test"
POC,1000002c,123456789012345678901234567890123456789012345678,1,"Vor-Alarm","Priority-Test"
POC,1000003d,123456789012345678901234567890123456789012345678,0,"Info-Alarm","Priority-Test"

Can't render this file because it has a wrong number of fields in line 2.