fix: 状态机初始化状态逻辑失效.

This commit is contained in:
2025-04-11 09:16:46 +08:00
parent cdfe94de08
commit bbde9acf55
4 changed files with 20 additions and 2 deletions

View File

@@ -42,8 +42,8 @@ public class MachineTest {
.concurrent()
.build();
stateMachine.publish(PrinterEvent.TURN_OFF);
// stateMachine.publish(PrinterEvent.TURN_OFF);
System.out.println(stateMachine.current());
stateMachine.close();
}
}