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 <noreply@anthropic.com>
This commit is contained in:
parent
6f0cb1bc1c
commit
0fdba701fa
@ -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()) ||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user