- removed debugging code
This commit is contained in:
parent
3969e07256
commit
b5fe0992fd
3 changed files with 0 additions and 24 deletions
|
@ -604,37 +604,21 @@ IedConnection_close(IedConnection self)
|
|||
void
|
||||
IedConnection_destroy(IedConnection self)
|
||||
{
|
||||
printf("D1\n");
|
||||
|
||||
IedConnection_close(self);
|
||||
|
||||
printf("D2\n");
|
||||
|
||||
MmsConnection_destroy(self->connection);
|
||||
|
||||
printf("D3\n");
|
||||
|
||||
if (self->logicalDevices != NULL)
|
||||
LinkedList_destroyDeep(self->logicalDevices, (LinkedListValueDeleteFunction) ICLogicalDevice_destroy);
|
||||
|
||||
printf("D4\n");
|
||||
|
||||
#if 0
|
||||
if (self->enabledReports != NULL)
|
||||
LinkedList_destroyDeep(self->enabledReports, (LinkedListValueDeleteFunction) ClientReport_destroy);
|
||||
#endif
|
||||
|
||||
LinkedList_destroyStatic(self->clientControls);
|
||||
|
||||
printf("D6\n");
|
||||
|
||||
Semaphore_destroy(self->stateMutex);
|
||||
|
||||
printf("D7\n");
|
||||
|
||||
GLOBAL_FREEMEM(self);
|
||||
|
||||
printf("D8\n");
|
||||
}
|
||||
|
||||
MmsVariableSpecification*
|
||||
|
|
|
@ -920,12 +920,6 @@ IedServer_updateBooleanAttributeValue(IedServer self, DataAttribute* dataAttribu
|
|||
checkForUpdateTrigger(self, dataAttribute);
|
||||
}
|
||||
else {
|
||||
// struct timeval tv;
|
||||
//
|
||||
// gettimeofday(&tv,NULL/*&tz*/);
|
||||
// printf("UPDATE BOOL: %ld %ld\n",tv.tv_sec, tv.tv_usec);
|
||||
|
||||
|
||||
MmsValue_setBoolean(dataAttribute->mmsValue, value);
|
||||
|
||||
checkForChangedTriggers(self, dataAttribute);
|
||||
|
|
|
@ -143,8 +143,6 @@ IedModel_getDevice(IedModel* model, const char* deviceName)
|
|||
if (strcmp(domainName, deviceName) == 0)
|
||||
return device;
|
||||
|
||||
printf("domainename: %s\n", domainName);
|
||||
|
||||
device = (LogicalDevice*) device->sibling;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue