public void RemoveRelease(McuRelease release)
 {
     if (null != this[release.Mcu])
     {
         _mcuReleaseList.Remove(release);
     }
 }
 public void UpdateMcu(McuRelease mcu, string mcuBinary)
 {
     foreach (var x in _mcuReleaseList)
     {
         if (x == mcu)
         {
             x.Mcu = mcuBinary;
             break;
         }
     }
 }
 public void UpdateMcu(McuRelease mcu)
 {
     if (null != mcu)
     {
         var mcuList = new List <McuRelease>();
         foreach (McuRelease m in _mcuReleaseList)
         {
             if (m.Mcu != mcu.Mcu)
             {
                 mcuList.Add(m);
             }
             else
             {
                 mcuList.Add(mcu);
             }
         }
         this.Mcus = mcuList.ToArray();
     }
 }