Example #1
0
 private void UpdateState(IMyLandingGear clamp)
 {
     clamp.AutoLock = false;
     if (!clamp.IsOperational())
     {
         return;
     }
     Operable++;
     if (clamp.IsLocked)
     {
         Locked++;
     }
 }