public void AddItemToLearnBook(BaseSign item)
 {
     LearnItem li = new LearnItem();
     li.IN = item.GetAllIn();
     li.OUT = item.GetIn();
     if (li.IN != null)
     {
         if (li.OUT != null)
         {
             LearnBook.Add(li);
         }
     }
 }
        public void AddItemToLearnBook(BaseSign item)
        {
            LearnItem li = new LearnItem();

            li.IN  = item.GetAllIn();
            li.OUT = item.GetIn();
            if (li.IN != null)
            {
                if (li.OUT != null)
                {
                    LearnBook.Add(li);
                }
            }
        }
 public void CreateLearnBook()
 {
     TmpLearnBook.Clear();
     foreach (var item in LearnBook)
     {
         TmpLearnBook.Add(item);
     }
     foreach (var item in Signes)
     {
         if (item.Days != null)
         {
             if (item.Days.Average() > 0)
             {
                 if (item.TGI != null)
                 {
                     if (item.TGI.Length > 0)
                     {
                         if (item.Spectr != null)
                         {
                             LearnItem li = new LearnItem();
                             li.IN  = item.GetAllIn();
                             li.OUT = item.GetIn();
                             if (li.IN != null)
                             {
                                 if (li.OUT != null)
                                 {
                                     TmpLearnBook.Add(li);
                                 }
                             }
                         }
                     }
                 }
             }
         }
     }
 }
 public void CreateLearnBook()
 {
     TmpLearnBook.Clear();
     foreach (var item in LearnBook)
     {
         TmpLearnBook.Add(item);
     }
     foreach (var item in Signes)
     {
         if (item.Days != null)
         {
             if (item.Days.Average() > 0)
             {
                 if (item.TGI != null)
                 {
                     if (item.TGI.Length > 0)
                     {
                         if (item.Spectr != null)
                         {
                             LearnItem li = new LearnItem();
                             li.IN = item.GetAllIn();
                             li.OUT = item.GetIn();
                             if (li.IN != null)
                             {
                                 if (li.OUT != null)
                                 {
                                     TmpLearnBook.Add(li);
                                 }
                             }
                         }
                     }
                 }
             }
         }
     }
 }