----------------------------------------------------------------------------- Get the ZWave+ NodeType as a String -----------------------------------------------------------------------------
| 3857 | // Get the ZWave+ NodeType as a String |
| 3858 | //----------------------------------------------------------------------------- |
| 3859 | string Node::GetNodeTypeString() { |
| 3860 | if( !s_deviceClassesLoaded ) |
| 3861 | { |
| 3862 | ReadDeviceClasses(); |
| 3863 | } |
| 3864 | map<uint8,DeviceClass*>::iterator nit = s_nodeTypes.find( m_nodeType ); |
| 3865 | if (nit != s_nodeTypes.end()) |
| 3866 | { |
| 3867 | DeviceClass* deviceClass = nit->second; |
| 3868 | return deviceClass->GetLabel(); |
| 3869 | } |
| 3870 | return ""; |
| 3871 | } |
| 3872 | |
| 3873 | //----------------------------------------------------------------------------- |
| 3874 | // <Node::GetRoleTypeString> |
no test coverage detected