VLab Issue #12688 - DR18179 WarnGen:Template Corrections-VM_global_library.vm; fixes 12688
Set_2: revised VM_global_library.vm Change-Id: I0311acc9ecd9a44005c1f6a6b59ab1fa0245ff75 Former-commit-id: ddf5e7aec89cadf041455d5ad7e75c6383fb3014
This commit is contained in:
parent
93b89ee2c3
commit
95d0d1e81a
1 changed files with 15 additions and 2 deletions
17
edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/VM_global_library.vm
Executable file → Normal file
17
edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/VM_global_library.vm
Executable file → Normal file
|
@ -36,6 +36,7 @@
|
|||
##### Bookie/Friedman 10-22-2015 Fixed WarnGen Java code and areaFormat macro to now properly
|
||||
##### use the 'fe_area' shapefile field for portions of state. This fixes
|
||||
##### several DRs related to unique part-of-state codes, watch boxes, etc..
|
||||
##### Bookbinder 10-30-2015 Added several additional fe_area codes and cleaned up watch logic.
|
||||
##############################################################################################################
|
||||
#*
|
||||
Mile Marker Test Code
|
||||
|
@ -267,7 +268,7 @@ ${currTime}##
|
|||
#end
|
||||
#end
|
||||
#if(!${watch.marineArea})
|
||||
#areaFormat(${watch.partOfState} true false true "AS IS" ${watch.stateabbr})${watch.state}##
|
||||
#areaFormat(${watch.partOfState} true false true "AS IS")${watch.state}##
|
||||
#else
|
||||
#formatMarineArea(${watch.marineArea})
|
||||
#end
|
||||
|
@ -326,7 +327,7 @@ ${currTime}##
|
|||
#end
|
||||
#end
|
||||
#if(!${watch.marineArea})
|
||||
#areaFormat(${watch.partOfState} true false true "AS IS" ${watch.stateabbr})${watch.state}##
|
||||
#areaFormat(${watch.partOfState} true false true "AS IS")${watch.state}##
|
||||
#else
|
||||
#formatMarineArea(${watch.marineArea})
|
||||
#end
|
||||
|
@ -513,6 +514,18 @@ south##
|
|||
#if((${dir} == "WE") || (${dir} == "we"))
|
||||
#set($afPhrase = "${afPhrase}west")
|
||||
#end
|
||||
#if((${dir} == "WS") || (${dir} == "ws"))
|
||||
#set($afPhrase = "${afPhrase}southwest")
|
||||
#end
|
||||
#if((${dir} == "ES") || (${dir} == "es"))
|
||||
#set($afPhrase = "${afPhrase}southeast")
|
||||
#end
|
||||
#if((${dir} == "WN") || (${dir} == "wn"))
|
||||
#set($afPhrase = "${afPhrase}northwest")
|
||||
#end
|
||||
#if((${dir} == "EN") || (${dir} == "en"))
|
||||
#set($afPhrase = "${afPhrase}northeast")
|
||||
#end
|
||||
### Central Codes
|
||||
#if((${dir} == "NC") || (${dir} == "nc"))
|
||||
#set($afPhrase = "${afPhrase}north central")
|
||||
|
|
Loading…
Add table
Reference in a new issue