|
@@ -1661,10 +1661,16 @@ BOOL COTA::GetMIDInfo(MIDInfo &mid, std::string bid, std::string strMacs, std::s
|
|
|
|
|
|
if ( _tcsicmp(name.c_str(), _T("DeviceID")) == 0 )
|
|
|
{
|
|
|
- Global::g_AutoOnlineChassis.IsCopyDID = true;
|
|
|
- Global::g_AutoOnlineChassis.ClientType = type;
|
|
|
- if (_tcsicmp(type.c_str(), _T("SCBC")) == 0 || _tcsicmp(type.c_str(), _T("ÐÂÓû§ÏµÍ³")) == 0)
|
|
|
- Global::g_AutoOnlineChassis.ClientType = "tcl_unknown_model";;
|
|
|
+ if ( type.size() )
|
|
|
+ {
|
|
|
+ Global::g_AutoOnlineChassis.IsCopyDID = true;
|
|
|
+ Global::g_AutoOnlineChassis.ClientType = "tcl_unknown_model";
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ Global::g_AutoOnlineChassis.IsCopyDID = false;
|
|
|
+ Global::g_AutoOnlineChassis.ClientType = "";
|
|
|
+ }
|
|
|
}
|
|
|
else if (_tcsicmp(name.c_str(), _T("MAC")) == 0)
|
|
|
{
|