예제 #1
0
 //查询录像文件
 private void button8_Click(object sender, EventArgs e)
 {
     //通过时间查询录像文件、
     call = CallbackCAMFile;
     string startTime = dateTimePicker1.Value.ToString("yyyyMMdd") + dateTimePicker2.Value.ToString("HHmmss");
     string endTime   = dateTimePicker3.Value.ToString("yyyyMMdd") + dateTimePicker4.Value.ToString("HHmmss");
     int    i         = CMSSdk.VM_CMS_FindFileTime(0, szSID, startTime, endTime, call, 0);
 }
예제 #2
0
파일: Form3.cs 프로젝트: liuslayer/RCCP
 //查询
 private void button3_Click(object sender, EventArgs e)
 {
     //通过时间查询录像文件、
     call = CallbackCAMFile;
     string startTime = monthCalendar1.SelectionStart.ToString("yyyyMMdd") + "000000";
     string endTime   = monthCalendar1.SelectionStart.ToString("yyyyMMdd") + "235959";
     int    i         = CMSSdk.VM_CMS_FindFileTime(0, szSID, startTime, endTime, call, 0);
 }