listRecipesEx
[ Function ]
public static listRecipesEx (
options?: TcHmi.RecipeManagement.IRecipeOptions | null,
requestOptions: TcHmi.Server.IRequestOptions | null = null,
callback: null | ((this: void, data: TcHmi.Server.RecipeManagement.IRecipeListResultObject) => void) = null
): TcHmi.IErrorDetails;
Supplies a list of all existing system recipes.
Parameter
Name | Type | Description |
---|---|---|
options | Recipe management options | |
requestOptions | Server request options | |
callback [ optional ] | (data: TcHmi.Server.RecipeManagement.IRecipeListResultObject) => void, null | Asynchronous callback function that is triggered once the action is completed. |
Return value
Type | Description |
---|---|
Returns confirmation as to whether the operation was successfully sent. |
Available from version 1.10.1171.142 |
Sample - JavaScript
TcHmi.Server.RecipeManagement.listRecipesEx (
null,
{timeout: 2000},
function(data) {
if (data.error === TcHmi.Errors.NONE) {
console.log(data.value);
} else {
// Error
}
}
);