long candy support
This commit is contained in:
@@ -34,7 +34,7 @@ namespace VisionBuilder.UI.Recipes.HawkeyeRecipe
|
||||
List<RecipeData> recipes = new List<RecipeData>();
|
||||
foreach (var file in files)
|
||||
{
|
||||
var workFlow = WorkflowList.LoadFromFile(file);
|
||||
var workFlow = WorkflowList.LoadJSONFromFile(file);
|
||||
|
||||
var recipe = new RecipeData
|
||||
{
|
||||
@@ -82,7 +82,7 @@ namespace VisionBuilder.UI.Recipes.HawkeyeRecipe
|
||||
throw new InvalidOperationException("Recognition is already running.");
|
||||
}
|
||||
_loadingService.StartLoading($"Starting recipe {_currentRecipe.RecipeName} on {_recognitionConfiguration.CameraName}...");
|
||||
_workflow = WorkflowList.LoadFromFile("..\\Data\\Recipes\\" + _currentRecipe.RecipeName + ".hrcp");
|
||||
_workflow = WorkflowList.LoadJSONFromFile("..\\Data\\Recipes\\" + _currentRecipe.RecipeName + ".jhrcp");
|
||||
_startTime = DateTime.Now;
|
||||
IsRunning = true;
|
||||
_cts = new CancellationTokenSource();
|
||||
|
||||
Reference in New Issue
Block a user