public static Vessel FindCorrespondingVessel(CommNode commNode) { foreach (var a in commVessels) { if (KCommNetwork.AreSame(a.Value.Comm, commNode)) { return(a.Value.Vessel); } } return(null); }
public static KCommNetHome FindCorrespondingGroundStation(CommNode commNode) { return(groundStations.Find(x => KCommNetwork.AreSame(x.commNode, commNode))); }