Change obsoleted eStatus logging to eLog or eValue
This commit is contained in:
@@ -569,11 +569,11 @@ static void SimStrList(pASIMDriv self, char *name, SConnection *pCon){
|
||||
char buffer[BUFFLEN];
|
||||
|
||||
snprintf(buffer, BUFFLEN, "%s.part = %s\n", name, self->part);
|
||||
SCWrite(pCon, buffer, eStatus);
|
||||
SCWrite(pCon, buffer, eValue);
|
||||
snprintf(buffer, BUFFLEN, "%s.long_name = %s\n", name, self->long_name);
|
||||
SCWrite(pCon, buffer, eStatus);
|
||||
SCWrite(pCon, buffer, eValue);
|
||||
snprintf(buffer, BUFFLEN, "%s.units = %s\n", name, self->units);
|
||||
SCWrite(pCon, buffer, eStatus);
|
||||
SCWrite(pCon, buffer, eValue);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -646,7 +646,7 @@ int SimAction(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
else {
|
||||
char buffer[BUFFLEN];
|
||||
snprintf(buffer, BUFFLEN, "%s.setPos = %f\n", argv[0], oldZero);
|
||||
SCWrite(pCon, buffer, eStatus);
|
||||
SCWrite(pCon, buffer, eValue);
|
||||
return 1;
|
||||
}
|
||||
newZero = (currPos - newValue);
|
||||
@@ -667,12 +667,12 @@ int SimAction(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
else if(strcasecmp("thread0", argv[1]) == 0) {
|
||||
char line[132];
|
||||
snprintf(line, 132, "%s.thread0 = %d", argv[0], 1);
|
||||
SCWrite(pCon, line, eStatus);
|
||||
SCWrite(pCon, line, eValue);
|
||||
return 1;
|
||||
} else if(strcasecmp("posit", argv[1]) == 0) {
|
||||
char line[132];
|
||||
snprintf(line, 132, "%s.posit = %f", argv[0], 1.0);
|
||||
SCWrite(pCon, line, eStatus);
|
||||
SCWrite(pCon, line, eValue);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user