コード例 #1
0
 public bool GetEBIndexTable(ref EBIndexTable oldTable)
 {
     try
     {
         List <EBIndex> listEbIndex = GetSendEBMIndex();
         oldTable.ListEbIndex  = listEbIndex;
         oldTable.Repeat_times = pnlRepeatTimes.GetRepeatTimes();
         return(true);
     }
     catch
     {
         return(false);
     }
 }
コード例 #2
0
ファイル: EBMIndex.cs プロジェクト: CavanOrBxj/EBMTest
 public bool GetEBIndexTable(ref EBIndexTable oldTable)
 {
     try
     {
         //if (oldTable == null)
         //{
         //    oldTable = new EBIndexTable();
         //    oldTable.Table_id = 0xfd;
         //    oldTable.Table_id_extension = 0;
         //}
         List <EBIndex> listEbIndex = GetSendEBMIndex();
         oldTable.ListEbIndex = listEbIndex;
         //if (listEbIndex == null || listEbIndex.Count == 0)
         //{
         //    oldTable.ListEbIndex = null;
         //}
         oldTable.Repeat_times = pnlRepeatTimes.GetRepeatTimes();
         return(true);
     }
     catch
     {
         return(false);
     }
 }