| | |
| | | port = loginInfo.port; |
| | | |
| | | |
| | | startChannel = struDeviceInfo.struDeviceV30.byStartDChan; |
| | | maxChannels = struDeviceInfo.struDeviceV30.byIPChanNum + struDeviceInfo.struDeviceV30.byHighDChanNum * 256; |
| | | deviceInfo.startChannel = struDeviceInfo.struDeviceV30.byStartDChan; |
| | | deviceInfo.maxChannels = struDeviceInfo.struDeviceV30.byIPChanNum + struDeviceInfo.struDeviceV30.byHighDChanNum * 256; |
| | | |
| | | return 0; |
| | | } |
| | |
| | | request.channel, |
| | | mktime(&start), |
| | | i); |
| | | // printf("%s\n", destfile); |
| | | // downloadByTime_wrapper(userid, request.channel, &start, &end, destfile); |
| | | if(files != NULL) { |
| | | files->push_back(destfile); |
| | | } |
| | | |
| | | if(downloadByTime_wrapper(userid, request.channel, &start, &end, destfile) != -1) { |
| | | if(files != NULL) { |
| | | files->push_back(destfile); |
| | | } |
| | | } |
| | | |
| | | start = end; |
| | | i++; |
| | | } |