This commit is contained in:
2022-04-15 18:34:06 +08:00
parent e992233ba2
commit bd0d475b57
2 changed files with 9 additions and 3 deletions

View File

@@ -16,6 +16,7 @@ void STL::DrawDargonBox_STL(char* Buffer)
//DrawDargonModel_STL(Dom["op"].GetInt());
DargonModel_STL["op"] = Dom["op"].GetInt();
DargonModel_STL["err"] = Dom["err"].GetInt();
DargonModel_STL["port"] = Dom["port"].GetInt();
if (DargonModel_STL["err"] != 0)return;//如果不是
//构造res包 结构体
@@ -91,6 +92,9 @@ int STL::SelectDargonModel_STL(int Type)
case 1:
return DargonModel_STL["err"];
break;
case 2:
return DargonModel_STL["port"];
break;
}
return 0;
}