#set($subject = "$device.name: exceeds the speed") #if($speedUnits == 'kmh') #set($speedValue = $position.speed * 1.852) #set($speedString = $numberTool.format("0.0 km/h", $speedValue)) #elseif($speedUnits == 'mph') #set($speedValue = $position.speed * 1.15078) #set($speedString = $numberTool.format("0.0 mph", $speedValue)) #else #set($speedString = $numberTool.format("0.0 kn", $position.speed)) #end
Device: $device.name