Exemplo n.º 1
0
 public string [] getListStrings(DateTime lastPicTimestamp)
 {
     string[] retStrings = new string[4];
     retStrings[0] = CaptureTimeAdjusted.ToString("HH:mm:ss");
     if (lastPicTimestamp != DateTime.MinValue)
     {
         retStrings[1] = ((int)((mDateTime.Ticks - lastPicTimestamp.Ticks) / 10000000)).ToString();
     }
     else
     {
         retStrings[1] = "-";
     }
     retStrings[2] = mDateTimeAdjustMinutes.ToString();
     retStrings[3] = mFileName;
     return(retStrings);
 }
Exemplo n.º 2
0
 // Sorting
 public int CompareTo(ImageRecord other)
 {
     return(CaptureTimeAdjusted.CompareTo(other.CaptureTimeAdjusted));
 }