update
This commit is contained in:
parent
4af5795cb9
commit
b312ee874c
@ -523,7 +523,7 @@ static void* ryftp_process(void* param)
|
|||||||
vLog(LOG_DEBUG, "%s get %s to local memory, with name: %s, and password: %s okay, and file length is: %d.\n", processName, remote, user, password, chunk.size);
|
vLog(LOG_DEBUG, "%s get %s to local memory, with name: %s, and password: %s okay, and file length is: %d.\n", processName, remote, user, password, chunk.size);
|
||||||
config.units[uid].value &= ~0x02;
|
config.units[uid].value &= ~0x02;
|
||||||
ftpget_retry_count = 0;
|
ftpget_retry_count = 0;
|
||||||
if (chunk.size <= (int)(sizeof(struRYDeviceData) << 5)) {
|
if (chunk.size <= (int)(sizeof(struRYDeviceData) * 248)) {
|
||||||
vLog(LOG_DEBUG, "%s PLC文件生成未完成!\n", processName);
|
vLog(LOG_DEBUG, "%s PLC文件生成未完成!\n", processName);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@ -538,9 +538,8 @@ static void* ryftp_process(void* param)
|
|||||||
DWORD millisec = unix_time % 1000;
|
DWORD millisec = unix_time % 1000;
|
||||||
unix_time = localtime; unix_time *= 1000;
|
unix_time = localtime; unix_time *= 1000;
|
||||||
unix_time += millisec;
|
unix_time += millisec;
|
||||||
#if 1
|
#if 0
|
||||||
//if (mbt->GetCurID() == 29)
|
if (unix_time < 1735488000000 || unix_time >= 1735660800000)
|
||||||
if (i == 2)
|
|
||||||
{
|
{
|
||||||
unionCP56Time st;
|
unionCP56Time st;
|
||||||
st = Time_ttounionCP56Time(localtime);
|
st = Time_ttounionCP56Time(localtime);
|
||||||
|
Loading…
Reference in New Issue
Block a user