Ejemplo n.º 1
0
        private static string getBaseComponentGroup(BaseComponentView baseComponent)
        {
            var currentDestination = GetDestinationStringFromAircraft(baseComponent.ParentAircraftId, false, null);

            return($"{currentDestination} {baseComponent.BaseComponentType} . Component PN {baseComponent.PartNumber}");
        }
Ejemplo n.º 2
0
        public static IEnumerable <RunUpView> GetByBaseComponent(this List <RunUpView> records, BaseComponentView bd)
        {
            List <RunUpView> runups = new List <RunUpView>();

            if (bd != null)
            {
                runups.AddRange(records.Where(r => r.BaseComponent.Id == bd.Id));
            }

            return(runups);
        }