REM ********************************************************************
REM Set event in SQL database
REM Useage:
REM nvsetevent <programname> <programtype> <eventlevel> <eventtext> 
REM <eventcode> <values> <logfile>
REM
REM programname:
REM Name of program or function
REM
REM programtypes:
REM 1=Alarm modules nvaXXX.nve
REM 2=Monitor alarms (watchdog, line, dongle, HD,… )
REM 3=nvtXX.exe
REM 4=Interfaces
REM 5=Web interface
REM 6=Database errors
REM
REM eventlevels:
REM Priority 0 warning - 9 system critical error
REM
REM eventtext:
REM Event text in english
REM
REM eventcode:
REM 5 digit number specifying the event
REM
REM values:
REM Dynamic values for event message. Values seperated by ; (CSV)
REM
REM *********************************************************************

start /MIN nve nvasql_event 1 -s1"%1" -i5%2 -i2%3 -i6%5 -s2"%4" -s7%6 -s8"%7"
REM DONE