Exemple #1
0
 /// <summary>
 /// Сохранение отображаемых данных
 /// </summary>
 public void SaveData()
 {
     for (int i = 0; i < currentMaintenanceDirective.Limitations.Length; i++)
     {
         infoViewerMaxResource.SaveData(i, currentMaintenanceDirective.Limitations[i].MaxResources);
         infoViewerNotification.SaveData(i, currentMaintenanceDirective.Limitations[i].Notification);
         currentMaintenanceDirective.Limitations[i].IsInuse = checkBoxs[i].Checked;
     }
 }
 /// <summary>
 /// Сохранение отображаемых данных
 /// </summary>
 /// <param name="limitations"></param>
 public void SaveData(MaintenanceLimitation[] limitations)
 {
     for (int i = 0; i < limitations.Length; i++)
     {
         infoViewerMaxResource.SaveData(i, limitations[i].SinceLastPerformanceLimitation);
         infoViewerNotification.SaveData(i, limitations[i].Notification);
         limitations[i].IsInuse = checkBoxs[i].Checked;
     }
 }