20 lines
635 B
C#
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);
|
|
}
|