From 0fdba701fa9788004f9936e23284c0fe8892326b Mon Sep 17 00:00:00 2001 From: iamboss Date: Sat, 13 Jun 2026 23:25:14 +0800 Subject: [PATCH] fix(demos): DemoUseMachiningProject subscribes CollectionItemAdded on MixedProgress CollectionItemAdded is an event on MixedProgress0; the new SessionProgress sink does not expose it. Follows the SessionProgress->MixedProgress property rename. Co-Authored-By: Claude Opus 4.8 --- Machining/DemoUseMachiningProject.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Machining/DemoUseMachiningProject.cs b/Machining/DemoUseMachiningProject.cs index 47ed66e..6289040 100644 --- a/Machining/DemoUseMachiningProject.cs +++ b/Machining/DemoUseMachiningProject.cs @@ -38,7 +38,7 @@ public static class DemoUseMachiningProject using StreamWriter writer = new StreamWriter("msg.txt"); //show message if something abnormal. - localProjectService.SessionProgress.CollectionItemAdded += pack => + localProjectService.MixedProgress.CollectionItemAdded += pack => { if (pack.Tags.Contains(MessageFlag.Warning.ToString()) || pack.Tags.Contains(MessageFlag.Error.ToString()) ||