Esempio n. 1
0
 public static ASPTrayBase ReadOne(string filePath, IMyLog log)
 {
     if (!s_MsgFile_IsOld(filePath))
     {
         using (BinaryReader br = new BinaryReader(OpenFile.ForRead(filePath, true, false, log)))
         {
             return(ASPTrayBase.ReadOne(br));
         }
     }
     return(null);
 }
Esempio n. 2
0
        private void NetFrom_V2(BinaryReader br)
        {
            Int32 count = br.ReadInt32();

            for (Int32 i = 0; i < count; i++)
            {
                ASPTrayBase f1 = ASPTrayBase.ReadOne(br);
                if (f1 != null)
                {
                    ObjectList.Add(f1);
                }
            }
        }