- Introduced a state filed into first generation objects
- Fixed some issues with error returns not being properly handled in devexec - Fixed a bug in motorlist which caused limit checks to fail - Fixed an issue with the TDCHM not properly updating the counter values on finish - Readded getHipadabaPar in ChainCallback as this caused a problem in ei - Made tasdrive ignore sgu, sgl when out of plane not allowed SKIPPED: psi/eigermono.c psi/sinqhttp.c psi/tdchm.c
This commit is contained in:
10
histmem.c
10
histmem.c
@ -1373,6 +1373,16 @@ int HistAction(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
SCSendOK(pCon);
|
||||
return 1;
|
||||
}
|
||||
/* state */
|
||||
else if (strcmp(argv[1], "status") == 0) {
|
||||
HistCountStatus(self,pCon);
|
||||
if(isRunning(self->pCountInt)){
|
||||
SCPrintf(pCon,eValue,"%s.status = run",argv[0]);
|
||||
} else {
|
||||
SCPrintf(pCon,eValue,"%s.status = idle",argv[0]);
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
/* normal counting */
|
||||
else if (strcmp(argv[1], "count") == 0) {
|
||||
if (SCMatchRights(pCon, self->iAccess)) {
|
||||
|
Reference in New Issue
Block a user