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