Jump to content

PIREP auto Reject


Gotcha_Buccs

Recommended Posts

I am looking for a code, a module, etc. that will automatically analyze a submitted PIREP and automatically reject them based on certain perimeters, ie. -1000fpm landing rate. I have found this post; http://forum.phpvms.net/topic/3450-auto-analizing-pirep/. However I cannot decipher what they are talking about. Any help would be greatly appreciated.

-Allen

FSX Fleet

Link to comment
Share on other sites

  • Moderators

You would need to write a code that auto analyses the PIREPs and seeing if the landing rate is over -1000 and then set the PIREP to reject. This would based on a cron job.

Example of Cron Job,

Find all unapporved PIREPs,pirep

Go by each PIREP, check to see if it has a landing rate of or greater than -1000. If less than -1000, then approve. If more than -1000, then set the PIREP to reject.

Link to comment
Share on other sites

  • 1 month later...
  • 6 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...