private void Zone_CalibrationStarted(CalibrationZone zone) { if (zone != currentZone) { // lock the previous zone but don't write an anchor if they didn't say "lock" LockZone(false); } currentZone = zone; ToggleOverlay(true); }
public void AlignZone(CalibrationZone whichZone) { // Check to see if they are currently calibrating another zone and skip this, or // if they are calibrating the same zone, send the command down so the zone can // start over or some other desired behavior. if (currentZone == null || !currentZone.IsCalibrating || whichZone == currentZone) { whichZone.AlignZone(); } }
private void Zone_CalibrationComplete(CalibrationZone zone) { currentZone = null; ToggleOverlay(false); }