version 1.0.24. Added functions TerminalInfoString and SymbolInfoString

This commit is contained in:
vdemydiuk
2016-01-07 13:02:22 +02:00
parent eceb71fd40
commit 8e41a53e93
7 changed files with 61 additions and 3 deletions
BIN
View File
Binary file not shown.
+29
View File
@@ -3469,6 +3469,35 @@ int executeCommand()
}
break;
case 153: //TerminalInfoString
if (getIntValue(ExpertHandle, 0, typeValue))
{
PrintParamError("property_id");
}
if (!sendStringResponse(ExpertHandle, TerminalInfoString(typeValue)))
{
PrintResponseError("TerminalInfoString");
}
break;
case 154: //SymbolInfoString
if (!getStringValue(ExpertHandle, 0, symbolValue))
{
PrintParamError("symbol");
}
if (getIntValue(ExpertHandle, 1, typeValue))
{
PrintParamError("prop_id");
}
if (!sendStringResponse(ExpertHandle, SymbolInfoString(symbolValue, typeValue)))
{
PrintResponseError("SymbolInfoString");
}
break;
default:
Print("Unknown command type = ", commandType);
sendVoidResponse(ExpertHandle);