using ZB.MOM.WW.MxGateway.Contracts.Proto;

namespace ZB.MOM.WW.MxGateway.Worker.Sta;

public interface IStaCommandExecutor
{
    /// <summary>Executes a command on the STA thread.</summary>
    /// <param name="command">The command to execute.</param>
    /// <returns>The command reply.</returns>
    MxCommandReply Execute(StaCommand command);
}
