Add a new call Util.IsGemDestinationWest2(RA, Dec) that will result in a call to ASCOM.Telescope.DestinationSideOfPier(RA, Dec) instead of ASCOM.Telescope.DestinationSideOfPier(RA, 0) (which Util.IsGemDestinationWest(RA) does now). Then modify AcquireImages.js and AcquireScheduler.vbs and any other scripts that use Util.IsGemDestinationWest(RA) to instead use Util.IsGemDestinationWest2(RA, Dec). |