awips2/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/dssEvents.vm
Baoyu Yin 8568cd8419 VLab Issue #4796 - AWIPS2_DR_17420 WarnGen IBW templates and 14.2.1 template corrections; fixes #4796
Change-Id: Ieb4a6d68b48351deacbddda65f1ff53485c3402d

Former-commit-id: f077d3cd4084faf8ad7c8865e84df53e59a5db72
2014-09-19 15:02:23 -04:00

53 lines
1 KiB
Text
Executable file

#*
CREATED 09-20-2013 BY EVAN BOOKBINDER
UPDATED 6-26-14 EVAN BOOKBINDER TO HANDLE MARINE EVENTS
Right now DSS for marine events is restricted to IBW SMWs where
#set($marine = "true") is explicitly created at the top of the .vm file
dbTable list should include the pointSource objects created in
dssEvents.xml
*#
#if(${marine})
#if (($dss_events_marine))
#set($size = ${list.size($dss_events_marine)})
#if ($size > 0)
PEOPLE ATTENDING ##
#set($counter = 1)
#foreach($dss in $dss_events_marine)
#if($counter < $size)
${dss.name}...##
#set($counter = $counter + 1)
#elseif($counter == $size)
#if($size > 1)
AND ##
#end
${dss.name} ##
#end
#end
SHOULD SEEK SAFE SHELTER IMMEDIATELY!
#end
#end
#elseif (($dss_events))
#set($size = ${list.size($dss_events)})
#if ($size > 0)
PEOPLE ATTENDING ##
#set($counter = 1)
#foreach($dss in $dss_events)
#if($counter < $size)
${dss.name}...####
#set($counter = $counter + 1)
#elseif($counter == $size)
#if($size > 1)
AND ##
#end
${dss.name} ##
#end
#end
SHOULD SEEK SAFE SHELTER IMMEDIATELY!
#end
#end