M.Z.
This commit is contained in:
@ -114,8 +114,11 @@
|
|||||||
self->fTarget = atof(result);
|
self->fTarget = atof(result);
|
||||||
iRet=CocGet(pMe->pData,"tlimit",result); /* get parameter */
|
iRet=CocGet(pMe->pData,"tlimit",result); /* get parameter */
|
||||||
if (iRet<0) goto Error;
|
if (iRet<0) goto Error;
|
||||||
fVal = atof(result);
|
iRet = EVCGetPar(self, "upperlimit", &fVal);
|
||||||
iRet = EVCSetPar(self, "upperlimit", fVal,pCon);
|
if (abs(fVal - atof(result)) > 1.0e-4 * abs(fVal)) {
|
||||||
|
fVal = atof(result);
|
||||||
|
iRet = EVCSetPar(self, "upperlimit", fVal,pCon);
|
||||||
|
}
|
||||||
iRet = EVControlWrapper(pCon,pSics,pData,argc,argv);
|
iRet = EVControlWrapper(pCon,pSics,pData,argc,argv);
|
||||||
if (iRet != 0) {
|
if (iRet != 0) {
|
||||||
iRet=CocGet(pMe->pData,"status",result); /* show status */
|
iRet=CocGet(pMe->pData,"status",result); /* show status */
|
||||||
|
Reference in New Issue
Block a user