| 1422 | } |
| 1423 | |
| 1424 | EipBool8 IsConnectedOutputAssembly(const EipUint32 instance_number) { |
| 1425 | EipBool8 is_connected = false; |
| 1426 | |
| 1427 | DoublyLinkedListNode *node = connection_list.first; |
| 1428 | |
| 1429 | while (NULL != node) { |
| 1430 | CipConnectionObject *connection_object = (CipConnectionObject *)node->data; |
| 1431 | CipDword consumed_connection_point = |
| 1432 | connection_object->consumed_path.instance_id; |
| 1433 | if (instance_number == consumed_connection_point && |
| 1434 | true == ConnectionObjectIsTypeIOConnection(connection_object) ) { |
| 1435 | is_connected = true; |
| 1436 | break; |
| 1437 | } |
| 1438 | node = node->next; |
| 1439 | } |
| 1440 | return is_connected; |
| 1441 | } |
| 1442 | |
| 1443 | EipStatus AddConnectableObject( |
| 1444 | const EipUint32 class_id, |
no test coverage detected