Пример #1
0
 public static void stopRecord()
 {
     if (isRecording != false)
     {
         max = int.MinValue + 33333;
         waitCoupleSeconds = 0;
         camController.stop_record();
         SQL_Buffer_list.addToSendBuffer(id, xml.list);
         xml.stop_record(id);
         isRecording = false;
     }
 }
Пример #2
0
 public static bool upload()
 {
     try
     {
         if (SQL_Buffer_list.data.Count != 0)
         {
             if (!uploadScript(SQL_Buffer_list.data[0].id, SQL_Buffer_list.data[0].cas, SQL_Buffer_list.data[0].vaha))
             {
                 return(false);
             }
             SQL_Buffer_list.urez();
         }
         return(true);
     }
     catch
     {
         return(false);
     }
 }