示例#1
0
 /// <summary>
 /// Get Videos data container
 /// </summary>
 /// <param name="video"></param>
 /// <returns></returns>
 private DataContainer GetVideoDataContainer(CoreData.Video video)
 {
     DataContainer data = this.GetDefaultDataContainer();
     data.Video = video;
     return data;
 }
示例#2
0
 /// <summary>
 /// Get Picture data container
 /// </summary>
 /// <param name="fill"></param>
 /// <returns></returns>
 private DataContainer GetPictureDataContainer(CoreData.Picture picture)
 {
     DataContainer data = this.GetDefaultDataContainer();
     data.Picture = picture;
     return data;
 }
示例#3
0
 /// <summary>
 /// Get maintenance data container
 /// </summary>
 /// <param name="repair"></param>
 /// <returns></returns>
 private DataContainer GetMaintenanceDataContainer(CoreData.Maintenance maintenance)
 {
     DataContainer data = this.GetDefaultDataContainer();
     data.Maintenance = maintenance;
     data.SchedulerController = schedulerController;
     return data;
 }
示例#4
0
 /// <summary>
 /// Get repair data container
 /// </summary>
 /// <param name="repair"></param>
 /// <returns></returns>
 private DataContainer GetRepairDataContainer(CoreData.Repair repair)
 {
     DataContainer data = this.GetDefaultDataContainer();
     data.Repair = repair;
     return data;
 }
示例#5
0
 /// <summary>
 /// Get fill data container
 /// </summary>
 /// <param name="fill"></param>
 /// <returns></returns>
 private DataContainer GetFillDataContainer(CoreData.Fill fill)
 {
     DataContainer data = this.GetDefaultDataContainer();
     data.Fill = fill;
     return data;
 }