public override async Task EmergencyStop() { base.EmergencyStop(); if (InPlanes[0] == null) { IsEmpety?.Invoke(this); } }
public override async Task Leave(Plane plane) { // leave the plane and open the leg // verific if contains this plane, // because if haven it dont open the leg if (InPlanes.Contains(plane)) { InPlanes[0] = null; // in open have to invoke is empety IsEmpety?.Invoke(this); } }