示例#1
0
 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);
 }
示例#2
0
 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();
     }
 }
示例#3
0
 private void Zone_CalibrationComplete(CalibrationZone zone)
 {
     currentZone = null;
     ToggleOverlay(false);
 }