Beispiel #1
0
		public virtual string GetSchedule()
		{
			string ret = "";
			if( outputRom != null )
			{
				ScheduleHelper2 sh2 = new ScheduleHelper2(outputRom);
				ret = sh2.GetSchedule();
				ArrayList errors = sh2.GetErrorMessages();
				if( errors != null && errors.Count > 0 )
				{
					MainClass.ShowErrors( errors );
				}
			}
			return ret;
		}
Beispiel #2
0
		/// <summary>
		/// Returns an ArrayList of errors that were encountered during the operation.
		/// </summary>
		/// <param name="scheduleList"></param>
		/// <returns></returns>
		public virtual ArrayList ApplySchedule( ArrayList scheduleList )
		{
			if( scheduleList != null && outputRom != null )
			{
				ScheduleHelper2 sch = new ScheduleHelper2( outputRom );
				sch.ApplySchedule( scheduleList );
				ArrayList errors = sch.GetErrorMessages();
				return errors;
			}
			return null;
		}