Exemplo n.º 1
0
 private string FormatSchedule(string strSchedId, string strStartTime, string strEndTime,
     string strIdChannel, string strchannelname, string strProgramName, Schedule sched,
     string strIsRecording, string stridProgram, DateTime Canceled, int iParentSchedule,
     string strGenre, string strProgramDescription)
 {
     string schedule;
     schedule = strSchedId + "|"
         + strStartTime + "|"
         + strEndTime + "|"
         + strIdChannel + "|"
         + strchannelname + "|"
         + strProgramName + "|"
         + sched.ScheduleType.ToString() + "|"
         + sched.Priority.ToString() + "|"
         + sched.IsDone().ToString() + "|"
         + sched.IsManual.ToString() + "|"
         + sched.Directory + "|"
         + sched.KeepMethod.ToString() + "|"
         + sched.KeepDate.ToString("u") + "|"
         + sched.PreRecordInterval.ToString() + "|"
         + sched.PostRecordInterval.ToString() + "|"
         + Canceled.ToString("u") + "|"
         + sched.Series.ToString() + "|"
         + strIsRecording + "|"
         + stridProgram + "|"
         + iParentSchedule.ToString() + "|"
         + strGenre + "|"
         + strProgramDescription;
     return schedule;
 }