controlapi/yparser: detect new models tank and trinity

Origin commit data
------------------
Commit: efe212413b
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-08-15 (Thu, 15 Aug 2013)

Origin message was:
------------------
- controlapi/yparser: detect new models tank and trinity
This commit is contained in:
vanhofen
2013-08-15 16:25:38 +02:00
parent 3590df2bda
commit e6564a4f2a
2 changed files with 12 additions and 2 deletions

View File

@@ -623,14 +623,19 @@ void CControlAPI::HWInfoCGI(CyhookHandler *hh)
boxname += "BSE"; boxname += "BSE";
break; break;
case 8: case 8:
case 9:
boxname += "Neo"; boxname += "Neo";
if (CFEManager::getInstance()->getFrontendCount() > 1) if (CFEManager::getInstance()->getFrontendCount() > 1)
boxname += " Twin"; boxname += " Twin";
break; break;
case 9:
boxname += "Tank";
break;
case 10: case 10:
boxname += "Zee"; boxname += "Zee";
break; break;
case 11:
boxname += "Trinity";
break;
default: default:
char buffer[10]; char buffer[10];

View File

@@ -707,14 +707,19 @@ std::string CNeutrinoYParser::func_get_boxtype(CyhookHandler *, std::string)
boxname += "BSE"; boxname += "BSE";
break; break;
case 8: case 8:
case 9:
boxname += "Neo"; boxname += "Neo";
if (CFEManager::getInstance()->getFrontendCount() > 1) if (CFEManager::getInstance()->getFrontendCount() > 1)
boxname += " Twin"; boxname += " Twin";
break; break;
case 9:
boxname += "Tank";
break;
case 10: case 10:
boxname += "Zee"; boxname += "Zee";
break; break;
case 11:
boxname += "Trinity";
break;
default: default:
char buffer[10]; char buffer[10];