Files
BQP/srcs/RobotNet10/RobotApp/RobotNet10.RobotApp/Events/IRobotEventBus.cs
2026-07-13 09:25:40 +07:00

20 lines
635 B
C#

using RobotNet.VDA5050.InstantAction;
using RobotNet.VDA5050.Order;
using RobotNet10.RobotApp.Events.Events;
namespace RobotNet10.RobotApp.Events;
/// <summary>
/// In-memory event bus for VDA5050 robot messages and domain events
/// </summary>
public interface IRobotEventBus
{
// VDA5050 Events
event EventHandler<OrderChangedEvent>? OrderMessageReceived;
event EventHandler<InstantActionChangedEvent>? InstantActionReceived;
// VDA5050 Event Publishers
void PublishOrderMessageReceived(OrderMsg orderMsg);
void PublishInstantActionMessageReceived(InstantActionsMsg instantActionMsg);
}