feat: 抽象更高层的状态事件注册接口.

This commit is contained in:
2025-03-28 14:51:10 +08:00
parent 921520b097
commit 92ee373ea4
7 changed files with 309 additions and 135 deletions

View File

@@ -38,6 +38,7 @@ public class MachineTest {
if (l.switchTo(PrinterState.STOPPING))
l.switchTo(PrinterState.STOPPED);
})
.withInitial(PrinterState.STOPPING)
.concurrent()
.build();