|
|
@ -139,7 +139,7 @@ void CServerMgr::OnReceive(int nErrorCode)
|
|
|
|
#ifndef DEBUG_lOCAL
|
|
|
|
#ifndef DEBUG_lOCAL
|
|
|
|
CString NetDir = gProgram_SZ_XL->m_NetPath + ":"; //¹²ÏíÅÌ
|
|
|
|
CString NetDir = gProgram_SZ_XL->m_NetPath + ":"; //¹²ÏíÅÌ
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
CString NetDir = "D:\\紫外切割机\\信利双头(20200519)\\LaiPuLaser\\Debug\\TempMarkData\\";//共享盘
|
|
|
|
CString NetDir = "D:\\紫外切割机\\同兴达双头 - 推治具\\LaiPuLaser\\Debug\\TempMarkData";//共享盘
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
CString NetparfilePath = NetDir + Name + ".par";
|
|
|
|
CString NetparfilePath = NetDir + Name + ".par";
|
|
|
|
CString NetarefilePath = NetDir + Name + ".are";
|
|
|
|
CString NetarefilePath = NetDir + Name + ".are";
|
|
|
@ -149,7 +149,7 @@ void CServerMgr::OnReceive(int nErrorCode)
|
|
|
|
CopyFile(NetarefilePath, NewAreFilePath, false);
|
|
|
|
CopyFile(NetarefilePath, NewAreFilePath, false);
|
|
|
|
CopyFile(NetPIfilePath, NewPIFilePath, false);
|
|
|
|
CopyFile(NetPIfilePath, NewPIFilePath, false);
|
|
|
|
|
|
|
|
|
|
|
|
fileName.MakeLower();
|
|
|
|
//fileName.MakeLower();
|
|
|
|
if (fileName.Find("dxf") != -1)
|
|
|
|
if (fileName.Find("dxf") != -1)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
gServer->m_RcvFileName = NetDir +"\\"+ fileName;
|
|
|
|
gServer->m_RcvFileName = NetDir +"\\"+ fileName;
|
|
|
@ -259,7 +259,7 @@ void CServerMgr::OnReceive(int nErrorCode)
|
|
|
|
|
|
|
|
|
|
|
|
if (rcvcnt!= arryCnt*(sizeof(int)))
|
|
|
|
if (rcvcnt!= arryCnt*(sizeof(int)))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
gLogMgr->WriteDebugLog("接收已选中Obj索引数组错误。");
|
|
|
|
gLogMgr->WriteDebugLog("接收已选中Obj索引数组错误.");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
int idx;
|
|
|
|
int idx;
|
|
|
|